search for: xyz011101

Displaying 1 result from an estimated 1 matches for "xyz011101".

2015 Oct 06
2
PJSIP: how to retrieve underlying SIP Call-ID
...all-ID)}, but that doesn't work for outbound channel even in pre-dial or hangup handler. Whatever I do PJSIP_HEADER seem to be unable to read headers for outbound channel. Here's what I do: [xyz] exten => 999,1,NoOp(Call-ID: ${PJSIP_HEADER(read,Call-ID)}) same => n,Dial(PJSIP/xyz011101/sip:xyz011101@<outbound_proxy>:5060,30,b(_pre_dial,s,1)) exten => h,1,NoOp() [_pre_dial] exten => s,1,NoOp(Call-ID: ${PJSIP_HEADER(read,Call-ID)}) same => n,Set(CHANNEL(hangup_handler_push)=_hangup,s,1()) same => n,Return [_hangup] exten => s,1,NoOp(Call-I...