Extract variables from 300 redirect
Hi Guys I am wondering if its possible to extract a custom variable from a 300 Redirect response from a billing system? Effectively I am trying to add a custom variable to the 300 message to give a maximum call length to then use in the dial plan for a Scheduled Hangup. Any pointers of how to do this or the magic words to search confluence/google with? Regards
We don’t currently capture those, but it could be done with code modifications.
On Mar 20, 2018, at 6:22 PM, Joseph Waite <joelists@tm.net.uk> wrote:
Hi Guys
I am wondering if its possible to extract a custom variable from a 300 Redirect response from a billing system?
Effectively I am trying to add a custom variable to the 300 message to give a maximum call length to then use in the dial plan for a Scheduled Hangup.
Any pointers of how to do this or the magic words to search confluence/google with?
Regards
Hi I was wondering if you could add your variable to redirect uri as a parameter then you can catch it in your fs dialplan and with some regex you should be able to clean everything. Srigo On Tue, 20 Mar 2018, 23:50 Joseph Waite, <joelists@tm.net.uk> wrote:
Hi Guys
I am wondering if its possible to extract a custom variable from a 300 Redirect response from a billing system?
Effectively I am trying to add a custom variable to the 300 message to give a maximum call length to then use in the dial plan for a Scheduled Hangup.
Any pointers of how to do this or the magic words to search confluence/google with?
Regards _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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)
-
Joseph Waite
-
Michael Jerris
-
Srigo Kanapathipillai