[Devel] session termination

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Dec 6 19:23:04 CET 2005


Hi,

The TM API does not export any cancel function right now. Instead there 
is a FIFO function for generating cancels: t_uac_cancel (see 
modules/tm/tm.c +553) . maybe this will help you in adding an API function.

regards,
bogdan

JF wrote:

>Hi,
>
>I've been playing around with TM callbacks and the TM API trying to
>build a module which mantains dialog info in order to permit session
>termination. For now I managed (in a very experimental way) to have a
>function exposed to the script which initiates (appropriately built
>with dialog info) BYE transactions to UAs and effectively terminates
>the call. Later this could be done via FIFO or unix socket command
>taking some kind of "dialog identifier" parameter...
>But sending BYEs to terminate calls only works if the dialog is
>already in the CONFIRMED state.
>For early dialogs, CANCELs should be used. But in the TM API there is
>no cancel function. Is there any other way of canceling a request on
>behalf of an UA from within an openser module? Or would the TM API
>need to be extended?
>
>Thanks in advance for any insights.
>
>JF
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>  
>




More information about the Devel mailing list