[OpenSIPS-Devel] [ opensips-Bugs-3518374 ] {via.param, received} blank, {via.received} undocumented

SourceForge.net noreply at sourceforge.net
Mon Apr 23 18:35:45 CEST 2012


Bugs item #3518374, was opened at 2012-04-16 01:16
Message generated for change (Comment added) made by vladut-paiu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3518374&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: docs
Group: 1.7.x
>Status: Closed
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: Walter Doekes (wdoekes)
Assigned to: Vladut-Stefan Paiu (vladut-paiu)
Summary: {via.param,received} blank, {via.received} undocumented

Initial Comment:
Hi,

http://www.opensips.org/Resources/DocsCoreTran17#toc40

^-- this does not list via.received, but it does list via.param,received

The latter one does not work, the first one does. (With 1.7.x.)

Further, the examples above:
  $var(upstreamtransport) = $(hdr(Via)[1]){via.transport}{s.tolower});
  $var(upstreamip) = $(hdr(Via)[1]){via.param,received});
  $var(clientport) = $(hdr(Via)[-1]){via.param,rport});
include a parenthesis too many (between ] and { ).

Regards,
Walter Doekes

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

>Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2012-04-23 09:35

Message:
Hi Walter,

There was a bug in OpenSIPS where the via params len was not properly set
sometimes, that's why the via.param,received transformation was not
working.
I have committed a fix for that in trunk and 1.7 & 1.8 branches.

Also updated the docs, mentioned via.branch, via.received and via.rport.
Thanks for reporting.

Regards,
Vlad

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

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



More information about the Devel mailing list