<div dir="auto">I have think it should be<div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">context=0705680837</span><br></div><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px"><br></span></div><div dir="auto"><font face="sans-serif"><span style="font-size:12.8px">Not</span></font></div><div dir="auto"><font face="sans-serif"><span style="font-size:12.8px"><br></span></font></div><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">context=[0705680837]</span><font face="sans-serif"><span style="font-size:12.8px"><br></span></font></div><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px"><br></span></div><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">Regards, </span></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 10 Sep 2018, 20:43 , <<a href="mailto:asterisk@a-domani.nl">asterisk@a-domani.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2018-09-09 10:27, Antony Stone wrote:<br>
<br>
<snip<br>
> 1. Try removing one of the two commas.<br>
> <br>
> 2. Take a copy of your dialplan, and then strip out *everything* except <br>
> the<br>
> one context and the one number you want to match:<br>
> <br>
> [0705680837]<br>
> exten => 31705680837,1,NooP( Incoming 31705680837 on CC)<br>
> same => n,Answer();<br>
> same => n,Background(dit_is_het_nummer_van_de_familie_witvliet)<br>
> same => n,Wait(1)<br>
> same => n,Hangup()<br>
> <br>
> 3. Of course, make sure your sip.conf points this provider at the <br>
> context<br>
> (although that does seem to be working from the console output).<br>
> <br>
> 4. Turn on debug logging, not just verbose.<br>
> <br>
> <br>
> Regards,<br>
> <br>
> <br>
> Antony.<br>
> <br>
<br>
<br>
Tried, but looks identical:<br>
(the comma's were infliced by my move from 'extension' towards 'same')<br>
<br>
Ok, removing most of my lines:<br>
pbx*CLI> dialplan show 0705680837<br>
[ Context '0705680837' created by 'pbx_config' ]<br>
'31705680837' => 1. NooP( Incoming 31705680837 on CC) <br>
[extensions.conf:610]<br>
2. Answer() <br>
[extensions.conf:611]<br>
3. <br>
Background(dit_is_het_nummer_van_de_familie_witvliet) <br>
[extensions.conf:612]<br>
4. Wait(1) <br>
[extensions.conf:613]<br>
5. Hangup() <br>
[extensions.conf:614]<br>
<br>
-= 1 extension (5 priorities) in 1 context. =-<br>
pbx*CLI><br>
<br>
Debug & verbose at 7, but still:pbx*CLI><br>
<br>
== Using SIP RTP CoS mark 5<br>
> 0x7f49ac23c470 -- Strict RTP learning after remote address set <br>
to: <a href="http://185.29.203.27:43036" rel="noreferrer noreferrer" target="_blank">185.29.203.27:43036</a><br>
[Sep 10 13:16:17] NOTICE[835][C-0000002d]: chan_sip.c:26513 <br>
handle_request_invite: Call from '77707057984' (<a href="http://185.29.203.27:5060" rel="noreferrer noreferrer" target="_blank">185.29.203.27:5060</a>) to <br>
extension '31705680837' rejected because extension not found in context <br>
'[0705680837]'.<br>
pbx*CLI><br>
<br>
Part of my sip.conf<br>
<br>
[0705680837]<br>
type=peer<br>
context=[0705680837]<br>
nat=force_rport,comedia<br>
username=77707057984<br>
fromuser=0705680837<br>
host=185.29.203.27<br>
secret=*************<br>
canreinvite=no<br>
dtmfmode=inband<br>
insecure=invite<br>
disallow=all<br>
allow=alaw,gsm,ulaw<br>
qualify=yes<br>
relaxdtmf=yes<br>
directmedia=no<br>
<br>
<br>
<br>
/var/log/asterisk/messages:<br>
[Sep 9 11:50:18] NOTICE[835][C-0000002a] chan_sip.c: Call from <br>
'77707057984' (<a href="http://185.29.203.27:5060" rel="noreferrer noreferrer" target="_blank">185.29.203.27:5060</a>) to extension '31705680837' rejected <br>
because extension not found in context '[0705680837]'.<br>
[Sep 9 11:50:49] NOTICE[835][C-0000002b] chan_sip.c: Call from <br>
'77707057984' (<a href="http://185.29.203.27:5060" rel="noreferrer noreferrer" target="_blank">185.29.203.27:5060</a>) to extension '31705680837' rejected <br>
because extension not found in context '[0705680837]'.<br>
[Sep 10 10:39:03] NOTICE[835] chan_sip.c: Peer '0705680837' is now <br>
Lagged. (2022ms / 2000ms)<br>
[Sep 10 10:39:13] NOTICE[835] chan_sip.c: Peer '0705680837' is now <br>
Reachable. (12ms / 2000ms)<br>
[Sep 10 13:09:54] NOTICE[835][C-0000002c] chan_sip.c: Call from <br>
'77707057984' (<a href="http://185.29.203.27:5060" rel="noreferrer noreferrer" target="_blank">185.29.203.27:5060</a>) to extension '31705680837' rejected <br>
because extension not found in context '[0705680837]'.<br>
[Sep 10 13:16:17] NOTICE[835][C-0000002d] chan_sip.c: Call from <br>
'77707057984' (<a href="http://185.29.203.27:5060" rel="noreferrer noreferrer" target="_blank">185.29.203.27:5060</a>) to extension '31705680837' rejected <br>
because extension not found in context '[0705680837]'.<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Astricon is coming up October 9-11! Signup is available at: <a href="https://www.asterisk.org/community/astricon-user-conference" rel="noreferrer noreferrer" target="_blank">https://www.asterisk.org/community/astricon-user-conference</a><br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>