Summary: | ASTERISK-03896: [request] Set RDNIS from Diversion Header on 300 Messages | ||
Reporter: | multif (multif) | Labels: | |
Date Opened: | 2005-04-08 09:55:49 | Date Closed: | 2011-06-07 14:05:29 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/Interoperability |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) sipdebug.txt | |
Description: | I have a call that comes into *. The number is sent to a cisco gateway. exten => 4567,1,Dial(Sip,106@cisco.router.com); If no one answers on the gateway it forwards it back to the * Asterisk recieves a 300 message /w Diversion Header. The RDNIS value at this time is 4567. Asterisk should set the RDNIS to the information in the Diversion Header. | ||
Comments: | By: Clod Patry (junky) 2005-04-08 18:20:08 Please attach a SIP debug, thanks. By: multif (multif) 2005-04-13 14:36:12 Currently * sets RDNIS drom the Diversion Header of Invite messages but not 300 By: multif (multif) 2005-04-13 18:45:21 Attached a debug. In this debug you can see the "SIP/2.0 300 Multiple Choices" message. It has the following diversion header: Diversion: <sip:103@10.0.0.170>;reason=no-answer The get_rdnis() is not even called on 3xx messages. In the chan_sip.c file it looks like we need to add a function call to get_rdnis(p, req); near the parse_moved_contact(p, req); However this alone does not fix the problem. It appears the the app_dial.c then sets the rdnis variable, but I am not very familiar with how these interact. edited on: 04-13-05 18:46 By: Clod Patry (junky) 2005-05-24 18:01:00 I think we can close that bug, since no ones seems to work on it... Plus it's a feature requested, i think we have enough things to focus on by this time. By: Clod Patry (junky) 2005-05-25 06:57:09 If a patch come thru and wants to make any comments regarding a solution to it, feel free to re-open it. |