Crazy Boy
2006-Aug-11 06:03 UTC
[asterisk-users] Unable to receive Incoming calls to my DID. Please tell me the solution
Hi friends,
We have installed Asterisk in our organization. We registered with Teliax and
got our DID number. We are making calls to USA successfully through Asterisk. We
are making outgoing calls to US. But, we are unable to receive incoming calls to
our DID number. When I executed the "sip show peers" command, it is
showing that my Asterisk server is registered and displaying Teliax IP address
also. I checking by doing ping to voip-co1.teliax.com. Pinging is also going
fine.
Here I am giving the configuration files. Please tell me a solution.
SIP.CONF contents:
[general]
register => xyz.abc:xxxxxxx@voip-co1.teliax.com
[authentication]
auth = xyz.abc:xxxxxxx@voip-co1.teliax.com
[teliax]
context=default
type=friend
username=xyz.abc
user=xyz.abc
host=voip-co1.teliax.com
secret=xxxxxxx
insecure=very
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
[105]
type=friend
username=105
secret=rani
callerid="Ranikumar"
host=dynamic
context=leader
canreinvite=no
nat=yes
dtmfmode=rfc2833
allow=all
EXTENSIONS.CONF contents:
[leader]
exten => 105,1,Dial(SIP/105,15)
exten => 105,2,Voicemail(u105)
exten => 105,3,Voicemail(b105)
exten => 105,4,Hangup
exten => _1XXXXXXXXXX,1,DIAL(SIP/teliax/${EXTEN},30,tr)
[general]
exten => 3031234567, 1, Answer()
exten => 3031234567, 2, Dial(SIP/105,15)
Please tell me the solution. Looking forward to your response.
Thank you.
Regards,
Chandra.
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060811/28644749/attachment.htm
Peter Bowyer
2006-Aug-11 06:09 UTC
[asterisk-users] Unable to receive Incoming calls to my DID. Please tell me the solution
What do Teliax support say? On 11/08/06, Crazy Boy <crazymoonboy@yahoo.com> wrote:> Hi friends, > > We have installed Asterisk in our organization. We registered with Teliax > and got our DID number. We are making calls to USA successfully through > Asterisk. We are making outgoing calls to US. But, we are unable to receive > incoming calls to our DID number. When I executed the "sip show peers" > command, it is showing that my Asterisk server is registered and displaying > Teliax IP address also. I checking by doing ping to voip-co1.teliax.com. > Pinging is also going fine. > > Here I am giving the configuration files. Please tell me a solution. > > SIP.CONF contents: > > [general] > register => xyz.abc:xxxxxxx@voip-co1.teliax.com > > [authentication] > auth = xyz.abc:xxxxxxx@voip-co1.teliax.com > [teliax] > context=default > type=friend > username=xyz.abc > user=xyz.abc > host=voip-co1.teliax.com > secret=xxxxxxx > insecure=very > canreinvite=no > disallow=all > allow=ulaw > allow=alaw > allow=gsm > > [105] > type=friend > username=105 > secret=rani > callerid="Ranikumar" > host=dynamic > context=leader > canreinvite=no > nat=yes > dtmfmode=rfc2833 > allow=all > > EXTENSIONS.CONF contents: > > [leader] > exten => 105,1,Dial(SIP/105,15) > exten => 105,2,Voicemail(u105) > exten => 105,3,Voicemail(b105) > exten => 105,4,Hangup > exten => _1XXXXXXXXXX,1,DIAL(SIP/teliax/${EXTEN},30,tr) > > [general] > exten => 3031234567, 1, Answer() > exten => 3031234567, 2, Dial(SIP/105,15) > > Please tell me the solution. Looking forward to your response. > > Thank you. > > Regards, > Chandra. > > > ________________________________ > Do you Yahoo!? > Get on board. You're invited to try the new Yahoo! Mail Beta. > > > _______________________________________________ > --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 > > >-- Peter Bowyer Email: peter@bowyer.org
hugolivude
2006-Aug-11 06:22 UTC
[asterisk-users] Unable to receive Incoming calls to my DID. Please tell me the solution
Note that you have:> [teliax] > context=defaultbut you do not have a "default" context in extensions.conf for this. Change the above to:> [teliax] > context=general**OR** in extensions.conf change> [general] > exten => 3031234567, 1, Answer() > exten => 3031234567, 2, Dial(SIP/105,15)to:> [default > exten => 3031234567, 1, Answer() > exten => 3031234567, 2, Dial(SIP/105,15)On 8/11/06, Crazy Boy <crazymoonboy@yahoo.com> wrote:> Hi friends, > > We have installed Asterisk in our organization. We registered with Teliax > and got our DID number. We are making calls to USA successfully through > Asterisk. We are making outgoing calls to US. But, we are unable to receive > incoming calls to our DID number. When I executed the "sip show peers" > command, it is showing that my Asterisk server is registered and displaying > Teliax IP address also. I checking by doing ping to voip-co1.teliax.com. > Pinging is also going fine. > > Here I am giving the configuration files. Please tell me a solution. > > SIP.CONF contents: > > [general] > register => xyz.abc:xxxxxxx@voip-co1.teliax.com > > [authentication] > auth = xyz.abc:xxxxxxx@voip-co1.teliax.com > [teliax] > context=default > type=friend > username=xyz.abc > user=xyz.abc > host=voip-co1.teliax.com > secret=xxxxxxx > insecure=very > canreinvite=no > disallow=all > allow=ulaw > allow=alaw > allow=gsm > > [105] > type=friend > username=105 > secret=rani > callerid="Ranikumar" > host=dynamic > context=leader > canreinvite=no > nat=yes > dtmfmode=rfc2833 > allow=all > > EXTENSIONS.CONF contents: > > [leader] > exten => 105,1,Dial(SIP/105,15) > exten => 105,2,Voicemail(u105) > exten => 105,3,Voicemail(b105) > exten => 105,4,Hangup > exten => _1XXXXXXXXXX,1,DIAL(SIP/teliax/${EXTEN},30,tr) > > [general] > exten => 3031234567, 1, Answer() > exten => 3031234567, 2, Dial(SIP/105,15) > > Please tell me the solution. Looking forward to your response. > > Thank you. > > Regards, > Chandra. > > > ________________________________ > Do you Yahoo!? > Get on board. You're invited to try the new Yahoo! Mail Beta. > > > _______________________________________________ > --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 > > >
bails
2006-Aug-11 06:28 UTC
[asterisk-users] Unable to receive Incoming calls to my DID. Please tell me the solution
Crazy Boy wrote:> Hi friends, > > We have installed Asterisk in our organization. We registered with > Teliax and got our DID number. We are making calls to USA successfully > through Asterisk. We are making outgoing calls to US. But, we are unable > to receive incoming calls to our DID number. When I executed the "sip > show peers" command, it is showing that my Asterisk server is registered > and displaying Teliax IP address also. I checking by doing ping to > voip-co1.teliax.com. Pinging is also going fine. > > Here I am giving the configuration files. Please tell me a solution. > > SIP.CONF contents: > > [general] > register => xyz.abc:xxxxxxx@voip-co1.teliax.com > [authentication] > auth = xyz.abc:xxxxxxx@voip-co1.teliax.com > [teliax]> context=default you dont have this context in extensions.conf> type=friend > username=xyz.abc > user=xyz.abc > host=voip-co1.teliax.com > secret=xxxxxxx > insecure=very > canreinvite=no > disallow=all > allow=ulaw > allow=alaw > allow=gsm > > [105] > type=friend > username=105 > secret=rani > callerid="Ranikumar" > host=dynamic > context=leader > canreinvite=no > nat=yes > dtmfmode=rfc2833 > allow=all > > EXTENSIONS.CONF contents: > > [leader] > exten => 105,1,Dial(SIP/105,15) > exten => 105,2,Voicemail(u105) > exten => 105,3,Voicemail(b105) > exten => 105,4,Hangup > exten => _1XXXXXXXXXX,1,DIAL(SIP/teliax/${EXTEN},30,tr) > >[general] ------------------ change this to default> exten => 3031234567, 1, Answer() > exten => 3031234567, 2, Dial(SIP/105,15) > > Please tell me the solution. Looking forward to your response. > > Thank you. > > Regards, > Chandra. > > ------------------------------------------------------------------------ > Do you Yahoo!? > Get on board. You're invited > <http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handraisers> > to try the new Yahoo! Mail Beta. > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersBails
Guido Hecken
2006-Aug-12 01:06 UTC
[asterisk-users] Unable to receive Incoming calls to my DID. Please tell me the solution
Hi, you have in your sip.conf: register => xyz.abc:xxxxxxx@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@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