Call-ID From Dispo Call URL

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Call-ID From Dispo Call URL

Postby tails84 » Wed Jan 15, 2020 5:54 pm

Hi, we are running
VERSION: 2.14-721a
BUILD: 191015-1620

I was wondering if it is possible to gather the Call-ID with Dispo call url, we need to send it to another softwares API, along with number called and extension number.

Thanks in advance, please let me know if you need more information.
OS: VICIBox 9.0.1 OpenSuse 15.1 | VERSION: 2.14-742a BUILD: 200327-1715 | Asterisk: 13.21.1-vici | SVN: 3205 DB Schema: 1588
Linux: 4.12.14-lp151.28.44-default | MYSQL: Ver 15.1 Distrib 10.2.31-MariaDB | Perl: v5.26.1 | php: v7.2.5
tails84
 
Posts: 12
Joined: Tue Jun 04, 2019 12:40 am

Re: Call-ID From Dispo Call URL

Postby williamconley » Wed Jan 15, 2020 6:05 pm

Have you tried --A--call_id--B-- ?

Of course, it's also in the call log, but that would require some fancy php footwork and / or a bounce.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Call-ID From Dispo Call URL

Postby tails84 » Wed Jan 15, 2020 7:11 pm

I have not, but i will have a go now!
OS: VICIBox 9.0.1 OpenSuse 15.1 | VERSION: 2.14-742a BUILD: 200327-1715 | Asterisk: 13.21.1-vici | SVN: 3205 DB Schema: 1588
Linux: 4.12.14-lp151.28.44-default | MYSQL: Ver 15.1 Distrib 10.2.31-MariaDB | Perl: v5.26.1 | php: v7.2.5
tails84
 
Posts: 12
Joined: Tue Jun 04, 2019 12:40 am

Re: Call-ID From Dispo Call URL

Postby williamconley » Wed Jan 15, 2020 9:33 pm

the options for the URL are in the easy-to-use script editor dropdown which allows dropping values into a script. Except for dispo (which is never available during a script, of course). Many of the URL's share the same coding, and the script editor is a simple interface to get those values.

If the call_id turns out to be something other than the CID#, you can re-check the dropdown which would apply to your specific version of Vicidial to see if your version has a caller id value.

Otherwise, there would need to be a quick stop at a different page (easily written in php) before bouncing to your final destination after grabbing the caller id value on the way.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Call-ID From Dispo Call URL

Postby tails84 » Thu Jan 16, 2020 12:21 am

ahh, yes, thats the Caller ID. I was after the Call-ID,

like this

Call-ID: 4a1de623506697832e51c0c55015e98f@serverdomain/ip:port

Reasoning for this is we are using it as a unique identifier to change information in another system. Other system pulls that Call_ID from tcp dump.
OS: VICIBox 9.0.1 OpenSuse 15.1 | VERSION: 2.14-742a BUILD: 200327-1715 | Asterisk: 13.21.1-vici | SVN: 3205 DB Schema: 1588
Linux: 4.12.14-lp151.28.44-default | MYSQL: Ver 15.1 Distrib 10.2.31-MariaDB | Perl: v5.26.1 | php: v7.2.5
tails84
 
Posts: 12
Joined: Tue Jun 04, 2019 12:40 am

Re: Call-ID From Dispo Call URL

Postby mflorell » Thu Jan 16, 2020 8:47 am

That data is not currently available as a variable, and it's not something that we have collected normally, although it might be available in the Vicidial database as a part of the enhanced SIP logging we've added in the last year on newer Asterisk 13 systems, so it should be possible to access that information at some point to be able to add this as a feature some time in the future.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 86 guests