i wonder how to manipulate To header on Dialing with PJSIP. i was using exclamation on SIP dialing as below.
it is just a trunk between an operator in pjsip endpoints
I tried to the same format for PJSIP dial but i got error. how to manipulate it?
[Jul 29 10:47:15] ERROR: res_pjsip.c:2785 ast_sip_create_dialog_uac: Could not create dialog to endpoint ‘kamailio’ as URI ‘sip:10213129113423@ip!sip:3129113423@ip’ is not valid
[Jul 29 10:47:15] ERROR: chan_pjsip.c:1921 request: Failed to create outgoing session to endpoint ‘kamailio’
[Jul 29 10:47:15] WARNING[C-0000001f]: app_dial.c:2432 dial_exec_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)