<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>On 3/28/2019 6:32 PM, sean darcy wrote:<br>
</p>
<blockquote type="cite" cite="mid:q7jp3n$dg6$1@blaine.gmane.org">I'm
using "s" extension in my dialplan:
<br>
<br>
[gv-voice]
<br>
exten => s,1,Verbose(callerid is "${CALLERID(all)}" or
"${CALLERID(num)}") ;Set(Var_TO=${SIP_HEADER(TO)}) ;
PJSIP_HEADER(read,To)
<br>
same=>n,....
<br>
<br>
But when a call comes in to the gv-voice context, "s" doesn't
match the extension:
<br>
<br>
res_pjsip_session.c:2991 new_invite: Call from 'gv-voice'
(UDP:10.10.10.80:5062) to extension '<xxxxxxxxxx>' rejected
because extension not found in context 'gv-voice'.
<br>
<br>
I thought "s" (as in start ?) would match any extension sent to
that context.
<br>
<br>
sean
<br>
<br>
</blockquote>
<pre class="moz-signature" cols="72"><font face="Helvetica, Arial, sans-serif">The "s" extension does not work because you are calling a numbered extension. If the call was coming in without an explicit number
it would work. If you want to use your s extension in this case you need to add:
exten => _X.,1,Goto(s,1)
That will redirect any call coming in to your s extension.
</font></pre>
<br>
-- Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161
</body>
</html>