You are absolutely right, my bad I mixed up my logs and got
confused.
Thank you for your quick answer !
Le 29/06/2012 16:33, Vlad Paiu a écrit :
Hello,
The $rm pvar returns the exact 'REGISTER' or 'INVITE' or whatever
SIP method you have in the current SIP message, so this is the one
to use in your case.
The {uri.method} transformation returns the value of the method
parameter from the URI passed at input, so this is not what you're
interested in.
Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 06/29/2012 04:49 PM, Sebastien CRUAUX wrote:
Hi,
Is there a way to get the name of a SIP method as a string in
opensips.cfg, maybe using transformations on a pseudo-variable ?
For example, on a REGISTER request, I tried $rm and
$(ru{uri.method}) but each time the result was 128 (internal
opensips code of the REGISTER method, cf
http://opensips.org/pipermail/users/2011-July/018347.html).
I would like to get "REGISTER" instead of "128". How can I do
that ?
Thanks for your help.
Regards,
Sebastien
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
|
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users