[OpenSER-Users] [Bug in devel] hdr( ) doesn't work

Iñaki Baz Castillo ibc at in.ilimit.es
Mon Oct 29 13:36:17 CET 2007


SVN 2983

I receive a INVITE with "Forwarded" header:
--------
Forwarded: by sip:ibc at sip.domain.net
---------

but OpenSer can't detect it in anyway (I've tryed all of this):

xlog("L_ERROR","hdr(Forwarded) = $(hdr('Forwarded')) $(hdr(Forwarded)[1]) 
$(hdr('Forwarded')[1]) $(hdr(Forwarded)[*])\n");

and the log says:

hdr(Forwarded) = <null> <null> <null> <null>


Any reason for this? is it a bug? it worked in 1.2.X.
I see no changes about hdr() in devel doc:
http://www.openser.org/dokuwiki/doku.php/pseudovariables:devel#headers


Thanks.


-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list