[asterisk-users] Empty user string on pjsip inbound trunk

Simon Hohberg simon.hohberg at mcs-datalabs.com
Thu Nov 3 03:57:25 CDT 2016


I try to setup an inbound trunk using pjsip_wizard.conf. Now, when I 
receive a call from that trunk with an empty user string, and I try to 
match it with 's' in the dial plan, Asterisk reports that the extension 
was not found in the context.

* pjsip_wizard.conf:

type = wizard
sends_auth = no
sends_registrations = no
remote_hosts = example.com:5060
endpoint/context = from-extern

* extensions.conf:

exten => s,1,Playback(demo-thanks)

* Asterisk log:

res_pjsip_session.c: Call from 'example' (UDP: to 
extension '' rejected because extension not found in context 'from-extern'.

What am I doing wrong?



More information about the asterisk-users mailing list