You have to be more specific about what part of pjsip you are using. Are you using PJSUA or PJSUA2 or some other platform. For PJSUA, the function pjsua_call_make_call has the parameter msg_data which should contain the additional headers you want to add when starting the invite.
Sent from my iPhone On Jun 13, 2020, at 8:27 AM, kumar uppu <kumar94905@xxxxxxxxx> wrote:
Hi, I am new to pjsip, I want to send some data with a new header field in pjsip.
Like:
INVITE sip:123@xxxxxxx SIP/2.0 From: <sip:123@xxxxxxx>;tag=02509797-a5fd-4c94-8d66-92eb0df6bff5
To: sip:566@xxxxxxx
Contact: <sip:123@xxxxxxx;ob>
Call-ID: 74ec3d14-7734-46ea-9bf2-0ae92afdb8fc
CSeq: 1036 INVITE My-own-header: <some data>
please give me example to add custom header in pjsip what are the instructions to add header filed
Thanks, Kumar
_______________________________________________Visit our blog: http://blog.pjsip.orgpjsip mailing listpjsip@xxxxxxxxxxxxxxxhttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
|
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org