Franklin Webb
2005-Oct-12 11:20 UTC
[Asterisk-Users] displaying a message on the Snom 320 using sipsak
Greetings fellow list members, It seems like a lot of people have been having trouble getting indicators working on the Snom phones, myself included. Recently I was able to get the "desktop" functionality of sipsak to work on my Snom320, and I thought I would share what I could with the list. For those not familiar this will replace the standard display when you are not on a call (normally showing the registered extension) with a text message of your choosing. Our intent is to update this when our agents log into, and out of, queues. This will give a visual indicator for agents and supervisors in our call center as to whether or not the phone is logged in, which is a large concern for us, and probably any call center. For the record I tried this with a Snom360 also and could not get it working. 1. Setup the phone in Asterisk as normal 2. Get and install sipsak. It can be found at http://sipsak.org/ <http://sipsak.org/> (can be on any machine on your network, we used a Fedora Core 3 machine for this). 3. In the Snom320 Configuration, under the "SIP" tab of your extensions line (Line 1 for me) make sure "Support Broken Registrar" is set to "on" 4. In the Snom320 Configuration, under "Advanced" make sure "Filter Packets from Registrar" is set to "off" 5. In the Snom320 Configuration, under "Advanced" under "Network identity (port):" set it to "5060" (you might be able to use a different port in here and in the sipsak command, but this is what worked for me. 6. Reboot the phone (just to be sure the settings take) Then use the following sipsak command: sipsak -vvv -M -O desktop -B "Test Msg" -r 5060 -s sip:6670@192.168.51.251 where: "Test Msg" is the message you want displayed. To turn the message off just set it to empty string (""). 5060 is the port, you could try another port here if you set your phone to another port under "Advanced" 6670 is the extension of the phone 192.168.51.251 is the IP of the PHONE, not the Asterisk server. It does not appear that you can use the IP of the Asterisk server. You can get a list of phones with IPs using the Asterisk command "sip show peers". Our intent is to build a simple database matching extension to IP and then execute sipsak commands from a script, probably in the manager API, when agents log in and out that will update the phone display accordingly. I hope this is helpful to some of you. Franklin Webb InterMedia Marketing Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051012/85dd4e0e/attachment.htm
Sven Fischer (support)
2005-Oct-12 23:17 UTC
[Asterisk-Users] displaying a message on the Snom 320 using sipsak
Hi, for the snom360 it is working the same way. Use firmware version 4.3 and be aware that the message is send to a specific SIP line and the phone is displaying it only if this SIP line is the current active line (outgoing identity) symbolised by a black phone (snom360) or the text in brackets (snom320). Regards, Sven Fischer On Wednesday 12 October 2005 20:20, Franklin Webb wrote:> Greetings fellow list members, > It seems like a lot of people have been having trouble getting > indicators working on the Snom phones, myself included. Recently I was > able to get the "desktop" functionality of sipsak to work on my Snom320, > and I thought I would share what I could with the list. For those not > familiar this will replace the standard display when you are not on a > call (normally showing the registered extension) with a text message of > your choosing. Our intent is to update this when our agents log into, > and out of, queues. This will give a visual indicator for agents and > supervisors in our call center as to whether or not the phone is logged > in, which is a large concern for us, and probably any call center. > > For the record I tried this with a Snom360 also and could not get it > working. > > 1. Setup the phone in Asterisk as normal > 2. Get and install sipsak. It can be found at http://sipsak.org/ > <http://sipsak.org/> (can be on any machine on your network, we used a > Fedora Core 3 machine for this). > 3. In the Snom320 Configuration, under the "SIP" tab of your extensions > line (Line 1 for me) make sure "Support Broken Registrar" is set to "on" > 4. In the Snom320 Configuration, under "Advanced" make sure "Filter > Packets from Registrar" is set to "off" > 5. In the Snom320 Configuration, under "Advanced" under "Network > identity (port):" set it to "5060" (you might be able to use a different > port in here and in the sipsak command, but this is what worked for me. > 6. Reboot the phone (just to be sure the settings take) > > Then use the following sipsak command: > > sipsak -vvv -M -O desktop -B "Test Msg" -r 5060 -s > sip:6670@192.168.51.251 > > where: > "Test Msg" is the message you want displayed. To turn the message > off just set it to empty string (""). > 5060 is the port, you could try another port here if you set your > phone to another port under "Advanced" > 6670 is the extension of the phone > 192.168.51.251 is the IP of the PHONE, not the Asterisk server. It > does not appear that you can use the IP of the Asterisk server. > > You can get a list of phones with IPs using the Asterisk command "sip > show peers". Our intent is to build a simple database matching > extension to IP and then execute sipsak commands from a script, probably > in the manager API, when agents log in and out that will update the > phone display accordingly. > > I hope this is helpful to some of you. > > Franklin Webb > InterMedia Marketing Solutions-- ----------------------------------------------------------------------- See our FAQs at: http://www.snom.com/faq0.html?&L=1 Whitepapers at: http://www.snom.com/white_papers.html ----------------------------------------------------------------------- snom technology AG Gradestra?e 46 D-12347 Berlin Sven Fischer fax +49 30 39833111 mailto:support@snom.de http://www.snom.com -----------------------------------------------------------------------