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

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



On 2/11/10 5:56 AM, Chandrakant Solanki 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...
>
kamailio is a proxy, it can support any method. It is up to you to do 
the routing.

If you haven't done anything special for NOTIFY, then the reply can come 
from another place. I was grepping the sources and the messages printed 
by you is in the config of unit test 7. Are you using that config?

Use ngrep to watch the sip traffic on your server.

Cheers,
Daniel

-- 
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/54732006/attachment.htm>


More information about the sr-users mailing list