[Asterisk-Users] displaying a message on the Snom 320 using sipsak

Franklin Webb fwebb at imminc.com
Wed Oct 12 11:20:30 MST 2005


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 at 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


More information about the asterisk-users mailing list