Hello, i have a problem with the context parameter in the sip.conf. i'm using a german sip provider (sipgate.de) and everything worked fine in asterisk 1.4, but on 1.6.1 i got the following error message: NOTICE[3071]: chan_sip.c:18160 handle_request_invite: Call from '' to extension '8001187e0' rejected because extension not found. sip.conf: register => 8001187e0:password at sipgate.de/8001187e0 [8001187e0] type=friend context=testing secret=password host=dynamic caninvite=no canreinvite=no qualify=yes extensons.conf: [testing] exten => 8001187e0,1,Dial(SIP/263) I don't know whats wrong here :-( Does anyone see my (usually) stupid error. Thanks, Patrick
Try prefix your extension in extensions.conf with "_", e.g. exten => _123,1,... -- Sent from mobile device On Aug 10, 2009, at 6:55 AM, Patrick Plattes <patrick at erdbeere.net> wrote:> Hello, > > i have a problem with the context parameter in the sip.conf. i'm using > a german sip provider (sipgate.de) and everything worked fine in > asterisk 1.4, but on 1.6.1 i got the following error message: > > > NOTICE[3071]: chan_sip.c:18160 handle_request_invite: Call from '' to > extension '8001187e0' rejected because extension not found. > > > sip.conf: > register => 8001187e0:password at sipgate.de/8001187e0 > [8001187e0] > type=friend > context=testing > secret=password > host=dynamic > caninvite=no > canreinvite=no > qualify=yes > > > extensons.conf: > [testing] > exten => 8001187e0,1,Dial(SIP/263) > > > I don't know whats wrong here :-( Does anyone see my (usually) > stupid error. > > Thanks, > Patrick > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Thanks for the fast reply, but it does not help :-(. Bye, Patrick On Mon, Aug 10, 2009 at 1:01 PM, Alex Balashov<abalashov at evaristesys.com> wrote:> Try prefix your extension in extensions.conf with "_", e.g. > > ? exten => _123,1,... > > -- > Sent from mobile device
Patrick Plattes wrote:> extensons.conf: > [testing] > exten => 8001187e0,1,Dial(SIP/263) >What does dialplan show testing output? Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Underscore won't help as that's for pattern matching. Under the sip conf, have you tried adding 'fromuser=8001187e0' to the [8001187e0] bit? I have this in my Sipgate setup and it works. Worth a try. Cheers Andy -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Patrick Plattes Sent: 10 August 2009 11:56 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] "context" does not work Hello, i have a problem with the context parameter in the sip.conf. i'm using a german sip provider (sipgate.de) and everything worked fine in asterisk 1.4, but on 1.6.1 i got the following error message: NOTICE[3071]: chan_sip.c:18160 handle_request_invite: Call from '' to extension '8001187e0' rejected because extension not found. sip.conf: register => 8001187e0:password at sipgate.de/8001187e0 [8001187e0] type=friend context=testing secret=password host=dynamic caninvite=no canreinvite=no qualify=yes extensons.conf: [testing] exten => 8001187e0,1,Dial(SIP/263) I don't know whats wrong here :-( Does anyone see my (usually) stupid error. Thanks, Patrick _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
V1.6.1.0 [9290740] type = peer username = 9290740 fromuser = 9290740 secret = you-wish! host = sipgate.co.uk fromdomain = sipgate.co.uk insecure = port,invite context = inbound caninvite = no canreinvite = no nat = yes disallow = all allow = ulaw allow = alaw dtmfmode = info qualify = 5000 That works for me. Any inbound call to my 9290740 number goes to my inbound context and does what it should. PS - Don't forget to do a 'sip reload' when you change the sip.conf. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Patrick Plattes Sent: 10 August 2009 13:19 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] "context" does not work Hi Andrew, it didn't help. Which version of Asterisk do you use? Thanks On Mon, Aug 10, 2009 at 1:55 PM, Andrew Thomas<andy at datavox.co.uk> wrote:> Underscore won't help as that's for pattern matching. > > Under the sip conf, have you tried adding 'fromuser=8001187e0' to the > [8001187e0] bit? > > I have this in my Sipgate setup and it works. ?Worth a try. > > Cheers > Andy > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Patrick > Plattes > Sent: 10 August 2009 11:56 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] "context" does not work > > Hello, > > i have a problem with the context parameter in the sip.conf. i'm using > a german sip provider (sipgate.de) and everything worked fine in > asterisk 1.4, but on 1.6.1 i got the following error message: > > > NOTICE[3071]: chan_sip.c:18160 handle_request_invite: Call from '' to > extension '8001187e0' rejected because extension not found. > > > sip.conf: > register => 8001187e0:password at sipgate.de/8001187e0 > [8001187e0] > type=friend > context=testing > secret=password > host=dynamic > caninvite=no > canreinvite=no > qualify=yes > > > extensons.conf: > [testing] > exten => 8001187e0,1,Dial(SIP/263) > > > I don't know whats wrong here :-( Does anyone see my (usually) stupid > error. > > Thanks, > ?Patrick > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >-- Niemann + Frey GmbH Bischofstra?e 80 47809 Krefeld Gesch?ftsf?hrer: Gerd Frey Sitz und Registergericht: Krefeld HRB 10851 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
i faced the same problem with callcentric.. when i register i had to add the extension .. like this egister => 1777MYCCID:SUPERSECRET at callcentric.com/1777MYCCID which caused my context to go to the default context and never use the one i already setup.. so removing the extension in the registration string will solve the issue for me.. and i think it will do the same for you. regards -- AHD Tarek Sawah ----------------------------------------> Date: Mon, 10 Aug 2009 12:55:41 +0200 > From: patrick at erdbeere.net > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] "context" does not work > > Hello, > > i have a problem with the context parameter in the sip.conf. i'm using > a german sip provider (sipgate.de) and everything worked fine in > asterisk 1.4, but on 1.6.1 i got the following error message: > > > NOTICE[3071]: chan_sip.c:18160 handle_request_invite: Call from '' to > extension '8001187e0' rejected because extension not found. > > > sip.conf: > register => 8001187e0:password at sipgate.de/8001187e0 > [8001187e0] > type=friend > context=testing > secret=password > host=dynamic > caninvite=no > canreinvite=no > qualify=yes > > > extensons.conf: > [testing] > exten => 8001187e0,1,Dial(SIP/263) > > > I don't know whats wrong here :-( Does anyone see my (usually) stupid error. > > Thanks, > Patrick > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=PID23384::T:WLMTAGL:ON:WL:en-US:NF_BR_sync:082009
Maybe Matching Threads
- include sip configuration from another file in sip.conf
- Call from 'sip-id' to extension 'sip-id' rejected because extension not found ?
- Asterisk/Cisco AS5300 => Two problems in incoming (extension not found)
- SIP trunks going to the wrong context
- Error Dialplan ?