[SR-Users] send bye to caller after dialog timeout
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jan 12 11:19:01 CET 2012
Hello,
right, one missing thing: the dlg_ctx variable has to have the flag for
sending byes set at call startup:
$dlg_ctx(timeout_bye) = 1;
Cheers,
Daniel
On 1/11/12 6:04 PM, Uri Shacked wrote:
> I set the timeout parameter to 30 sec to check. The call was not
> disconnected. After i did hang up the phone, i got an error for a
> misplaced "bye" with no dialog...
> I notice there i an option to set some $dlgctx parameters. Where can i
> find out more about it? What i "timeout-bye=1" in the module example?
> Thanks.
>
> On 1/10/12, Uri Shacked<ushacked at gmail.com> wrote:
>> hi,
>>
>> i am manging dialogs in memory only. no DB.
>> i would like to set a timeout for a dialog and when the timeout is reached,
>> to send "bye" to the parties.
>> today i know how to timeout the dialog, and using the dlg_bye function is
>> understood.
>> but, how do i activate the dlg_bye when the time out is executed and whith
>> which parameters in order to disconnect the right session?
>>
>> the explenation about the "route" to perform is not clear?
>>
>> please,
>>
>> thanks,
>> Uri
>>
--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda
More information about the sr-users
mailing list