<!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><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></BODY></HTML>