[OpenSIPS-Users] dialog time out not working

Răzvan Crainea razvan at opensips.org
Fri Jun 20 11:36:05 CEST 2014


Hi, Samuel!

Have you tested with the latest changes? Is the timeout properly printed 
now?

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 06/20/2014 12:28 PM, Samuel Muller wrote:
> Hello,
>
> Following all the ways, it did not work, even if using the option B:
> create_dialog("B")
>
> Any idea ? Do I have to make a "local_route" to take in charge the BYEs ?
>
> Thanks,
>
>
>
>
> Samuel MULLER
>
>
> On Tue, Jun 17, 2014 at 1:26 PM, Samuel Muller <sml at l33.fr> wrote:
>> Hello Bogdan,
>>
>> - yep, I'm using the 1.11 version, from git (the version that solved
>> the cachedb memory leak).
>>
>> - no, it's the real part of the script where I set up the dialog functions ?
>> the only one difference is that for the test, I hard set up the timer
>> as if I retrieved it from db (as a string).
>> after the last }, I store the dialog info into a local cache, that's all.
>>
>>
>> debug lines does not show up anything useful but the fact the timer is
>> not taken in account.
>>
>> Sam
>>
>>
>>
>> Samuel MULLER
>> Telecom & Media Consultant
>> L33 NETWORKS
>> +33 663 128 505
>> sml at l33.fr
>> www.l33.fr
>>
>>
>> On Mon, Jun 16, 2014 at 4:18 PM, Bogdan-Andrei Iancu
>> <bogdan at opensips.org> wrote:
>>> Hi Samuel,
>>>
>>> I guess you are using 1.11 or trunk, right ?
>>>
>>> If so, are you sure you do the create_dialog() before the setting the
>>> $DLG_timeout ? (I looks to me the script is a kind of summary of your real
>>> script, if I'm not wrong)
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.com
>>>
>>>
>>> On 16.06.2014 16:08, Samuel Muller wrote:
>>>>
>>>> Hello,
>>>>
>>>> $DLG_timeout is not taken in account :
>>>>
>>>> -> cfg
>>>>
>>>>       if (is_method("INVITE")) {
>>>>           # for test purpose, hard set up (string, as retrieved)
>>>>           $var(caller_stimeout) = "120";
>>>>           # SST module see dead people ...
>>>>           setflag(SST);
>>>>           # create the dialog
>>>>           create_dialog();
>>>>           # set the session timeout
>>>>           if (issflagset(CALLER_FOUND) && $(var(caller_stimeout){s.len}) !=
>>>> 0) {
>>>>               # pbm : dialog: caller session timeout set to 0 sec (3600)
>>>> even if s.int hardly set
>>>>               $DLG_timeout = $(var(caller_stimeout){s.int});
>>>>               xlog("L_NOTICE","$var(log) invite: caller session timeout
>>>> set to $DLG_timeout sec ($var(caller_stimeout))");
>>>>           } else {
>>>>               $DLG_timeout = 3600;
>>>>           }
>>>>       }
>>>>
>>>> -> logs :
>>>> 58edd4d1377e0707 invite: caller session timeout set to 0 sec
>>>>
>>>>
>>>> If you have any idea to make this works (as a prepaid story) ?
>>>>
>>>> thanks a lot,
>>>>
>>>>
>>>> Samuel MULLER
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list