Hi,

you have in your sip.conf:

register => xyz.abc:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]/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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to