[SR-Users] Dispatcher does not send pings

Mino Haluz mino.haluz at gmail.com
Mon Dec 19 17:00:48 CET 2011


Ok, my mistake, the modparams related to dispatcher module were in !endif
that was not processed. In future, I will do not edit the cfg file without
code highlighting ..arrg

On Mon, Dec 19, 2011 at 3:56 PM, Mino Haluz <mino.haluz at gmail.com> wrote:

> Updated to 3.2.1 (debian package) and still the same behaviour.
>
> version: kamailio 3.2.1 (i386/linux)
> flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
> DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
> DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
> USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> id: unknown
> compiled on 05:08:17 Dec 19 2011 with gcc 4.4.5
>
>
>
> On Mon, Dec 19, 2011 at 2:29 PM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>>  Hello,
>>
>>
>> On 12/19/11 1:35 PM, Mino Haluz wrote:
>>
>> This is in the log file:
>> ERROR: dispatcher [dispatcher.c:640]: failover functions used, but AVPs
>> paraamters required are NULL -- feature disabled
>>
>>
>> it is not related to ping options. You have to upgrade first to 3.2.1 to
>> get the ping functionality as written in the readme. 3.2.0 uses old states
>> where there were overlapping cases and you have to set probing mode to the
>> gateways to be pinged.
>>
>> Cheers,
>> Daniel
>>
>>
>>
>> and the output of kamctl fifo ds_list:
>> SET_NO:: 1
>> SET:: 1
>>     URI:: sip:IP1:5060 flags=AX priority=0 attrs=
>>     URI:: sip:IP2:5060 flags=AX priority=0 attrs=
>>
>> version: kamailio 3.2.0 (i386/linux)
>>
>> On Mon, Dec 19, 2011 at 1:29 PM, Daniel-Constantin Mierla <
>> miconda at gmail.com> wrote:
>>
>>>  Hello,
>>>
>>> is this at least version 3.2.1 (or the latest branch 3.2)?
>>>
>>> What do you get with: kamctl fifo ds_list?
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>> On 12/19/11 12:49 PM, Mino Haluz wrote:
>>>
>>>  Hi,
>>>
>>> please, could someone specify the conditions when the dispatcher module
>>> sends the INFO pings to the gateways ?
>>>
>>> modparam("dispatcher", "flags", 2)
>>> modparam("dispatcher", "dstid_avp", "$avp(s:test)")
>>> modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")
>>> modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")
>>> modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")
>>> modparam("dispatcher", "ds_ping_interval", 30)
>>> modparam("dispatcher", "ds_probing_mode", 1)
>>> modparam("dispatcher", "ds_ping_method", "INFO")
>>> modparam("dispatcher", "ds_ping_from", "sip:001122 at test")
>>>
>>> And my dispatcher.list is:
>>>
>>> 1 sip:IP1:5060
>>> 1 sip:IP2:5060
>>>
>>> Am I missing something? I dumped all the communication and the
>>> kamailio(dispatcher) does not send anything..
>>>
>>> Thanks,
>>> Mino
>>>
>>>
>>>  _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
>>>
>>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111219/16449410/attachment.htm>


More information about the sr-users mailing list