balefireeyed
Member
- Joined
- Sep 5, 2013
- Messages
- 53
- Reaction score
- 3
I'm trying to follow a tutorial on "How to setup Agent Status on Polycom Idle Display". The location of the tutorial is:
http://www.savelono.com/scripts/asterisk-how-to-setup-agent-status-on-polycom-idle-display.html
and I wasn't able to find anything in the piaf forums on this type of setup.
The above tutorial is setup on fedora 10, I'm assuming without freepbx. Can anyone help me get this working on PIAF?
Here's my environment:
│
┌───────────────────SYSTEM INFORMATION *VERIFIED*─────────────────────┐
│ Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE │
│ SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE │
│ Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = OFFLINE │
│ Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE │
│ SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE │
│ Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A │
│ │
│ PIAF Installed Version = 2.0.6.4 under *HARDWARE* │
│ FreePBX Version = 2.10.0.2 │
│ Running Asterisk Version = 1.8.23.0 │
│ Asterisk Source Version = 1.8.23.0 │
│ Dahdi Source Version = 2.7.0 │
│ Libpri Source Version = 1.4.12 │
│ IP Address = 10.0.0.250 on eth0 │
│ Operating System = CentOS release 6.4 (Final) │
│ Kernel Version = 2.6.32-358.6.2.el6.i686 - 32 Bit
The bash scripts aren't creating the XHTML in html\polycom; I manually created the directory in html: drwxr-xr-x 2 apache apache 4096 Feb 20 12:04 polycom
Also pertinent, I placed the scripts in /etc/asterisk/bin/, not sure if that is the correct location for Asterisk 1.8.
Finally, probably the major problem I'm facing is in the dialplan; instead of placing the context in extensions.conf as the tutorial does, I placed it in the bottom of extensions_additional.conf, but I'm not good at working with custom contexts, so I doubt it's working:
If I dial 2078 or 3078, nothing happens. As I mentioned, I have little experience with dialplans and only a few times have I gotten them to work properly.
Thanks so much!
http://www.savelono.com/scripts/asterisk-how-to-setup-agent-status-on-polycom-idle-display.html
and I wasn't able to find anything in the piaf forums on this type of setup.
The above tutorial is setup on fedora 10, I'm assuming without freepbx. Can anyone help me get this working on PIAF?
Here's my environment:
│
┌───────────────────SYSTEM INFORMATION *VERIFIED*─────────────────────┐
│ Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE │
│ SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE │
│ Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = OFFLINE │
│ Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE │
│ SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE │
│ Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A │
│ │
│ PIAF Installed Version = 2.0.6.4 under *HARDWARE* │
│ FreePBX Version = 2.10.0.2 │
│ Running Asterisk Version = 1.8.23.0 │
│ Asterisk Source Version = 1.8.23.0 │
│ Dahdi Source Version = 2.7.0 │
│ Libpri Source Version = 1.4.12 │
│ IP Address = 10.0.0.250 on eth0 │
│ Operating System = CentOS release 6.4 (Final) │
│ Kernel Version = 2.6.32-358.6.2.el6.i686 - 32 Bit
The bash scripts aren't creating the XHTML in html\polycom; I manually created the directory in html: drwxr-xr-x 2 apache apache 4096 Feb 20 12:04 polycom
Also pertinent, I placed the scripts in /etc/asterisk/bin/, not sure if that is the correct location for Asterisk 1.8.
Finally, probably the major problem I'm facing is in the dialplan; instead of placing the context in extensions.conf as the tutorial does, I placed it in the bottom of extensions_additional.conf, but I'm not good at working with custom contexts, so I doubt it's working:
Code:
[utilities]
exten => 2078,1,Answer
exten => 2078,n,authenticate(888)
exten => 2078,n,AddQueueMember(sales,SIP/${CALLERID(num)},1,)
exten => 2078,n,Playback(agent-loginok)
exten => 2078,n,system(/etc/asterisk/bin/agent-status.sh ${CALLERID(num)})
exten => 2078,n,Hangup
exten => 3078,1,Answer
exten => 3078,n,authenticate(888)
exten => 3078,n,RemoveQueueMember(sales,SIP/${CALLERID(num)},1,)
exten => 3078,n,Playback(agent-loggedoff)
exten => 3078,n,system(/etc/asterisk/bin/agent-status-logoff.sh ${CALLERID(num)})
exten => 3078,n,Hangup
If I dial 2078 or 3078, nothing happens. As I mentioned, I have little experience with dialplans and only a few times have I gotten them to work properly.
Thanks so much!