[SR-Users] Kamilio+asterisk = deregister after 2-3 minute

Joel Serrano joel at textplus.com
Fri Dec 11 20:57:31 CET 2020


You can also set 404 as a valid response to the OPTIONS in Kam.

On Fri, Dec 11, 2020 at 05:36 Barry Flanagan <barry at flanagan.ie> wrote:

> On 11/12/2020 13:23, Mihai Cezar wrote:
>
> Hello, You right, i've found something, seems that the kamailio-probe it
> puts the destination down. Any ideas why it's doing this ?
>
>
> "OPTIONS-Request was finished with code 404"
>
> The OPTIONS returns a 404. You need to put something into your default
> context in Asterisk so it returns 200. If your default context is "default"
> then this would work in extensions.conf:
>
> *[default]*
>
> *exten => s,1,Hangup()*
>
> Then do a "dialplan reload" in asterisk.
>
> Hope this helps
>
> -Barry Flanagan
>
>
> : ds_run_route(): ds_run_route event_route[dispatcher:dst-down
> : ds_run_route(): route does not exist 8(24491) DEBUG: {2 10 OPTIONS
> 3afe874f6d71811b-24504 at 127.0.0.1} dispatcher
> : ds_options_callback(): OPTIONS-Request was finished with code 404 (to
> sip:10.1.2.2;transport=udp, group 1)
> : ds_update_state(): update state for sip:10.1.2.2;transport=udp in group
> 1 to 10
> : ds_update_state(): destination did not replied 10 times, threshold 10
> : ds_update_state(): deactivate destination, threshold 10 reached
> : ds_run_route(): ds_run_route event_route[dispatcher:dst-down
> : ds_run_route(): route does not exist 8(24491) DEBUG: {2 10 OPTIONS
> 3afe874f6d71811c-24504 at 127.0.0.1} dispatcher [dispatch.c:2805
> : ds_manage_routes(): set 1
>
> On Thu, Dec 10, 2020 at 11:53 AM Володимир Іванець <
> volodyaivanets at gmail.com> wrote:
>
>> Hello,
>>
>> Can you see some warnings or errors in the Kamailio log file? If no, try
>> to increase the verbosity level.
>>
>> Also, how does the third REGISTER compares to the first or second one?
>>
>> чт, 10 груд. 2020 о 09:08 Mihai <m at mokalife.ro> пише:
>>
>>> Hi,
>>>
>>> I am forwarding all the traffic to my asterisk server ( including
>>> registers)
>>> everything seems to work when i first register but if stay idle 2-3
>>> minute it gets unregistered and then i can't register back unless i restart
>>> kamailio
>>> see attached print screen
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> -Barry
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201211/8f6e034d/attachment.htm>


More information about the sr-users mailing list