multiple sip trunk configuration!!!

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

multiple sip trunk configuration!!!

Postby mrd.d » Thu Jan 05, 2012 4:42 am

i am using vicidialnow 1.2, i have configured one sip trunk but i need to setup multiple sip trunks !!!

here is my configuration
:arrow: sip.conf
Code: Select all

register => username:secret@XXX.XXX.XXX.XXX:5060
[mysiptrunk1]
disallow=all
allow=g729
context=trunkinbound
username=username
secret=secret
dtmfmode=auto
host=XXX.XXX.XXX.XXX
type=friend
port=5060
qualify=yes
insecure=very
canreinvite=yes
fromdomain=XXX.XXX.XXX.XXX
fromuser=0000000000
nat=yes



:arrow:
here is my extensions.conf

Code: Select all

[globals]
CONSOLE=Console/dsp                             ; Console interface for demo
TRUNK=ZAP/g1                                    ; Trunk interface
TRUNKX=SIP/mysiptrunk1



; dial a long distance outbound number
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(${TRUNKX}/${EXTEN:1},,To)
exten => _9X,3,Hangup



outbound/inbound working perfectly on this configuration no error at all!!!
please tell me how to add more sip trunks.



Thanks.. :roll:


VERSION: 2.2.1-237
BUILD: 100510-2015
Vicidialnow1.2
3.2GHZ Core2Duo
2GB ,250GB
mrd.d
 
Posts: 14
Joined: Wed Jan 04, 2012 7:14 pm

Postby rrb555 » Thu Jan 05, 2012 7:49 am

you can add more in administration page Admin > Carriers
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby williamconley » Thu Jan 05, 2012 2:46 pm

exten => _8X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8X.,2,Dial(${TRUNK2}/${EXTEN:1},,To)
exten => _8X,3,Hangup

TRUNK2=SIP/mysiptrunk2

register => username:secret@XXX.XXX.XXX.XXX:5060
[mysiptrunk2]
disallow=all
allow=g729
...

dial prefix "8" in the campaign.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby mrd.d » Thu Jan 05, 2012 3:31 pm

oh my God!!! William you're a gem!!!
now i am able to dial both sip trunks!!
but i cannot able to receive calls from [siptrunk2]
on [mysiptrunk1} DID is working fine..inbound/outbound,
but on [mysiptrunk2] DID is not working, outbound is working
and i have configured and Set my [mysiptrunk2] DID just like [mysiptrunk1].


once again thanks.. :roll:
mrd.d
 
Posts: 14
Joined: Wed Jan 04, 2012 7:14 pm

Postby williamconley » Thu Jan 05, 2012 6:35 pm

is siptrunk2 registered?

PS: Thanks for posting your vicidial version with build AND your installer on your first post. it's helpful. :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby mrd.d » Thu Jan 05, 2012 9:16 pm

williamconley wrote:is siptrunk2 registered?

PS: Thanks for posting your vicidial version with build AND your installer on your first post. it's helpful. :)



Thanks for your appreciation..

i can configure extra trunks from Admin>Carrier>Trunks Add<<
but i need to add more trunks from sip.conf/extensions.conf instead of GUI.

i am trying to add trunks from sip.conf/extensions.conf but its not working..
mrd.d
 
Posts: 14
Joined: Wed Jan 04, 2012 7:14 pm

Postby williamconley » Thu Jan 05, 2012 9:41 pm

that does not answer "is siptrunk2 registered? "

also: why do you need to modify the .conf file directly? is this a commandment from your overlord? anything you can do in .conf directly can be put in the gui instead and will make it hard for you to screw up your system.

seriously. my advice is to NEVER directly modify the .conf files in a vicidial system.

regardles: the changes are the same, you just put them in the conf file directly, but they are teh same changes and result in the same question: "is siptrunk2 registered? "
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby mrd.d » Fri Jan 06, 2012 5:14 pm

williamconley wrote:that does not answer "is siptrunk2 registered? "

also: why do you need to modify the .conf file directly? is this a commandment from your overlord? anything you can do in .conf directly can be put in the gui instead and will make it hard for you to screw up your system.

seriously. my advice is to NEVER directly modify the .conf files in a vicidial system.

regardles: the changes are the same, you just put them in the conf file directly, but they are teh same changes and result in the same question: "is siptrunk2 registered? "



both trunks are now registered and thanks for your advise william 8)
mrd.d
 
Posts: 14
Joined: Wed Jan 04, 2012 7:14 pm

Postby williamconley » Fri Jan 06, 2012 6:13 pm

Now: Stick around and pay attention on the forum ... you'll learn a lot, but eventually find a newbie who has a question you can answer! Answer it! 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby mrd.d » Sun Jan 08, 2012 7:17 pm

williamconley wrote:Now: Stick around and pay attention on the forum ... you'll learn a lot, but eventually find a newbie who has a question you can answer! Answer it! 8-)


Thanks William !!!

8)
mrd.d
 
Posts: 14
Joined: Wed Jan 04, 2012 7:14 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 152 guests