Extension With Callerid Not Found In Context
I have pjsip endpoint with callerid=
[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?
—
sergio.
—
2 thoughts on - Extension With Callerid Not Found In Context
This has an open issue[1].
[1] https://issues.asterisk.org/jira/browse/ASTERISK-28767
Thank you, Joshua!
—
sergio.
—