<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
$rm works fine for me. (Shows the request method name) <br>
Which version do you use? I have used $rm on several opensips
versions and never got this problem.<br>
<br>
<br>
BR<br>
<br>
Max M.<br>
<br>
<br>
<br>
On 06/29/2012 03:49 PM, Sebastien CRUAUX wrote:
<blockquote cite="mid:4FEDB27C.8060002@halys.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi,<br>
<br>
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 ?<br>
<br>
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
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a moz-do-not-send="true"
href="http://opensips.org/pipermail/users/2011-July/018347.html">http://opensips.org/pipermail/users/2011-July/018347.html</a>).
I would like to get "REGISTER" instead of "128". How can I do that
?<br>
Thanks for your help.<br>
<br>
Regards,<br>
<br>
Sebastien<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Max Mühlbronner
42com Telecommunication GmbH
Straße der Pariser Kommune 12-16
10243 Berlin
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:mm@42com.com">mm@42com.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.42com.com">www.42com.com</a>
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.
</pre>
</body>
</html>