[OpenSIPS-Devel] Sending INFO from MI

Alex Massover alex at jajah.com
Wed Sep 15 12:47:39 CEST 2010


Yes, sounds to me as good idea, the function can receive 3 parameters: method, direction and extra headers. In the future maybe even 4 - request body.
But it will be up to user to understand what in-dialog requests he can send without breaking SIP.

-----Original Message-----
From: devel-bounces at lists.opensips.org [mailto:devel-bounces at lists.opensips.org] On Behalf Of Sa?l Ibarra Corretg?
Sent: Wednesday, September 15, 2010 1:05 PM
To: OpenSIPS devel mailling list
Subject: Re: [OpenSIPS-Devel] Sending INFO from MI


On 09/15/2010 11:17 AM, Alex Massover wrote:
> Hi,
> I need to pass events generated by the external application during the
> call. I'm thinking about to implement this with INFO.
> The idea is to add sending INFO functionality to the dialog module. In
> analogy with 'dlg_end_dlg' MI function exported by dialog module, I want
> to add 'dlg_send_info' function. That will receive 2 parameters:

I can't comment on technical details of your approach, as I'm not 
familiar with the dialog module internals, however, what about making 
this a bit more generic and allowing any request to be sent? Of course 
INVITE and SUBSCRIBE wouldn't be allowed, but someone might want to send 
an in-dialog OPTIONS or some other invented request such as FOO. You 
could then call it dlg_send_request.

The ability to send some payload with that request might also desirable 
for someone.

Just my 2 cents :-)


Saúl Ibarra Corretgé
AG Projects

Devel mailing list
Devel at lists.opensips.org

This mail was received via Mail-SeCure System.

This mail was sent via Mail-SeCure System.

More information about the Devel mailing list