sergio
2021-Jun-13 02:26 UTC
[asterisk-users] extension with callerid not found in context
I have pjsip endpoint with callerid=<sergio> context=localpeers which looks follow: [localpeers] exten => _. at _./sergio,1,Dial(Local/${EXTEN}@somecontext) exten => _. at _.,1,NoOp() And this works fine: == Setting global variable 'SIPDOMAIN' to 'DOMAIN' -- Executing [EXTEN at localpeers:1] Dial("PJSIP/pjsip_endpoint-0000000a", "Local/EXTEN at somecontext") in new stack But this: [localpeers] exten => _. at _./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 => _. at _.,1,NoOp()` record? -- sergio.
Joshua C. Colp
2021-Jun-13 11:04 UTC
[asterisk-users] extension with callerid not found in context
On Sat, Jun 12, 2021 at 11:54 PM sergio <sergio at outerface.net> wrote:> I have pjsip endpoint with callerid=<sergio> context=localpeers which > looks follow: > > [localpeers] > exten => _. at _./sergio,1,Dial(Local/${EXTEN}@somecontext) > exten => _. at _.,1,NoOp() > > And this works fine: > > == Setting global variable 'SIPDOMAIN' to 'DOMAIN' > -- Executing [EXTEN at localpeers:1] > Dial("PJSIP/pjsip_endpoint-0000000a", "Local/EXTEN at somecontext") in new > stack > > > But this: > > [localpeers] > exten => _. at _./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 => _. at _.,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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210613/325af022/attachment.html>