Happy Friday!
We successfully get PJSIP headers for inbound calls by adding a ‘b’ handler to Dial() and setting some headers.
Is there a strategy for getting headers back for outbound calls before answering?
What we’re trying to do is get a channel variable back to the client immediately, regardless if the outbound call is answered.
I’ve tried both PJSIP_HEADER() and PJSIP_HEADER_PARAM() and while I can get the headers on an INVITE packet, they never make it down the the client (an in-house softphone using JsSIP).
Thanks for any advice
BK