On Sat, Jun 12, 2021 at 11:54 PM sergio <[email protected]> wrote:

> I have pjsip endpoint with callerid=<sergio> context=localpeers which
> looks follow:
>
> [localpeers]
> exten => _.@_./sergio,1,Dial(Local/${EXTEN}@somecontext)
> exten =>        _.@_.,1,NoOp()
>
> And this works fine:
>
>    == Setting global variable 'SIPDOMAIN' to 'DOMAIN'
>      -- Executing [EXTEN@localpeers:1]
> Dial("PJSIP/pjsip_endpoint-0000000a", "Local/EXTEN@somecontext") in new
> stack
>
>
> But this:
>
> [localpeers]
> exten => _.@_./sergio,1,Dial(Local/${EXTEN}@somecontext)
>
> fails:
>
> res_pjsip_session.c:2993 new_invite: Call from 'pjsip_endpoint'
> (TLS:IP:PORT) to extension 'EXTEN' rejected because extension not found
> in context 'localpeers'.
>
>
> Why do I need `exten => _.@_.,1,NoOp()` record?
>

This has an open issue[1].

[1] https://issues.asterisk.org/jira/browse/ASTERISK-28767

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to