Summary: | ASTERISK-22633: Patch to add a new channel variable SIPURIOPTION to save the URI options for call transfer target | ||||
Reporter: | NITESH BANSAL (nbansal) | Labels: | patch | ||
Date Opened: | 2013-10-02 10:46:54 | Date Closed: | |||
Priority: | Minor | Regression? | No | ||
Status: | Open/New | Components: | Channels/chan_sip/Transfers | ||
Versions: | 11.4.0 13.18.4 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | Debian squeeze x86_64 | Attachments: | ( 0) forward_uri_params_in_call_transfer ( 1) forward_uri_params_in_call_transfer.txt | ||
Description: | This patch defines a new channel variable SIPURIOPTION, which saves the URI options from call transfer target provided in Refer-To header.
Here is an example, lets say REFER contains the Refer-To Header as follows: Refer-To: <sip:1234@127.0.0.1;transport=tcp> The proposed patch will extract the urioptions and set the channel variable SIPURIOPTION with value "transport=tcp". This uri options are useful, if a third party application invoked in Dialplan as a result of call transfer wants to know the URI options passed for call transfer target. | ||||
Comments: | By: NITESH BANSAL (nbansal) 2013-10-02 10:47:32.552-0500 Here is the actual patch file. By: Rusty Newton (rnewton) 2013-10-03 20:42:51.880-0500 attaching reporter's submitted patch, same content, with .txt extension for ease of viewing. By: NITESH BANSAL (nbansal) 2013-10-04 03:10:53.011-0500 attaching the patch again..forgot to mark it as a piece of code first time |