Unfortunately the 1.4 version does not implement the BYE sending, which is the most important part :(.
But using 1.5.1 should do the trick. Regards, Bogdan John Quick wrote: > So whichever solution I use requires upgrading to version 1.5.x. I thought > maybe 1.4.x was more stable so have not yet upgraded to 1.5. Perhaps now is > the time! > > Thanks for the comments. Regards, > John Quick > > > -----Original Message----- > From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] > Sent: 01 May 2009 12:31 > To: john.qu...@smartvox.co.uk > Cc: users@lists.opensips.org > Subject: Re: [OpenSIPS-Users] Limit call duration - Timeout in Dialog > module? > > Hi john, > > Using the dialog module should do the trick. When the dialog is setup, > use an AVP to set the dialog timeout (see the timeout_avp at > http://www.opensips.org/html/docs/modules/1.5.x/dialog.html#timeout-avp-id) > to force dialog termination after certain time and also enable BYE > sending at dialog termination ( see bye_on_timeout_flag at > http://www.opensips.org/html/docs/modules/1.5.x/dialog.html#bye-on-timeout-f > lag-id). > > Regards, > Bogdan > > John Quick wrote: > >> What is the best technique for limiting the maximum call duration in >> OpenSIPS? I want to set the time limit within the Request_Route section >> > that > >> is handing the initial INVITE when the call starts. >> I tried setting a 30 second timeout in the Dialog module using a value put >> into the timeout_avp, but nothing appears to happen when the time limit is >> reached. Have I misunderstood what it's purpose is? >> >> This is for pre-paid credit expiring during a call. Using OpenSIPS 1.4.2 >> >> John Quick >> Systems Consultant >> Smartvox Limited >> >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> > > > > _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users