[Freeswitch-users] Best way to pass CRM data from FSClient into Freeswitch?

Mitch Capper mitch.capper at gmail.com
Tue Oct 23 18:40:01 MSD 2012


you can add variables however variables by default are not transmitted
to the server. You would want to add sip headers most likely
(variable_sip_h_x) which then would be (I believe).

~mitch

On Tue, Oct 23, 2012 at 6:45 AM,  <roland at callrica.co.za> wrote:
> Further to my email, I've been stepping thru the FSClient code, and I see
> all calls are made using this syntax:
>
> {origination_caller_id_name='MyCallerIDName',origination_caller_id_number='M
> yCallerIDNumber'}sofia/gateway/1/5000
>
> Can I add my own variables e.g.
>
> {origination_caller_id_name='MyCallerIDName',origination_caller_id_number='M
> yCallerIDNumber', crm_accountid='1234',
> crm_contactname='johnsmith'}sofia/gateway/1/5000
>
> And use the FS server dialplan to extract them into variables I can use in
> CDR and Voice recording?
>
>
>
>
>
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> roland at callrica.co.za
> Sent: 18 October 2012 02:22 PM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] Best way to pass CRM data from FSClient into
> Freeswitch?
>
> Hi Freeswitch Team,
>
> I'm looking for advice on how to pass CRM related information from a
> FSClient to a Freeswitch server and use that data to customise the voice
> recording file name and CDR
>
> The use case is like this:
>
> 1. User starts softphone and dials a contact from his contact list e.g. John
> Smith
>
> 2. Softphone passes CRM Data e.g. "John Smith" with call into Freeswitch
>
> 3. Freeswitch switches the call and records the conversation
>
> 4. Freeswitch labels the recording filename as "John Smith_SomeDateTime.wav"
>
> 5. Freeswitch tags the CDR with "John Smith" and call duration, start time
> etc...
>
> I would like all the voice recordings and CDRs to be stored on the FS
> Server.
>
> Is it possible for the FSClient to embed the CRM data in the SIP message,
> and the FS server extract it into variables for use in the dial plan?
>
> Very new to all this, so any pointers would be much appreciated.
>
> Rgds
>
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list