[Freeswitch-dev] bridge application : how to retrieve data field
Hi, I develop my own endpoint. I have a question regarding the xml dialplan rule like ( I take openzap for the example) : <action application="bridge" data="openzap/1/1"/> I understand that the first field of data is the mod name. The remaining "1/1" is useful for openzap to select the right channel, Where is 1/1 passed in Freeswitch ? In a callback routine of the mod ? or elsewhere ? Regards, Ludovic
On Tue, Jan 13, 2009 at 11:23 PM, ludovic <ludovic.fouquet@bewan.com> wrote:
Hi,
I develop my own endpoint. I have a question regarding the xml dialplan rule like ( I take openzap for the example) :
<action application="bridge" data="openzap/1/1"/>
I understand that the first field of data is the mod name. The remaining "1/1" is useful for openzap to select the right channel, Where is 1/1 passed in Freeswitch ? In a callback routine of the mod ? or elsewhere ?
See libs/openpzap/mod_openzap/mod_openzap.c, function name 'channel_outgoing_channel' The dialstring gets parsed right around line 922 -MC
Regards,
Ludovic
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
ludovic
-
Michael Collins