Jump to content

Set Custom Caller ID using Pivot


abuzooz

Recommended Posts

Hi All

I am using Pivot in my offnet callflow to pass custom SIP header variables, everything works just fine so far, however, I am trying to override user caller_id using Pivot, is there a specific way to do it? sample syntax or so?

Your help is really appreciated

Link to comment
Share on other sites

So this is how my Pivot looks like, I want to change it to override caller_id number with value '+115500000' for example:

 "{\"module\":\"set_variables\", \"data\":{\"custom_application_vars\":{\"XD\":\"$xdf\",\"XD-EXTENSION\":\"$xdf_extension\",\"XD_CALLER_ID\":\"$caller_id\"}},
 \"children\":{\"_\":{\"module\":\"resources\", 
 \"data\":{
   \"use_local_resources\":false,
      \"custom_sip_headers\":{
                \"user_caller_id_number\":\"{caller_id_number}\",
                \"user_caller_id_name\":\"{caller_id_name}\",
                \"X-account-id\":\"{account_id}\",
                \"X-Member\":\"{caller_id_name}\",
                \"X-XD\":\"$xdf\",
                \"X-XD_EXTENSION\":\"$xdf_extension\",
                \"X-XD_CALLER_ID\":\"$caller_id\"
   
}}}}}"

Any ideas?

Edited by abuzooz (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...