trunk in vicidial
Posted: Fri Jan 09, 2009 5:22 am
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????
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????