[Kamailio-Users] [kamailio-users] Method NOTIFY not supported ...

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 11 10:28:47 CET 2010



On 2/11/10 9:34 AM, Chandrakant Solanki wrote:
>
>
> On Thu, Feb 11, 2010 at 10:26 AM, Chandrakant Solanki 
> <solanki.chandrakant at gmail.com <mailto:solanki.chandrakant at gmail.com>> 
> wrote:
>
>
>
>     On Wed, Feb 10, 2010 at 11:07 PM, Daniel-Constantin Mierla
>     <miconda at gmail.com <mailto:miconda at 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
>>         <http://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 at pbxusers.net
>>         <mailto:sip%3A2222222 at pbxusers.net> T=sip:172.16.0.15
>>         IP=172.18.100.89 ID=17dd4bb9-81d132a0 at 172.18.100.89
>>         <mailto:17dd4bb9-81d132a0 at 172.18.100.89>
>>
>>         -- 
>>         Regards,
>>
>>         Chandrakant Solanki
>>
>>
>>         _______________________________________________
>>         Kamailio (OpenSER) - Users mailing list
>>         Users at lists.kamailio.org  <mailto:Users at 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 at test.com <mailto:sip%3A1111111 at test.com> SIP/2.0
> From: 2222222 <sip:2222222 at test.com <mailto:sip%3A2222222 at test.com>>
> To: <sip:1111111 at test.com <mailto:sip%3A1111111 at test.com>>
> Contact: <sip:2222222 at test.com <mailto:sip%3A2222222 at test.com>>
> Call-ID: 022270 at 172.18.100.73 <mailto:022270 at 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 at test.com <mailto:sip%3A1111111 at test.com>
> Voicemail: 4/0
>
>
>
> -- 
> Regards,
>
> Chandrakant Solanki
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100211/a3585297/attachment.htm>


More information about the sr-users mailing list