Hi,

$rm works fine for me. (Shows the request method name)
Which version do you use? I have used $rm on several opensips versions and never got this problem.


BR

Max M.



On 06/29/2012 03: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


--
Max Mühlbronner

42com Telecommunication GmbH
Straße der Pariser Kommune 12-16
10243 Berlin

E-Mail: [email protected]
Web: www.42com.com

Firmenangaben/Company information:
Handelsregister/Commercial register: Amtsgericht Berlin HRB 99071 B
Umsatzsteuer-ID/VAT-ID: DE223812306
Geschäftsführer/CEO: Thomas Reinig, Alexander Reinig

Diese E-Mail enthält Informationen von 42com Telecommunication GmbH. Diese sind 
möglicherweise vertraulich und ausschließlich für den Adressaten bestimmt. 
Sollten Sie diese elektronische Nachricht irrtümlicherweise erhalten haben, so 
informieren Sie uns bitte unverzüglich telefonisch oder per E-Mail.

This message is intended only for the use of the individual or entity to which 
it is addressed. If you have received this message by mistake, please notify us 
immediately.

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

Reply via email to