Hello,

 

I cannot set the userpart parameter in the RURI using $rU. The needed parameter 
always becomes the URI and not userpart parameter.

 

rewriteuser("+1234556;rn=+1234567");

or

$rU = "+1234556;rn=+1234567";

 

Produces the same result with the userpart parameter becoming URI parameter:

 

"INVITE sip:[email protected]:5080;rn=+1234567 SIP/2.0\r

 

Only modifying the whole URI using $ru works as needed:

 

$ru="sip:" + "+1234567;rn=+1234567" + "@" + "test.com";

 

"INVITE sip:+1234567;[email protected] SIP/2.0\r

 

Is there a reason for this behavior?

 

Thanks,

xaled

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to