Empty User String On Pjsip Inbound Trunk

Home » Asterisk Users » Empty User String On Pjsip Inbound Trunk
Asterisk Users No Comments


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?