hello- i was messing around with a did from ipkall.com, and asterisk seems to be ignoring the context specified in the sip config. in sip.conf, i've added: [7508] ;ipkall type = peer dtmfmode = rfc2833 context = remote callerid = "ipkall incoming" <7508> nat = no in extensions,conf, i have: [remote] exten => 7508,1,DISA(1111|internal) [internal] exten => 81,1,Dial(SIP/ion,20,tr) exten => 82,1,Dial(SCCP/82,20,tr) exten => 83,1,Dial(SIP/quark,20,tr) exten => 84,1,Dial(SIP/proton,20,tr) exten => 85,1,Dial(SIP/work1,20,tr) exten => 86,1,Dial(IAX2/work2,20,tr) yet when the call arrives, asterisk says: NOTICE[8100]: pbx.c:1731 pbx_extension_helper: Cannot find extension context 'default' what am i missing? thanks -ben
Johnathan Corgan
2006-Feb-22 20:37 UTC
[Asterisk-Users] context being ignored by inbound sip call
btb wrote:> [7508] ;ipkall > type = peer > dtmfmode = rfc2833 > context = remote > callerid = "ipkall incoming" <7508> > nat = noYou've configured this entry as a peer, which is for dialing out, versus as a user, which is for incoming calls. Solution is to change to 'type=user'. If you really need a peer definition, you can use 'type=friend', which will cause * to create both a user and a peer entry for '7508' using the parameters listed. Some parameters are common to both peers and users so it saves space. Personally, I never use the 'type=friend' method, but rather maintain separate peer and user sections for outbound and inbound calls to/from other switches or endpoints. This helps _me_ keep things straight; others (probably most) prefer the combined 'type=friend' method, though. -Johnathan
change context to context=remote in [general] in sip.conf you missing registration of peer :) turby -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of btb Sent: Thursday, February 23, 2006 4:10 AM To: Asterisk Non-Commercial Discussion Users Mailing List - Subject: [Asterisk-Users] context being ignored by inbound sip call hello- i was messing around with a did from ipkall.com, and asterisk seems to be ignoring the context specified in the sip config. in sip.conf, i've added: [7508] ;ipkall type = peer dtmfmode = rfc2833 context = remote callerid = "ipkall incoming" <7508> nat = no in extensions,conf, i have: [remote] exten => 7508,1,DISA(1111|internal) [internal] exten => 81,1,Dial(SIP/ion,20,tr) exten => 82,1,Dial(SCCP/82,20,tr) exten => 83,1,Dial(SIP/quark,20,tr) exten => 84,1,Dial(SIP/proton,20,tr) exten => 85,1,Dial(SIP/work1,20,tr) exten => 86,1,Dial(IAX2/work2,20,tr) yet when the call arrives, asterisk says: NOTICE[8100]: pbx.c:1731 pbx_extension_helper: Cannot find extension context 'default' what am i missing? thanks -ben _______________________________________________ --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