Page 1 of 1

trunk in vicidial

PostPosted: Fri Jan 09, 2009 5:22 am
by soumaya
hi;
i have two hosts, one is the vicidialNow and other freepbx
and i want to make a sip trunk between my vicidial and the freepbx

@of my freepbx is 192.168.1.89
@ of my vicidial is 192.168.1.2
in host vicidial , i have this configuration:
sip.conf:

register => 400:400@192.168.1.89
[siptrunk]
type=friend
host=192.168.1.89
context=default
username=400
secret=400
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
fromuser=400
fromdomain=192.168.1.89
insecure=very

and in extensions.conf:
[globals]
siptrunk=SIP/400:400@192.168.1.89
[default]
exten => _xxxxxx,1,Dial(SIP/${EXTEN}@siptrunk)
exten => _xxxxxx,2,Hangup


and when i do :
CLI>sip show peers
cc101/cc101 192.168.1.89 D 5060 OK (5 ms)
1000/1000 (Unspecified) D 0 Unmonitored
siptrunk/400 192.168.1.89 5060 Unmonitored
32 sip peers [3 online , 29 offline]


when i dial xxxxxx in my softphone cc101 , i heve this error: call failed 404 not found




where is the problem????

PostPosted: Sat Apr 10, 2010 11:21 am
by williamconley
it is a requirement when you post that you post your entire configuration including (but not limited to) your installation method, vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.

this is a pure asterisk issue, as none of the information below is in any way related to vicidial, so you would probably have a lot more response "on point" with an asterisk forum.

that being said: did the registration succeed? and what is the configuration on the other box (the one receiving this call)?

better yet, here you will find detailed instructions to accomplish this task from MANY sources:

http://www.lmgtfy.com/?q=iax+trunk+betw ... sk+servers