[OpenSIPS-Users] How to copy the Diversion header in 302 response
    Montarou, Hélène 
    Helene.Montarou at nuance.com
       
    Mon May  9 03:11:06 CEST 2011
    
    
  
Hi,
 
I am using opensips-1.6.2-0 with the Diversion module.
 
I use the add_diversion('redirection') function and the Diversion header is added to the INVITE request.
However, I couldn't have it copied in the 302 response generated after the add-diversion is called.
 
Here is the code I am using:
 
                        ds_select_dst("2","4");
                        add_diversion("redirection");
                        sl_send_reply("302", "Redirect");
                        exit;
 
How can I force the signaling module to copy the Diversion header in the INVITE response 302?
 
Thank you,
 
Regards,
 
Helene
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110508/974d8acf/attachment.htm>
    
    
More information about the Users
mailing list