2010/4/30 Brad Bendy <[email protected]> > Hi, > > Im bringing this back up again. > > Ive had to switch our INVITE format as some upstreams parse the INVITE > differently, I just need to change the order of variables around. > > Now the weird thing is, I set the $ru and then when I check to see what $ru > is set to, it's been set correct, the order and all variables are correct, > but then openSIPs sends the INVITE out it fails to modify it at all. > > I was using: > > $ru='sip:' + $rU + '@' + $rd + ';npdi=yes' + ';rn=' + $avp(s:lrn); > > now > $ru='sip:' + $rU + ';npdi=yes' + ';rn=+1' + $avp(s:lrn) + '@' + $rd; > > maybe that should go out if $avp(s:lrn) is not null(otherwise you should see errors in the syslog/messages). can you post the output of ngrep '11235559999' port 5060 -Wbyline -q -dany -t
? Is there any other place where you manipulate $ru? (failure_route or somewhere else) -Laszlo > Before the INVITE would look like: > > INVITE sip:[email protected]*;npdi=yes;rn=+11235559999 SIP/2.0 > > but now it should look like INVITE > sip:+11235559999;npdi=yes;[email protected]* SIP/2.0 > > it currently looks like INVITE sip:+11235559...@*1.1.1.1* SIP/2.0. > > Any ideals why just the positions of the AVPs and the other text would > matter? I think it's weird when I use xlog() to print what $ru is set to it > shows the correct value just OpenSIPs does not modify the INVITE. Not sure > if anyone else has ran into this on the list or not. > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
