Displaying 2 results from an estimated 2 matches for "calltoserver1".
Did you mean:
calltoserver2
2010 May 13
0
asterisk-users Digest, Vol 70, Issue 30
..._X.,3,Hangup
[callfromserver2]
exten => _X.,1,Noop(Call from server2)
exten => _X.,2,Dial(SIP/${EXTEN})
exten => _X.,3,Hangup
Server2:
sip.conf
[interboxserver1]
type=friend
host=192.168.250.111
context=callfromserver1
disallow=all
allow=ulaw
allow=alaw
allow=g729
extensions.conf
[calltoserver1]
exten => _X.,1,Noop(Call to server1)
exten => _X.,2,Dial(SIP/interboxserver1/${EXTEN})
exten => _X.,3,Hangup
[callfromserver1]
exten => _X.,1,Noop(Call from server1)
exten => _X.,2,Dial(SIP/${EXTEN})
exten => _X.,3,Hangup
Try so, I think it must work.
And also, look and...
2010 May 12
2
asterisk-users Digest, Vol 70, Issue 25
Hi Vardan
I did same as you told and deleted the SIP information in Astdb and
restarted asterisk. but the result was same.
as you said there might be mistake in sip.conf so i am pasting both servers
configuration here..
1- nasir.server.com
[abc]
username=abc
type=friend
secret=mysecret
nat=yes
mailbox=12234568
incominglimit=2
outgoinglimit=2
host=dynamic
dtmfmode=rfc2833
context=payasyougo