<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 2/11/10 9:34 AM, Chandrakant Solanki wrote:
<blockquote
cite="mid:3bf515fb1002110034t2e45f61dy6b7acd8680449741@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Thu, Feb 11, 2010 at 10:26 AM,
Chandrakant Solanki <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:solanki.chandrakant@gmail.com">solanki.chandrakant@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">On Wed, Feb 10, 2010 at 11:07 PM,
Daniel-Constantin Mierla <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
check your config whether you send a reply and do xlog("Method not
supported...") before getting to your condition.<br>
<br>
Cheers,<br>
Daniel
<div>
<div><br>
<br>
On 2/10/10 10:46 AM, Chandrakant Solanki wrote:
</div>
</div>
<blockquote type="cite">
<div>
<div>Hi<br>
<br>
below line is in my configuration...<br>
<br>
<br>
loadmodule "pua.so"<br>
modparam("pua", "db_url", "mysql://<a moz-do-not-send="true"
href="http://kamailio:kamailio@172.16.0.10:3306/kamailio"
target="_blank">kamailio:kamailio@172.16.0.10:3306/kamailio</a>")<br>
modparam("pua", "db_table", "pua")<br>
<br>
----<br>
----<br>
<br>
if(is_method("NOTIFY") && src_ip==172.16.0.15) {<br>
xlog("L_INFO", "NOTIFY Method found\n");<br>
if(!t_relay()){<br>
sl_reply_error();<br>
}<br>
}<br>
----<br>
----<br>
<br>
<br>
I found following error in log...<br>
<br>
Feb 10 15:14:40 kamailio_1 /sbin/kamailio[5597]: Method not supported -
M=NOTIFY RURI=<a moz-do-not-send="true">sip:172.16.0.15</a> F=<a
moz-do-not-send="true" href="mailto:sip%3A2222222@pbxusers.net"
target="_blank">sip:2222222@pbxusers.net</a>
T=<a moz-do-not-send="true">sip:172.16.0.15</a> IP=172.18.100.89 ID=<a
moz-do-not-send="true" href="mailto:17dd4bb9-81d132a0@172.18.100.89"
target="_blank">17dd4bb9-81d132a0@172.18.100.89</a> <br clear="all">
<br>
-- <br>
Regards,<br>
<br>
Chandrakant Solanki<br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.kamailio.org"
target="_blank">Users@lists.kamailio.org</a>
<a moz-do-not-send="true"
href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a moz-do-not-send="true"
href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre cols="72">--
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
* <a moz-do-not-send="true" href="http://www.asipto.com/"
target="_blank">http://www.asipto.com/</a>
</pre>
</div>
</blockquote>
</div>
<br>
</div>
</div>
Hi <br>
<br>
Thanks for quick reply,<br>
<br>
I didn't specify xlog("Method not
supported...") any where... which module is require to work with
NOTIFY method...<br clear="all">
<br>
-- <br>
Regards,<br>
<font color="#888888"><br>
Chandrakant Solanki<br>
</font></blockquote>
</div>
<br>
Hi<br>
<br>
I am implementing MWI and for that i am using <a moz-do-not-send="true"
href="http://lists.iptel.org/pipermail/serusers/2004-September/011552.html">http://lists.iptel.org/pipermail/serusers/2004-September/011552.html</a>
when I executed sipsak, gives error on kamailio NOTIFY method not
supported....<br>
</blockquote>
<br>
what asterisk version are you using? Latest asterisks have support for
MWI, you just need to send SUBSCRIBE to it and asterisk will send
NOTIFY back, no need for sipsak workaround.<br>
<br>
If you can send the config, some of us can spot if that is generated by
kamailio. As said in a previous email, kamailio basically does not care
about sip message methods, it can support anything, it is a matter of
what routing logic you put in config.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:3bf515fb1002110034t2e45f61dy6b7acd8680449741@mail.gmail.com"
type="cite"><br>
NOTIFY <a moz-do-not-send="true" href="mailto:sip%3A1111111@test.com">sip:1111111@test.com</a>
SIP/2.0<br>
From: 2222222 <<a moz-do-not-send="true"
href="mailto:sip%3A2222222@test.com">sip:2222222@test.com</a>><br>
To: <<a moz-do-not-send="true" href="mailto:sip%3A1111111@test.com">sip:1111111@test.com</a>><br>
Contact: <<a moz-do-not-send="true"
href="mailto:sip%3A2222222@test.com">sip:2222222@test.com</a>><br>
Call-ID: <a moz-do-not-send="true" href="mailto:022270@172.18.100.73">022270@172.18.100.73</a><br>
CSeq: 022270 NOTIFY<br>
Event: message-summary<br>
Content-Type: application/simple-message-summary<br>
Accept: application/simple-message-summary<br>
Content-Length: 38<br>
<br>
Messages-Waiting: Yes<br>
Message-Account: <a moz-do-not-send="true"
href="mailto:sip%3A1111111@test.com">sip:1111111@test.com</a><br>
Voicemail: 4/0<br>
<br>
<br clear="all">
<br>
-- <br>
Regards,<br>
<br>
Chandrakant Solanki<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>