I try to get the following to work:
Sipgate.de and sipgate.co.uk are configured as gateway, while the ATA-186 has two phone sets attached.
I tried:
ATA settings as described at: http://www.loligo.com/asterisk/Cisco/ATA-186-guide.v20030628.txt
(just with a fixed IP)
sip.conf: ======
[general]
context=default
port=5060
bindaddr=0.0.0.0
srvlookup=yes
register => 5552220:[EMAIL PROTECTED]/5552220
register => 4782156:[EMAIL PROTECTED]/4782156externip = 61.220.121.xx
localnet=192.168.0.0/255.255.0.0; All RFC 1918 addresses are local networks
[601] type=friend username=601 secret=my_password1 canreinvite=no host=dynamic dtmfmode=rfc2833 mailbox=601 nat=yes
[602] type=friend username=602 secret=my_password2 canreinvite=no host=dynamic dtmfmode=rfc2833 mailbox=601 nat=yes
[sipgate.de] type=friend username=5552220 secret=my_password3 host=sipgate.de fromuser=5552220 fromdomain=sipgate.net nat=yes context=incomingsipgate canreinvite=no
[sipgate.co.uk] type=friend username=4782156 secret=my_password4 host=sipgate.co.uk fromuser=4782156 fromdomain=sipgate.net nat=yes context=incomingsipgate canreinvite=no
extensions.conf: ===========
[general] static=yes writeprotect=no
[globals] CONSOLE=Console/dsp ; Console interface for demo
[incomingsipgate] exten => h,1,Hangup exten => 800XXXX,1,Dial(SIP/internestelefon,20,tr)
[sipgate.de]
exten => _0049.,Dial(SIP/${EXTEN:[EMAIL PROTECTED],30,tr)
exten => _0049.,2,Playback(invalid)
exten => _0049.,3,Hangup[sipgate.co.uk]
exten => _0044.,Dial(SIP/${EXTEN:[EMAIL PROTECTED],30,tr)
exten => _0044.,2,Playback(invalid)
exten => _0044.,3,HangupI did not understand the paragraph of [incomingsipgate]. I also do not understand EXTEN:1 (should the second phone be EXTEN:2 ???)
starting the server with asterisk -vvvcg brings a lots of lines ;-) sip show users:
sipgate.co.uk my_password2 incomingsipgate No Alway sipgate.de my_password1 incomingsipgate No Alway 602 my_password4 incomingsipgate No Alway 601 my_password3 incomingsipgate No Alway
sip show registry:
sipgate.co.uk:5060 4782156 105 Registered sipgate.de:5060 5552220 105 Registered
Tests: 601 calls 602 busy 004910000 busy (10000 at sipgate.de should play a tape) No info on the screen (asterisk: *CLI> )
What have I forgotten / made wrong?
bye
Ronald
begin:vcard fn:Ronald Wiplinger n:Wiplinger;Ronald email;internet:[EMAIL PROTECTED] x-mozilla-html:FALSE version:2.1 end:vcard
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
