[OpenSER-Users] Terminate a call from script

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jun 5 18:05:01 CEST 2008


Hi David,

But this is not from script. Is is from outside openser.

Regards,
Bogdan

David Villasmil wrote:
> I've done that...
>
> Using the dialog module, and getting the hash_id and hash_entry, you can:
>
> :dlg_end_dlg:_reply_fifo_file_
> 		342
> 		56
> 		_empty_line_
>
> and that ends the call.
>
> On Thu, Jun 5, 2008 at 3:17 PM, Bogdan-Andrei Iancu 
> <bogdan at voice-system.ro <mailto:bogdan at voice-system.ro>> wrote:
>
>     Hi,
>
>     No, there is no way to terminate the call directly from the script
>     - at
>     least not so far :).
>
>     Regards,
>     Bogdan
>
>     kionez wrote:
>     > Hi all,
>     > I'm trying to add a simple priority mechanism in my openser 1.3
>     script.
>     >
>     > Reading docs i found that dialog module gives a MI command to
>     terminate
>     > a call, dlg_end_dlg. Is there any way to terminate a call within a
>     > script (or a perl script)? I can't find anything on the web, the
>     only
>     > way i found is to exec something like "openserctl fifo
>     dlg_end_dlg $hash
>     > $id", but it's slower than a direct function inside the main
>     script..
>     >
>     > thanks in advance
>     >
>     > k.
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at lists.openser.org <mailto:Users at lists.openser.org>
>     > http://lists.openser.org/cgi-bin/mailman/listinfo/users
>     >
>     >
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.openser.org <mailto:Users at lists.openser.org>
>     http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>





More information about the Users mailing list