[OpenSIPS-Devel] [ opensips-Patches-3515749 ] B2B_LOGIC - possibility to add headers from script

SourceForge.net noreply at sourceforge.net
Wed Oct 24 22:54:01 CEST 2012


Patches item #3515749, was opened at 2012-04-07 12:52
Message generated for change (Comment added) made by a719719
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3515749&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: B2B_LOGIC - possibility to add headers from script

Initial Comment:
Based on feature request #3514222.
With this patch insert_hf/append_hf are working before b2b_request_init and in b2b_request/b2b_reply routes.

----------------------------------------------------------------------

Comment By: a719719 (a719719)
Date: 2012-10-24 13:54

Message:
I would like to do the following:

route[b2b_reply] {
  xlog("b2b_reply ($ci)\n");

                if(remove_hf("Allow"))
                {
                        append_hf("Allow: INVITE, ACK, CANCEL, OPTIONS,
BYE, INFO\r\n");
                }
}

The remove_hf return true but the 180 ringing reply still has the same
Allow header.

Will this patch make this happen? Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3515749&group_id=232389



More information about the Devel mailing list