[Devel] [ openser-Bugs-1462056 ] append_hf fails

SourceForge.net noreply at sourceforge.net
Fri Mar 31 14:24:37 CEST 2006


Bugs item #1462056, was opened at 2006-03-31 14:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1462056&group_id=139143

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: ver devel
Status: Open
Resolution: None
Priority: 5
Submitted By: Klaus Darilion (klaus_darilion)
Assigned to: Nobody/Anonymous (nobody)
Summary: append_hf fails

Initial Comment:
Hi!

append_hf("header body","header") does not work. It
only inserts the header body with header name (just
like the one parameter version of append_hf):

avp_printf("$avp(s:temp)","$avp(s:rpid);party=calling;id-type=subscriber;screen=yes");
append_hf("$avp(s:temp)","Remote-Party-ID");

results in:

CSeq: 2 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER,
NOTIFY, MESSAGE, SUBSCRIBE, INFO.
Content-Type: application/sdp.
Content-Length: 227.
<sip:+43101 at bp1.ienum.labs.nic.at>;party=calling;id-type=subscriber;screen=yes.
v=0.

also the empty line is missing between the headers and
the body. What about adding CRLF automatically if it is
not present in the string given to append_hf?



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1462056&group_id=139143



More information about the Devel mailing list