[OpenSIPS-Users] Get SIP method's name

Max Mühlbronner mm at 42com.com
Fri Jun 29 16:34:24 CEST 2012


$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.


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
> Users at lists.opensips.org
> 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: mm at 42com.com
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120629/03ecf3b9/attachment.htm>

More information about the Users mailing list