On Wed, Feb 3, 2016 at 2:11 PM, vfclists . <vfclists@gmail.com> wrote:_________________________________________________________________________eg if the gateway's CLI is 2340 and the extension of the caller is 1001, corresponding to the UserId on a sipura, I want the CLI passed to the service provider to be 23401001. When I check the XML cdr in Freeswitch I see an XML value which in XPath would be accessed as /callflow/caller_profile/caller_id_number. All the information is therefore passed onto Freeswitch for use in the call, and what I need is to be able to access it and change the effective_caller_id_number before bridging the call.This is what I am trying to achieve. The CDR from a service provider contains the CLI from a gateway on the customers premises, but it doesn't show which extension on the customer's premises the call came from. What I need is to be able to obtain the extension of the sip device and combine that with the customer gateway's CLI so that it shows in the CDR record.What is the syntax for accessing caller profile fields in the dialplan, for instance if you want to set a channel variable to a caller profile field?Is there also a way of performing some string manipulation and extraction on the variables in the XML dialplan?
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--Ítalo Rossi
_________________________________________________________________________
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