search for: add_diversion

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

2018 Dec 10
4
PJSIP_HEADER - Diversion header manipulation
...(logs are below). Is there any chance I can rewrite Diversion header in this scenario with PJSIP_HEADER function? Asterisk version is 16.0.1 built from source on Debian 9. Thank you Davor # Outgoing context - TSP provider [outgoing] exten => 0123456789,1,Dial(PJSIP/${EXTEN}@${SBC_1},,b(add_diversion^FWDdiver^1)) same => n,Hangup() # Diversion manipulation context [add_diversion] exten => FWDdiver,1,Set(PJSIP_HEADER(add,Diversion)=<sip:full_pstn_no at example.com>\;reason=unconditional\;screen=yes\;privacy=off)) exten => FWDdiver,2,Set(PJSIP_HEADER(add,CustomOne)=<sip:cus...