[Freeswitch-dev] bridge application : how to retrieve data field
Michael Collins
msc at freeswitch.org
Thu Jan 15 09:18:18 PST 2009
On Tue, Jan 13, 2009 at 11:23 PM, ludovic <ludovic.fouquet at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
More information about the Freeswitch-dev
mailing list