I am using cisco ip 7945g phone. I changed firmware to SIP and manage to register. Now I can receive call on this phone but when I make any outbound call on asterisk it says extension not found. This for all internal and external calls.
I manage to register phone after attaching following template
- Code: Select all
type=friend
host=dynamic
canreinvite=no
context=default
context=from-internal
dtmfmode=rfc2833
nat=never
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=0.0.0.0/0.0.0.0
If I will not attach above template with cisco phone it won't even register. One more thing is if I attach above template to any non cisco phone like SIEMENS IP 450 that phone also won't register.
My carrier settings are
- Code: Select all
type=friend
username=myuser
secret=mypass
fromuser=myuser
host=myhost.com
dtmfmode=rfc2833
fromdomain=myhost.com
context=default
insecure=port,invite
and dialing plan is
- Code: Select all
exten => _90XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _90XXXXXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,tTo)
exten => _90XXXXXXXXXX,3,Hangup
Goautodial VERSION: 2.4-309a and BUILD: 110430-1642
Best regards,
Abdul