Author Topic: Read SIP ConnectionID in GVP  (Read 3107 times)

Offline Guna Sekhar

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Read SIP ConnectionID in GVP
« on: April 25, 2016, 03:58:11 PM »
Hi,

Can we read Sip ConnID(AttributeConnID) in GVP??

Scenario:  I am dialling a campaign using Power GVP and when the customer attends a call, prompt will play through VoiceXML and call gets disconnected.
Here I need to read ConnID which is generated by SIP(AttributeConnID)  which cant be send as USER attach data from Campaign end. Also, there is no System variable to get ConnID in Composer.

Please help me on this.


Any help would be appreciated.


« Last Edit: April 25, 2016, 04:02:11 PM by Guna Sekhar »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7640
  • Karma: 56330
Re: Read SIP ConnectionID in GVP
« Reply #1 on: April 25, 2016, 05:02:37 PM »
ConnID is already a variable ready to use when you create your Composer Project...don't understand your question exactly. Is the same as ANI or DNIS for example.

Offline Guna Sekhar

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Read SIP ConnectionID in GVP
« Reply #2 on: April 26, 2016, 06:47:36 AM »


Yes it is same like ANI,DNIS...But in composer there is no system variable for ConnID and we have CallUUID and GVPSessionID. Connection will be generated by SIP server and I need to get that ConnID to log into DB and it is an Outbound scenario. This ConnID is not coming as user data from campaign,thats y am facing his problem.
Is it possible to read AttributeConnID through GVP? If yes, How it can be done?

AttributeDNIS '30903535'
AttributeCallUUID '83ICRMJSSD1HL56N28R29PGA38000007'
[b][color=red]AttributeConnID 006a02813f293007[/color][/b]

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Read SIP ConnectionID in GVP
« Reply #3 on: April 26, 2016, 08:38:47 AM »
I think you should store the connectionID to the userdata and then you will be able to read it through the SIP headers. Of course, you have to allow passing this data through the VoIP service object (userdata-map-filter option).