Above is a copy of my sip.conf and my extensions.conf and
/etc/asterisk/sip.conf
[general]
disallow=all
allow=alaw
allow=ulaw
localnet=192.168.1.0/255.255.255.0
useragent=MagicJack/1.92.530e (SJ Labs)
nat=yes
canreinvite=nonat
register => [email protected]:YYYYYYYYYYYYYYYYYYYYYYY:[email protected]:5070/5165551234
qualify=yes
[8801]
type=friend
username=8801
secret=cisco123
host=dynamic
context=stations
nat=no
[E516555123401]
type=friend
context=users
username=E516555123401
fromuser=E516555123401
fromdomain=talk4free.com
host=proxy01.newyork.talk4free.com
secret=YYYYYYYYYYYYYYYYYYYYYYY
port=5070
nat=yes
useragent=MagicJack/1.92.530e (SJ Labs)
dtmfmode=inband
extensions.conf
[incoming]
exten => 5165551234,1,Dial(SIP/100,120,r)
[outgoing]
exten => _XXXXXXXXXX,1,Dial(SIP/${EXTEN}@E516555123401,30,r)
[stations]
exten => 100,1,Answer
exten => 100,2,Dial(SIP/100,25,r)
[users]
include => stations
include => incoming
include => outgoing
For some reason I get 0 SIP registrations when I type SHOW SIP REGISTRY in Asterisk CLI. I know my username and password is all correct and nothing I've tried works.
Would you please share with me your sip.conf template if you have it working in Asterisk? This is driving me nuts~! Thanks!