Dear Folks,<div><br></div><div>I'm running Asterisk 1.4.31 server, on an Ubuntu 9.10 system. My scenario is simple: connection to the PSTN directly via SIP, using g729 codec, and connection to the softphones (X-lite 3.0 build 56125) trought local network, using ulaw codec.</div>
<div><br></div><div>Sometimes, I got messages like:</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[Jul 1 15:26:16] WARNING[26483]: chan_sip.c:5514 process_sdp: Unsupported SDP media type in offer: image 65344 udptl t38</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">And then a lot of messages like:</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
<br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[Jul 1 15:27:00] WARNING[26549]: translate.c:274 ast_translator_build_path: No translator path from alaw to unknown</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">That's stopping the phone system. When I got the messages, I can't make or receive calls. Then, a few minutes later (or when I stop and start asterisk), the phone system back to work again. </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Some confs and system status:</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
<br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">sip.conf:</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
<br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[1050] ; THAT'S A SOFTPHONE</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">type=friend</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
host=dynamic</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">callerid=Softphone 1050</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">secret=xxxx</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
context=call-center</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">disallow=all</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">allow=alaw</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
allow=ulaw</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">dtmfmode=rfc2833</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">canreinvite=yes</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
nat=no</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">qualify=yes</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">call-limit=1</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
allowtransfer=yes</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">insecure=no</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">promiscredir=no</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
useclientcode=no</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">videosupport=no</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
[7600] ; THAT'S PSTN CONNECTION</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">username=7600</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">type=friend</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
secret=xxxx</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">qualify=no</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">port=5060</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
nat=yes</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">mailbox=7600@default</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">host=dynamic</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
dtmfmode=rfc2833</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">context=out</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">canreinvite=no</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
callerid=7600</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">disallow=all</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">allow=g729</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
<br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">[sipgvt] ; THAT'S PSTN CONNECTION</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">username=1121317600</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
type=peer</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">secret=xxxx</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">port=5060</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
insecure=very</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">host=<a href="http://gvt.com.br">gvt.com.br</a></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">fromuser=1121317600</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">fromdomain=<a href="http://gvt.com.br">gvt.com.br</a></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">dtmfmode=rfc2833</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
context=in</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">disallow=all</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">allow=g729</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
<br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">neuwald01*CLI> g729 show licenses</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">
3/8 encoders/decoders of 30 licensed channels are currently in use</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">Licenses Found:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">File: G729-xxxxx.lic -- Key: G729-xxxx -- Host-ID: xxxxx -- Channels: 30 (Expires: 2030-06-07) (OK)</p><div><br></div><div><div>neuwald01*CLI> core show codecs</div>
<div>Disclaimer: this command is for informational purposes only.</div><div> It does not indicate anything about your configuration.</div><div> INT BINARY HEX TYPE NAME DESC</div><div>--------------------------------------------------------------------------------</div>
<div> 1 (1 << 0) (0x1) audio g723 (G.723.1)</div><div> 2 (1 << 1) (0x2) audio gsm (GSM)</div><div> 4 (1 << 2) (0x4) audio ulaw (G.711 u-law)</div>
<div> 8 (1 << 3) (0x8) audio alaw (G.711 A-law)</div><div> 16 (1 << 4) (0x10) audio g726aal2 (G.726 AAL2)</div><div> 32 (1 << 5) (0x20) audio adpcm (ADPCM)</div>
<div> 64 (1 << 6) (0x40) audio slin (16 bit Signed Linear PCM)</div><div> 128 (1 << 7) (0x80) audio lpc10 (LPC10)</div><div> 256 (1 << 8) (0x100) audio g729 (G.729A)</div>
<div> 512 (1 << 9) (0x200) audio speex (SpeeX)</div><div> 1024 (1 << 10) (0x400) audio ilbc (iLBC)</div><div> 2048 (1 << 11) (0x800) audio g726 (G.726 RFC3551)</div>
<div> 4096 (1 << 12) (0x1000) audio g722 (G722)</div><div> 65536 (1 << 16) (0x10000) image jpeg (JPEG image)</div><div> 131072 (1 << 17) (0x20000) image png (PNG image)</div>
<div> 262144 (1 << 18) (0x40000) video h261 (H.261 Video)</div><div> 524288 (1 << 19) (0x80000) video h263 (H.263 Video)</div><div> 1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)</div>
<div> 2097152 (1 << 21) (0x200000) video h264 (H.264 Video)</div><div>neuwald01*CLI> core show translation</div><div> Translation times between formats (in milliseconds) for one second of data</div>
<div> Source Format (Rows) Destination Format (Columns)</div><div><br></div><div> g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722</div><div> g723 - - - - - - - - - - - - -</div>
<div> gsm - - 2 2 2 2 1 3 7 - - 2 -</div><div> ulaw - 2 - 1 2 2 1 3 7 - - 2 -</div><div> alaw - 2 1 - 2 2 1 3 7 - - 2 -</div>
<div> g726aal2 - 2 2 2 - 2 1 3 7 - - 2 -</div><div> adpcm - 2 2 2 2 - 1 3 7 - - 2 -</div><div> slin - 1 1 1 1 1 - 2 6 - - 1 -</div>
<div> lpc10 - 2 2 2 2 2 1 - 7 - - 2 -</div><div> g729 - 2 2 2 2 2 1 3 - - - 2 -</div><div> speex - - - - - - - - - - - - -</div>
<div> ilbc - - - - - - - - - - - - -</div><div> g726 - 2 2 2 2 2 1 3 7 - - - -</div><div> g722 - - - - - - - - - - - - -</div>
</div><div><br></div><div>Any idea?</div><div><br></div><div>Thanks,</div><div><br></div><div>Felipe Neuwald.</div><p></p><p></p><p></p></div>