::SOLVED:: get channel name :::SOlVED::

All installation and configuration problems and questions

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

::SOLVED:: get channel name :::SOlVED::

Postby ambiorixg12 » Fri Aug 19, 2016 11:45 pm

I know we can pass vicidial variables to an external web form, it is posible to pass the channel name also example (SIP/104-0000050d) , if extra coding it is required I will appreciate any comment
Last edited by ambiorixg12 on Fri Sep 09, 2016 7:29 pm, edited 1 time in total.
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: get channel name

Postby williamconley » Mon Sep 05, 2016 3:45 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) If that field is not available in the list of fields (most easily found by using the script editor, since it has a nice dropdown for the fields), then you would need to create a php page with DB access to the asterisk database to get this value. Obviously extra work, but not much.

4) I've often found that a short description of what you intend to use this information for can help someone find a whole different way to accomplish your task (perhaps even one with no coding). 8-)
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: get channel name

Postby ambiorixg12 » Thu Sep 08, 2016 7:50 pm

I just finished to develop a soundboard or AVATAR this is using pre-recorded messages to pitch to customers by clicking a button.channel name is needed to play the sound file using chanspy. Anyway I managed to complete this task using Asterisk AMI and chanspy. vicidial has a table called live_sip_channel, this table save the channel's name for active sip sessions, with some extra php coding, I managed to pass this info to my avatar web aplication. Thanks for your assistance
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 76 guests