<br><font size=2 face="sans-serif">Hi All</font>
<br>
<br><font size=2 face="sans-serif">I have recently downloaded Asterisk
and was so impressed I thought I would setup a home server and I went out
and got myself a couple of cisco 7940's. (and a sipaura 3000!). &nbsp;thanks
to various posts on this list and the voip-info site I have managed to
get chan_sccp setup and working with the 7940's but the I tried to get
the messages, services and softkeys working. It seems this is where some
sort of black magic needs to be used as I cannot find any way of getting
them to work.... which leads me to the main question....</font>
<br>
<br><font size=2 face="sans-serif">Is it better to use chan_sccp or SIP?
I know these phones can work in either mode I was just wandering which
is the better format and which has the most functions implemented?</font>
<br>
<br><font size=2 face="sans-serif">Its a simple home environment that I
am planning but it would be good to be able to use the softkeys to transfer
calls and to pickup messages.</font>
<br>
<br><font size=2 face="sans-serif">Thanks in advance,</font>
<br>
<br><font size=2 face="sans-serif">Sam</font>
<br>
<br><font size=2><tt>Kevin Walsh &lt;kevin@cursor.biz&gt; wrote on 27/08/2004
13:59:09:<br>
<br>
&gt; Michael Manousos [manousos@inaccessnetworks.com] wrote:</tt></font>
<br><font size=2><tt>&gt; &gt; Kevin Walsh wrote:</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; Michael Manousos [manousos@inaccessnetworks.com]
wrote:</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; a) The transmitter detected silence
and sent nothing but the last CN</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; packet was lost. According to
the above interpretations, the receiver</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; will try to conseal a packet loss,
which is wrong.</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; </tt></font>
<br><font size=2><tt>&gt; &gt; &gt; </tt></font>
<br><font size=2><tt>&gt; &gt; &gt; I would propose that after x lost packets,
Asterisk should treat</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; all further lost packets as CN. &nbsp;The
proceeding x packets should be</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; interpreted as RTP packet loss and
run through the concealment routine.</tt></font>
<br><font size=2><tt>&gt; &gt; &gt;</tt></font>
<br><font size=2><tt>&gt; &gt; Well, no matter what kind of concealment
algorithm is used, just the</tt></font>
<br><font size=2><tt>&gt; &gt; first one or two packets will be concealed.
The rest losses will result</tt></font>
<br><font size=2><tt>&gt; &gt; in no-playback. No CN interpretation, just
absolute silence.</tt></font>
<br><font size=2><tt>&gt; &gt; </tt></font>
<br><font size=2><tt>&gt; That's true - unless there's some logic to say
that after x lost</tt></font>
<br><font size=2><tt>&gt; packets, the line state should switch to CN generation
instead of</tt></font>
<br><font size=2><tt>&gt; silence.</tt></font>
<br><font size=2><tt>&gt; <br>
&gt; The line state would switch back once a fresh RTP packet is received.</tt></font>
<br><font size=2><tt>&gt; <br>
&gt; &gt; &gt; &gt;</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; b) The transmitter sent an RTP
packet, that packet was lost and the</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; last packet correctly received
at the receiver was a CN packet. Again,</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; following the above interpretation,
the receiver will do nothing (or</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; more accurate, will play some
background noise), while it should</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; conseal the packet loss. </tt></font>
<br><font size=2><tt>&gt; &gt; &gt; &gt; </tt></font>
<br><font size=2><tt>&gt; &gt; &gt; In this case, there is nothing to conceal
anyway, as the last received</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; data was a CN packet. &nbsp;In this
case, the CN state should be continued</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; until an RTP packet is received and
the line state can be changed.</tt></font>
<br><font size=2><tt>&gt; &gt; &gt;</tt></font>
<br><font size=2><tt>&gt; &gt; Exactly. So the receiver, in case of no-receiption,
should go back and</tt></font>
<br><font size=2><tt>&gt; &gt; see what was the last packet correctly received
and act as I described</tt></font>
<br><font size=2><tt>&gt; &gt; above. </tt></font>
<br><font size=2><tt>&gt; &gt;</tt></font>
<br><font size=2><tt>&gt; Maintaining an audio state flag (CN/RTP) would
be the key here.</tt></font>
<br><font size=2><tt>&gt; <br>
&gt; &gt; &gt; </tt></font>
<br><font size=2><tt>&gt; &gt; &gt; The difficult part to handle would
be late or out-of-sequence RTP</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; packets. &nbsp;These should be ironed
out by the jitter buffer. &nbsp;Late,</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; lost and juggled packets are to be
expected when dealing with UDP.</tt></font>
<br><font size=2><tt>&gt; &gt; &gt; </tt></font>
<br><font size=2><tt>&gt; &gt; Actually this is not so difficult, if there
is a jitter buffer.</tt></font>
<br><font size=2><tt>&gt; &gt;</tt></font>
<br><font size=2><tt>&gt; Right.</tt></font>
<br><font size=2><tt>&gt; <br>
&gt; -- </tt></font>
<br><font size=2><tt>&gt; &nbsp; &nbsp;_/ &nbsp; _/ &nbsp;_/_/_/_/ &nbsp;_/
&nbsp; &nbsp;_/ &nbsp;_/_/_/ &nbsp;_/ &nbsp; &nbsp;_/</tt></font>
<br><font size=2><tt>&gt; &nbsp; _/_/_/ &nbsp; _/_/ &nbsp; &nbsp; &nbsp;_/
&nbsp; &nbsp;_/ &nbsp; &nbsp;_/ &nbsp; &nbsp;_/_/ &nbsp;_/ &nbsp; K e v
i n &nbsp; W a l s h</tt></font>
<br><font size=2><tt>&gt; &nbsp;_/ _/ &nbsp; &nbsp;_/ &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;_/ _/ &nbsp; &nbsp; _/ &nbsp; &nbsp;_/ &nbsp;_/_/ &nbsp; &nbsp;kevin@cursor.biz</tt></font>
<br><font size=2><tt>&gt; _/ &nbsp; _/ &nbsp;_/_/_/_/ &nbsp; &nbsp; &nbsp;_/
&nbsp; &nbsp;_/_/_/ &nbsp;_/ &nbsp; &nbsp;_/</tt></font>
<br><font size=2><tt>&gt; <br>
&gt; _______________________________________________</tt></font>
<br><font size=2><tt>&gt; Asterisk-Users mailing list</tt></font>
<br><font size=2><tt>&gt; Asterisk-Users@lists.digium.com</tt></font>
<br><font size=2><tt>&gt; http://lists.digium.com/mailman/listinfo/asterisk-users</tt></font>
<br><font size=2><tt>&gt; To UNSUBSCRIBE or update options visit:</tt></font>
<br><font size=2><tt>&gt; &nbsp; &nbsp;http://lists.digium.com/mailman/listinfo/asterisk-users</tt></font><font COLOR="#0000ff"><b>
<p>Winckworth Sherwood</b></font> <font FACE="Verdana" SIZE="2">Solicitors and 
Parliamentary Agents 
<br />DX 148400 WESTMINSTER 5 : 35 Great Peter Street, London SW1P 3LR
Telephone 020 7593 5000 Fax 020 7593 5099
</font></p>
<p><b>Confidentiality</b> 
<br />This email message and any attachments are confidential; they may be subject 
to legal professional privilege and are intended for the named recipient only. 
If you are not the named recipient, please return the message and enclosures 
immediately and delete them from your system.</p>
<b>
<p>Caution</b> 
<br />Before advice received only by email (whether by attachment or otherwise) may 
be relied on, the authenticity of the communication must be verified by means 
independent of email.
<b>
<p>Regulation</b>
<br />The firm is regulated by the Law Society. </p>
<p><b>Partners</b> 
<br />A list of partners is available for inspection at each office of the firm and 
on the firm's website at</font>
<a HREF="http://www.winckworths.co.uk">www.winckworths.co.uk</a></p>
</font>