I need to input the P-Preferred-Identity: sip:[email protected];user=phone;AAA5XSHNBBB os sip header of outgoing call from vital extension to public sip provider.
I already try to add file:
root@pbx:/etc/asterisk/vitalpbx# cat extensions__50-custom_ppi.conf
[custom-add-ppi-header]
exten => _X.,1,NoOp(Adicionando P-Preferred-Identity para ${EXTEN})
exten => _X.,n,SIPAddHeader(P-Preferred-Identity: sip:[email protected];user=phone;AAA5XSHNBBB)
exten => _X.,n,Goto(${CONTEXT},${EXTEN},${PRIORITY}+1)
And create an Custom Contexts + Custom Aplications (with personal code) to use the custom contexts and force add P-Preferred-Identity.
For now, no success.
