On 2/11/10 9:34 AM, Chandrakant Solanki wrote:


On Thu, Feb 11, 2010 at 10:26 AM, Chandrakant Solanki <solanki.chandrakant@gmail.com> wrote:


On Wed, Feb 10, 2010 at 11:07 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

check your config whether you send a reply and do xlog("Method not supported...") before getting to your condition.

Cheers,
Daniel


On 2/10/10 10:46 AM, Chandrakant Solanki wrote:
Hi

below line is in my configuration...


loadmodule "pua.so"
modparam("pua", "db_url", "mysql://kamailio:kamailio@172.16.0.10:3306/kamailio")
modparam("pua", "db_table", "pua")

----
----

        if(is_method("NOTIFY") && src_ip==172.16.0.15) {
                xlog("L_INFO", "NOTIFY Method found\n");
                if(!t_relay()){
                        sl_reply_error();
                }
        }
----
----


I found following error in log...

Feb 10 15:14:40 kamailio_1 /sbin/kamailio[5597]: Method not supported - M=NOTIFY RURI=sip:172.16.0.15 F=sip:2222222@pbxusers.net T=sip:172.16.0.15 IP=172.18.100.89 ID=17dd4bb9-81d132a0@172.18.100.89

--
Regards,

Chandrakant Solanki
_______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

-- 
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
* http://www.asipto.com/
      

Hi

Thanks for quick reply,

I didn't specify xlog("Method not supported...") any where...  which module is require to work with NOTIFY method...

--
Regards,

Chandrakant Solanki

Hi

I am implementing MWI and for that i am using http://lists.iptel.org/pipermail/serusers/2004-September/011552.html when I executed sipsak, gives error on kamailio NOTIFY method not supported....

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.

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.

Cheers,
Daniel


NOTIFY sip:1111111@test.com SIP/2.0
From: 2222222 <sip:2222222@test.com>
To: <sip:1111111@test.com>
Contact: <sip:2222222@test.com>
Call-ID: 022270@172.18.100.73
CSeq: 022270 NOTIFY
Event: message-summary
Content-Type: application/simple-message-summary
Accept: application/simple-message-summary
Content-Length: 38

Messages-Waiting: Yes
Message-Account: sip:1111111@test.com
Voicemail: 4/0



--
Regards,

Chandrakant Solanki
_______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

-- 
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
* http://www.asipto.com/