Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] obtain dialplan content from switch_extension_t


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
markmorreny at gmail.com
Guest





PostPosted: Sat Aug 15, 2009 10:46 pm    Post subject: [Freeswitch-users] obtain dialplan content from switch_exten Reply with quote

Hi,
 
After I do some operation on switch_extension_t, basically adding some actions into it, I would like to display its content in the form of:
 
<extension name="xxx">
   <condition>
   <action>xxxx</action>
 </condition>
 
</extension>
 
Is that doable?  If so,  is there any existing functional call that I can use?
 
Thanks,
Mark
Back to top
mrene_lists at avgs.ca
Guest





PostPosted: Sat Aug 15, 2009 10:53 pm    Post subject: [Freeswitch-users] obtain dialplan content from switch_exten Reply with quote

Hi,

caller_extension->applications is a linked list so you can loop
through it and print the app name & params, but the structure doesn't
contain any information about the conditions that were matched as this
is a mod_xml_dialplan feature.

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene@avgs.ca




On 15-Aug-09, at 11:44 PM, mark morreny wrote:

Quote:
Hi,

After I do some operation on switch_extension_t, basically adding
some actions into it, I would like to display its content in the
form of:

<extension name="xxx">
<condition>
<action>xxxx</action>
</condition>

</extension>

Is that doable? If so, is there any existing functional call that
I can use?

Thanks,
Mark
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services