On Monday 10 September 2018 at 21:54:33, Marcelo Terres wrote:> I have think it should be > > context=0705680837 > > Not > > context=[0705680837]Ha! You're right... so simple :) Antony.> On Mon, 10 Sep 2018, 20:43 , <asterisk at a-domani.nl> wrote: > > On 2018-09-09 10:27, Antony Stone wrote: > > > > <snip > > > > > 1. Try removing one of the two commas. > > > > > > 2. Take a copy of your dialplan, and then strip out *everything* except > > > the one context and the one number you want to match: > > > > > > [0705680837] > > > exten => 31705680837,1,NooP( Incoming 31705680837 on CC) > > > > > > same => n,Answer(); > > > same => n,Background(dit_is_het_nummer_van_de_familie_witvliet) > > > same => n,Wait(1) > > > same => n,Hangup() > > > > > > 3. Of course, make sure your sip.conf points this provider at the > > > context (although that does seem to be working from the console output). > > > > > > 4. Turn on debug logging, not just verbose. > > > > > > > > > Regards, > > > > > > > > > Antony. > > > > Tried, but looks identical: > > (the comma's were infliced by my move from 'extension' towards 'same') > > > > Ok, removing most of my lines: > > pbx*CLI> dialplan show 0705680837 > > [ Context '0705680837' created by 'pbx_config' ] > > > > '31705680837' => 1. NooP( Incoming 31705680837 on CC) > > > > [extensions.conf:610] > > > > 2. Answer() > > > > [extensions.conf:611] > > > > 3. > > > > Background(dit_is_het_nummer_van_de_familie_witvliet) > > [extensions.conf:612] > > > > 4. Wait(1) > > > > [extensions.conf:613] > > > > 5. Hangup() > > > > [extensions.conf:614] > > > > -= 1 extension (5 priorities) in 1 context. =- > > pbx*CLI> > > > > Debug & verbose at 7, but still:pbx*CLI> > > > > == Using SIP RTP CoS mark 5 > > > > > 0x7f49ac23c470 -- Strict RTP learning after remote address set > > > > to: 185.29.203.27:43036 > > [Sep 10 13:16:17] NOTICE[835][C-0000002d]: chan_sip.c:26513 > > handle_request_invite: Call from '77707057984' (185.29.203.27:5060) to > > extension '31705680837' rejected because extension not found in context > > '[0705680837]'. > > pbx*CLI> > > > > Part of my sip.conf > > > > [0705680837] > > type=peer > > context=[0705680837] > > nat=force_rport,comedia > > username=77707057984 > > fromuser=0705680837 > > host=185.29.203.27 > > secret=************* > > canreinvite=no > > dtmfmode=inband > > insecure=invite > > disallow=all > > allow=alaw,gsm,ulaw > > qualify=yes > > relaxdtmf=yes > > directmedia=no > > > > > > > > /var/log/asterisk/messages: > > [Sep 9 11:50:18] NOTICE[835][C-0000002a] chan_sip.c: Call from > > '77707057984' (185.29.203.27:5060) to extension '31705680837' rejected > > because extension not found in context '[0705680837]'. > > [Sep 9 11:50:49] NOTICE[835][C-0000002b] chan_sip.c: Call from > > '77707057984' (185.29.203.27:5060) to extension '31705680837' rejected > > because extension not found in context '[0705680837]'. > > [Sep 10 10:39:03] NOTICE[835] chan_sip.c: Peer '0705680837' is now > > Lagged. (2022ms / 2000ms) > > [Sep 10 10:39:13] NOTICE[835] chan_sip.c: Peer '0705680837' is now > > Reachable. (12ms / 2000ms) > > [Sep 10 13:09:54] NOTICE[835][C-0000002c] chan_sip.c: Call from > > '77707057984' (185.29.203.27:5060) to extension '31705680837' rejected > > because extension not found in context '[0705680837]'. > > [Sep 10 13:16:17] NOTICE[835][C-0000002d] chan_sip.c: Call from > > '77707057984' (185.29.203.27:5060) to extension '31705680837' rejected > > because extension not found in context '[0705680837]'. > > > > -- > > _____________________________________________________________________ > > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > > > Astricon is coming up October 9-11! Signup is available at: > > https://www.asterisk.org/community/astricon-user-conference > > > > Check out the new Asterisk community forum at: > > https://community.asterisk.org/ > > > > New to Asterisk? Start here: > > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > > > asterisk-users mailing list > > > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users-- Late in 1972 President Richard Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used a third derivative to advance his case for re-election. - Hugo Rossi, Notices of the American Mathematical Society Please reply to the list; please *don't* CC me.
asterisk at a-domani.nl
2018-Sep-11 08:45 UTC
[asterisk-users] failed to find existing extension
Indeed, just corrected it. It had to be something I did myself (as it was working before tidying up) but never thought such a mistake was hard to pinpoint. Thanks very much, now I can continue exploring * again. Hans On 2018-09-10 22:15, Antony Stone wrote:> On Monday 10 September 2018 at 21:54:33, Marcelo Terres wrote: > >> I have think it should be >> >> context=0705680837 >> >> Not >> >> context=[0705680837] > > Ha! You're right... so simple :) >
This simple issues usually are the hardest to find. I know how it is. Regards, Marcelo H. Terres <mhterres at gmail.com> IM: mhterres at jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On Tue, 11 Sep 2018 at 09:47, <asterisk at a-domani.nl> wrote:> > Indeed, just corrected it. > > It had to be something I did myself (as it was working before tidying > up) but never thought such a mistake was hard to pinpoint. > Thanks very much, now I can continue exploring * again. > > Hans > > > > On 2018-09-10 22:15, Antony Stone wrote: > > On Monday 10 September 2018 at 21:54:33, Marcelo Terres wrote: > > > >> I have think it should be > >> > >> context=0705680837 > >> > >> Not > >> > >> context=[0705680837] > > > > Ha! You're right... so simple :) > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference > > Check out the new Asterisk community forum at: https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users