asterisk at a-domani.nl
2018-Sep-08 20:38 UTC
[asterisk-users] failed to find existing extension
Hi all some how I'm getting confused: it seems I clobbered incoming calls from my sip provider. I can not imagine that my upgrade from 15.3 to 15.5 could be related I'm certain that dialling my own number, results in reaching asterisk, from my tcpdump. And on the asterisk console I get: pbx*CLI> == Using SIP RTP CoS mark 5 > 0x7f49ac54c040 -- Strict RTP learning after remote address set to: 185.29.203.27:62474 [Sep 8 22:12:50] NOTICE[835][C-00000028]: 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> Which is strange, as the first lines from the dialplan for this context are: [0705680837] exten => s,1,NooP(Default general incoming on CC) same => n,Answer(); same => n,Background(dit_is_het_nummer_van_de_familie_witvliet) same => n,WaitExten(2) exten => i,1,NooP(Invalid general incoming on CC) same => n,Answer same => n,Playback(pbx-invalid) same => n,,Hangup 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() and settings are up-to-date; when i do: pbx*CLI> dialplan show 31705680837 at 0705680837 [ Context '0705680837' created by 'pbx_config' ] '31705680837' => 1. NooP( Incoming 31705680837 on CC) [extensions.conf:625] 2. Answer() [extensions.conf:632] 3. Background(dit_is_het_nummer_van_de_familie_witvliet) [extensions.conf:633] 4. Wait(1) [extensions.conf:634] 5. Hangup() [extensions.conf:635] '_X.05680837' => 1. NooP(general S Incoming *5680837 on CC) [extensions.conf:649] 2. Answer() [extensions.conf:650] 3. Background(dit_is_het_nummer_van_de_familie_witvliet) [extensions.conf:651] 4. Wait(1) [extensions.conf:652] 5. Hangup() [extensions.conf:653] '_X.' => 1. NooP(general incoming on CC) [extensions.conf:620] 2. Answer() [extensions.conf:621] 3. Background(dit_is_het_nummer_van_de_familie_witvliet) [extensions.conf:622] 4. WaitExten(2) [extensions.conf:623] -= 3 extensions (14 priorities) in 1 context. =- (yeah, i know, last one is pretty desperate) Still, asterisk answers 22:03:43.608225 IP (tos 0x0, ttl 64, id 35247, offset 0, flags [none], proto UDP (17), length 476) 192.168.0.25.5060 > 185.29.203.27.5060: SIP, length: 448 SIP/2.0 404 Not Found Via: SIP/2.0/UDP 185.29.203.27:5060;branch=z9hG4bKf4fd.4361f417.0;received=185.29.203.27;rport=5060 From: <sip:0630519252 at 185.29.203.27>;tag=d4qpms6vsntnh6bj.o To: <sip:31705680837 at mtsip.nl>;tag=as7d7a0cb7 Call-ID: SBC32.261.6202722 CSeq: 881 INVITE Server: Asterisk PBX 15.5.0 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Content-Length: 0 So, tcpdump and *-logging seems to match with each other, but not with my dialplan :-( Any suggestion how I should examine this? Kind regards, Hans.
info at online4you.nl
2018-Sep-08 20:40 UTC
[asterisk-users] Autoreply ( failed to find existing extension)
Bedankt voor uw bericht. Online4You is sinds 1 augustus niet meer operationeel. Per e-mail hebben wij u geinformeerd over de omstandigheden en uw opties. Helaas kunnen wij u niet meer helpen, uw mail wordt niet doorgestuurd en/of beantwoord. Indien uw abonnement is overgenomen door KovoKs, kijk dan voor contactgegevens op https://www.kovoks.nl/. Dank voor uw vertrouwen de afgelopen jaren! Met vriendelijke groet, Online4You B.V.
On Saturday 08 September 2018 at 22:38:19, asterisk at a-domani.nl wrote:> Hi all > > some how I'm getting confused: it seems I clobbered incoming calls from > my sip provider. > I can not imagine that my upgrade from 15.3 to 15.5 could be related > > I'm certain that dialling my own number, results in reaching asterisk, > from my tcpdump. > > And on the asterisk console I get: > pbx*CLI> > == Using SIP RTP CoS mark 5 > > > 0x7f49ac54c040 -- Strict RTP learning after remote address set > > to: 185.29.203.27:62474 > [Sep 8 22:12:50] NOTICE[835][C-00000028]: 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> > > Which is strange, as the first lines from the dialplan for this context > are: > [0705680837] > > exten => s,1,NooP(Default general incoming on CC) > same => n,Answer(); > same => n,Background(dit_is_het_nummer_van_de_familie_witvliet) > same => n,WaitExten(2) > > exten => i,1,NooP(Invalid general incoming on CC) > same => n,Answer > same => n,Playback(pbx-invalid) > same => n,,HangupYou have two commas there, which is not right, and might be a problem?> 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() > > and settings are up-to-date; when i do: > pbx*CLI> dialplan show 31705680837 at 0705680837 > [ Context '0705680837' created by 'pbx_config' ] > '31705680837' => 1. NooP( Incoming 31705680837 on CC) > [extensions.conf:625]So, that is line 625...> 2. Answer() > [extensions.conf:632]And then it continues with lines 632..635??> 3. > Background(dit_is_het_nummer_van_de_familie_witvliet) > [extensions.conf:633] > 4. Wait(1) > [extensions.conf:634] > 5. Hangup() > [extensions.conf:635] > '_X.05680837' => 1. NooP(general S Incoming *5680837 on CC) > [extensions.conf:649]The next context occupies lines 649..653, okay.> 2. Answer() > [extensions.conf:650] > 3. > Background(dit_is_het_nummer_van_de_familie_witvliet) > [extensions.conf:651] > 4. Wait(1) > [extensions.conf:652] > 5. Hangup() > [extensions.conf:653] > '_X.' => 1. NooP(general incoming on CC) > [extensions.conf:620]And then finally we have lines 620..623> 2. Answer() > [extensions.conf:621] > 3. > Background(dit_is_het_nummer_van_de_familie_witvliet) > [extensions.conf:622] > 4. WaitExten(2) > [extensions.conf:623] > -= 3 extensions (14 priorities) in 1 context. =- > (yeah, i know, last one is pretty desperate) > > Still, asterisk answers > 22:03:43.608225 IP (tos 0x0, ttl 64, id 35247, offset 0, flags [none], > proto UDP (17), length 476) > 192.168.0.25.5060 > 185.29.203.27.5060: SIP, length: 448 > SIP/2.0 404 Not Found > Via: SIP/2.0/UDP > 185.29.203.27:5060;branch=z9hG4bKf4fd.4361f417.0;received=185.29.203.27;rpo > rt=5060 From: <sip:0630519252 at 185.29.203.27>;tag=d4qpms6vsntnh6bj.o To: > <sip:31705680837 at mtsip.nl>;tag=as7d7a0cb7 > Call-ID: SBC32.261.6202722 > CSeq: 881 INVITE > Server: Asterisk PBX 15.5.0 > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, > NOTIFY, INFO, PUBLISH, MESSAGE > Supported: replaces, timer > Content-Length: 0 > > > So, tcpdump and *-logging seems to match with each other, but not with > my dialplan :-( > > > Any suggestion how I should examine this?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. -- What's brown, lies in the grass, and smokes? A tiny fireplace. (Sorry, this joke only really works in German). Please reply to the list; please *don't* CC me.
asterisk at a-domani.nl
2018-Sep-10 19:42 UTC
[asterisk-users] failed to find existing extension
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]'.