hi all,
actually i have partially connected the 2 servers but there is a problem.
2 servers A and B
server A forwards call to server B without any problem
but when i try to forward call from server B to A, server shows the
following error on the cli
WARNING[7751]: app_dial.c:1081 dial_exec_full: Unable to create channel of
type 'SIP' (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
here is my configuration
SERVER A sip.conf
~~~~~~~~~~
[general]
register=>fromtrixbox:mysecret@192.168.0.7
[receive] ;this should receive call from server B
type=friend
;host=192.168.0.7
host = dynamic
secret=mysecret
context=rizwan
;trunk=yes
insecure = very
[backtorazi] ;this is used to throw call to server B (works fine)
type=friend
host=dynamic
secret=mysecret
context=rizwan
SERVER A extensions
~~~~~~~~~~~~~~~~~~~
[rizwan]
exten=> 5123,1,Dial(SIP/backtorazi/1234) ;this dials to server B
exten=> 5123,2,Hangup
exten=> 1234,1,NoOp("Got connected successfully!"); ;this receives
from
server B
SERVER B sip.conf
~~~~~~~~~~~~~~~~~
[general]
register=>backtorazi:mysecret@192.168.0.100
[sender] ;used tro call server A (not working)
type=friend
;host=192.168.0.100
host=dynamic
secret=mysecret
context=rizwan
[fromtrixbox] ;used to receive call from server A (working fine)
type=friend
host=192.168.0.100
secret=mysecret
context=rizwan
;trunk=yes
insecure = very
SERVER B extensions
~~~~~~~~~~~~~~~~~~~
[rizwan]
exten => 5123,1,Dial(SIP/sender/5123) ;this dials server A
exten=> 1234,1,Dial(SIP/1234) ;this receives from server A
--
Regards
Rizwan Hisham
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070120/b2ea2d6a/attachment.htm