shouldn&#39;t it be like <div><br></div><div>if(is_method(&quot;REGISTER&quot;))</div><div><br></div><div>and the next thing you&#39;re requiring is always in the sample configuration file just search ofr the code area where REGISTERs are handled.</div>
<div><br></div><div>save(&quot;location&quot;); is the function which saves the authenticated user in openser DB.</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 7:59 PM, Marwan Idriss <span dir="ltr">&lt;<a href="mailto:marwan.idriss@gmail.com">marwan.idriss@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greeting,<br>
<br>
I want to do the following :<br>
<br>
if (method==&quot;REGISTER&quot;) {<br>
<br>
then save the message received in  the ser database<br>
<br>
}<br>
<br>
Regards<br>
<br>
Marwan<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>