xml_curl result not found
I'm using xml_curl to generate a dialplan and send back result status="not found" if something throws an error. I don't want it to fail back to the in-memory dialplan if there is an error. Is there a way to do this? thanks jeff
Why send a not found? Send a hangup with a failure reason, and that will be the end of processing. -Avi On Sat, Dec 8, 2012 at 7:32 PM, Jeff Geddes <geddes.jeffrey@gmail.com>wrote:
I'm using xml_curl to generate a dialplan and send back result status="not found" if something throws an error. I don't want it to fail back to the in-memory dialplan if there is an error. Is there a way to do this?
thanks jeff
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Exclude any dialplan sections from your config, and thus it won't have anything to fall back onto. However, if any other modules are configured to look for configs (??) then you may need to use the approach Avi mentioned, i.e. sending back a hangup with failure reason. Cal On Sat, Dec 8, 2012 at 5:32 PM, Jeff Geddes <geddes.jeffrey@gmail.com>wrote:
I'm using xml_curl to generate a dialplan and send back result status="not found" if something throws an error. I don't want it to fail back to the in-memory dialplan if there is an error. Is there a way to do this?
thanks jeff
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (3)
-
Avi Marcus
-
Cal Leeming [Simplicity Media Ltd]
-
Jeff Geddes