Hi Tung

you should load the dialog module
modparam("dialog", "default_timeout", 30) - 30 giay
modparam("dialog", "dlg_flag", 4)
modparam("dialog", "bye_on_timeout_flag", 6) - maybe 4
....
route
 {
setflag(4)
create_dialog();
....

all call will be disconnect after 30s

Have fun, Opensips is good sip server :)

Ha`
On Fri, Sep 17, 2010 at 9:51 PM, Tung Tran <[email protected]> wrote:

>  Dear experts,
>
>
>
> I want to test the scenario that uses dialog module to limite call duration
> and disconnect the active call when the timer is over.
>
> I read the dialog module document many time but still cannot figure out how
> to config it in opensips conf file.
>
>
>
> Any hints are very appreciated.
>
>
>
> Thanks
>
> T.T
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to