[asterisk-users] Unable to receive Incoming calls to my DID.
Please tell me the solution
Guido Hecken
guido.hecken at gwsnettech.de
Sat Aug 12 01:06:46 MST 2006
Hi,
you have in your sip.conf:
register => xyz.abc:xxxxxxx at voip-co1.teliax.com
This register command doesn't tell asterisk what to do with it.
Take for example this register command and other definitions in sip.conf:
register => sipgate-id:password at sipgate.de/sipgate-id
and this peer definition
[sipgate]
type=friend
username=sipgate-id
secret=password
host=sipgate.de
fromuser=sigate-id
fromdomain=sipgate.de
nat=yes
context=incomingsipgate
qualify=yes
defaultexpirey=no
canreinvite=no
insecure=very
and in extensions.conf a context named incomingsipgate
[incomingsipgate]
exten => sipgate-id,1,DIAL(SIP/1234,60,tT)
exten => sipgate-id,2,SetLanguage(de)
exten => sipgate-id,3,Voicemail(1234)
exten => sipgate-id,4,Hangup
With the above, incoming calls from sipgate are routed to the context
incomingsipgate and are processed by a simple dial command, which forwards
the call to internal extension 1234.
Hope, it helps...
Guido
More information about the asterisk-users
mailing list