[asterisk-users] extension with callerid not found in context

sergio sergio at outerface.net
Sat Jun 12 21:26:01 CDT 2021

I have pjsip endpoint with callerid=<sergio> context=localpeers which 
looks follow:

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 

But this:

exten => _. at _./sergio,1,Dial(Local/${EXTEN}@somecontext)


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?


More information about the asterisk-users mailing list