Re: [asterisk-users] context does not work
Hello, I think there is a problem with chars in the extension name. I have a similar issue if i try to use my my que management macro with a extension with characters. On Mon, Aug 10, 2009 at 3:16 PM, Tarek Sawahtareksa...@hotmail.com wrote: i faced the same problem with callcentric.. when i register i had to add the extension .. like this egister = 1777MYCCID:SUPERSECRET@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: patr...@erdbeere.net To: asterisk-users@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:passw...@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 ___ -- 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
[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:passw...@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
Re: [asterisk-users] context does not work
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 patr...@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:passw...@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
Re: [asterisk-users] context does not work
Thanks for the fast reply, but it does not help :-(. Bye, Patrick On Mon, Aug 10, 2009 at 1:01 PM, Alex Balashovabalas...@evaristesys.com wrote: Try prefix your extension in extensions.conf with _, e.g. exten = _123,1,... -- Sent from mobile device ___ -- 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
Re: [asterisk-users] context does not work
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. ___ -- 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
Re: [asterisk-users] context does not work
What does dialplan show testing output? [ Context 'testing' created by 'pbx_config' ] '261' = 1. Noop(261) [SIP] '262' = 1. Noop(262) [SIP] '263' = 1. Noop(263) [SIP] '264' = 1. Noop(264) [SIP] '_8001187e0' = 1. Dial(SIP/263) [pbx_config] -= 5 extensions (5 priorities) in 1 context. =- ___ -- 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
Re: [asterisk-users] context does not work
Try putting exten = 8001187e0,1,Dial(SIP/263) in the [default]-context. I have the same issue. Apparently your SIP-provider send calls to your Asterisk-box from multiple IP's so that Asterisk cannot match the inbound call on source IP and therefore sends it to the default-context. Jonas. On Mon, 2009-08-10 at 13:26 +0200, Patrick Plattes wrote: Thanks for the fast reply, but it does not help :-(. Bye, Patrick On Mon, Aug 10, 2009 at 1:01 PM, Alex Balashovabalas...@evaristesys.com wrote: Try prefix your extension in extensions.conf with _, e.g. exten = _123,1,... -- Sent from mobile device ___ -- 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
Re: [asterisk-users] context does not work
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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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:passw...@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
Re: [asterisk-users] context does not work
jonas kellens wrote: I have the same issue. Apparently your SIP-provider send calls to your Asterisk-box from multiple IP's so that Asterisk cannot match the inbound call on source IP and therefore sends it to the default-context. I'd second this suggestion. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ -- 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
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 Thomasa...@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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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:passw...@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
Re: [asterisk-users] context does not work
Hi Jonas, that works fine, but I think its just a work arround and not a real fix :-). For the moment it is okay and I'll try to fix the error next days. Thanks, Patrick Plattes ___ -- 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
Re: [asterisk-users] context does not work
i faced the same problem with callcentric.. when i register i had to add the extension .. like this egister = 1777MYCCID:SUPERSECRET@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: patr...@erdbeere.net To: asterisk-users@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:passw...@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 ___ -- 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
Re: [asterisk-users] context does not work
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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 Thomasa...@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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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:passw...@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 ___ -- 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