<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=660553903-10032006><FONT face=Arial color=#0000ff size=2>Any
alpha characters can be sent to the display but no graphics or animations or
anything like that. It's fine for displaying a simple line of unformatted
text but that's about all. I'm playing with the XMLObjects feature of
Firmware 5.X on the 360 which shows promise for displaying more complex stuff.
There's a big screen on the 360 but not much use for it unless you have 5.X
firmware + XMLObjects. </FONT></SPAN></DIV>
<DIV><SPAN class=660553903-10032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=660553903-10032006><FONT face=Arial color=#0000ff
size=2>Something like this would probably work:</FONT></SPAN></DIV>
<DIV><SPAN class=660553903-10032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=660553903-10032006><FONT face=Arial color=#0000ff size=2>exten
=> s,1,DBGet(CURRENTBALANCE=balances/user1234)</FONT></SPAN></DIV>
<DIV><SPAN class=660553903-10032006><FONT face=Arial color=#0000ff size=2>exten
=> s,2,System(sipsak -M -O desktop -B "Balance is: ${CURRENTBALANCE}" -s
sip:${EXTEN}@192.168.1.20 -H 192.168.1.20)</FONT></SPAN></DIV>
<DIV><SPAN class=660553903-10032006></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Dofear
[mailto:dofear@kaiets.com]<BR><B>Sent:</B> Thursday, March 09, 2006 8:38
PM<BR><B>To:</B> 'Asterisk Users Mailing List - Non-Commercial
Discussion'<BR><B>Subject:</B> RE: [Asterisk-Users] OT: Snom 320, displaying
text on the screen from *<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=328533603-10032006><FONT face=Arial
color=#0000ff size=2>Can this feature be used to display total balance left
(for a phone) on the display of the phone?</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Colin
Anderson<BR><B>Sent:</B> Friday, March 10, 2006 2:33 PM<BR><B>To:</B>
'Asterisk Users Mailing List - Non-Commercial Discussion'<BR><B>Subject:</B>
RE: [Asterisk-Users] OT: Snom 320, displaying text on the screen from
*<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=769042403-10032006>try
"sipsak -M -O desktop -B "foo" -s sip:<user>@<registrar> -H <ip
of registrar>"</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=769042403-10032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=769042403-10032006>the
trick is to specify the "-O desktop" parameter + the "-H <ip of
registrar>" parameter. Sipsak fakes the host-header of the registrar so
that the Snom thinks it is coming from your Asterisk server, then lets the
message through to the "desktop" (the display of the
phone)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=769042403-10032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=769042403-10032006>I
wasn't kidding about obscure syntax, sipsak is a PITA</SPAN></FONT></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Sean Kennedy
[mailto:skennedy@qualitydentists.com]<BR><B>Sent:</B> Thursday, March 09,
2006 5:01 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial
Discussion<BR><B>Subject:</B> Re: [Asterisk-Users] OT: Snom 320, displaying
text on the screen from *<BR><BR></FONT></DIV>I have that set, but for some
reason I get errors when I try sipsak, and nothing comes through to the
phone:<BR><BR>
<BLOCKQUOTE><TT>sipsak -M -B "test" -s <A class=moz-txt-link-freetext
href="sip:44@192.168.1.67">sip:44@192.168.1.67</A><BR>timeout after
500ms<BR>timeout after 500ms...</TT></BLOCKQUOTE><BR>Some debugging
info:<BR>
<BLOCKQUOTE><TT>[root@firewall root]# sipsak -vvv -M -B "test" -s <A
class=moz-txt-link-freetext
href="sip:44@192.168.1.67">sip:44@192.168.1.67</A><BR>warning: ignoring -i
option when in usrloc mode<BR>fqdnhostname: 192.168.1.1<BR>our Via-Line:
Via: SIP/2.0/UDP
192.168.1.1:34213;branch=z9hG4bK.105fb86e;rport;alias<BR><BR>New message
with Via-Line:<BR>MESSAGE <A class=moz-txt-link-freetext
href="sip:44@192.168.1.67">sip:44@192.168.1.67</A> SIP/2.0<BR>Via:
SIP/2.0/UDP 192.168.1.1:34213;branch=z9hG4bK.105fb86e;rport;alias<BR>To:
<A class=moz-txt-link-freetext
href="sip:44@192.168.1.67">sip:44@192.168.1.67</A><BR>Call-ID: <A
class=moz-txt-link-abbreviated
href="mailto:2089538687@192.168.1.1">2089538687@192.168.1.1</A><BR>CSeq: 1
MESSAGE<BR>Content-Type: text/plain<BR>Max-Forwards: 70<BR>User-Agent:
sipsak 0.9.5<BR>From: <A class=moz-txt-link-freetext
href="sip:sipsak@192.168.1.1:34213;tag=7c8bd47f">sip:sipsak@192.168.1.1:34213;tag=7c8bd47f</A><BR>Content-Length:
4<BR><BR>test<BR>sending message ...<BR><BR>request:<BR>MESSAGE <A
class=moz-txt-link-freetext
href="sip:44@192.168.1.67">sip:44@192.168.1.67</A> SIP/2.0<BR>Via:
SIP/2.0/UDP 192.168.1.1:34213;branch=z9hG4bK.105fb86e;rport;alias<BR>To:
<A class=moz-txt-link-freetext
href="sip:44@192.168.1.67">sip:44@192.168.1.67</A><BR>Call-ID: <A
class=moz-txt-link-abbreviated
href="mailto:2089538687@192.168.1.1">2089538687@192.168.1.1</A><BR>CSeq: 1
MESSAGE<BR>Content-Type: text/plain<BR>Max-Forwards: 70<BR>User-Agent:
sipsak 0.9.5<BR>From: <A class=moz-txt-link-freetext
href="sip:sipsak@192.168.1.1:34213;tag=7c8bd47f">sip:sipsak@192.168.1.1:34213;tag=7c8bd47f</A><BR>Content-Length:
4<BR><BR>test<BR>send to: UDP:192.168.1.67:5060<BR>:<BR>ignoring MESSAGE
retransmission<BR>timeout after 500 ms</TT></BLOCKQUOTE><BR>So I am at a bit
of a loss. <BR><BR>Thanks for your help though, I apprecaite it.
:)<BR><BR><B>Colin Anderson wrote:</B><BR>
<BLOCKQUOTE><TT><B>Trick with Sipsak is you have to change the network
port to 5060 or sipsak</B><BR><B>messages never hit the right port. In the
web interface, Advaced > Avanced</B><BR><B>Network > Network
identity (port): change that to 5060 and you should be</B><BR><B>good
assuming you can figure out sipsak's nasty syntax. hth.
</B></TT></BLOCKQUOTE><PRE wrap=""></PRE><BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>