[asterisk-users] Problems with ulaw/g729 translation

Felipe Neuwald felipe at neuwald.biz
Mon Jul 5 09:57:41 CDT 2010


Dear Folks,

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.

Sometimes, I got messages like:

[Jul  1 15:26:16] WARNING[26483]: chan_sip.c:5514 process_sdp: Unsupported
SDP media type in offer: image 65344 udptl t38


And then a lot of messages like:


[Jul  1 15:27:00] WARNING[26549]: translate.c:274 ast_translator_build_path:
No translator path from alaw to unknown


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.


Some confs and system status:


sip.conf:


[1050] ; THAT'S A SOFTPHONE

type=friend

host=dynamic

callerid=Softphone 1050

secret=xxxx

context=call-center

disallow=all

allow=alaw

allow=ulaw

dtmfmode=rfc2833

canreinvite=yes

nat=no

qualify=yes

call-limit=1

allowtransfer=yes

insecure=no

promiscredir=no

useclientcode=no

videosupport=no


[7600] ; THAT'S PSTN CONNECTION

username=7600

type=friend

secret=xxxx

qualify=no

port=5060

nat=yes

mailbox=7600 at default

host=dynamic

dtmfmode=rfc2833

context=out

canreinvite=no

callerid=7600

disallow=all

allow=g729


[sipgvt] ; THAT'S PSTN CONNECTION

username=1121317600

type=peer

secret=xxxx

port=5060

insecure=very

host=gvt.com.br

fromuser=1121317600

fromdomain=gvt.com.br

dtmfmode=rfc2833

context=in

disallow=all

allow=g729


neuwald01*CLI> g729 show licenses

3/8 encoders/decoders of 30 licensed channels are currently in use


Licenses Found:

File: G729-xxxxx.lic -- Key: G729-xxxx -- Host-ID: xxxxx -- Channels: 30
(Expires: 2030-06-07) (OK)

neuwald01*CLI> core show codecs
Disclaimer: this command is for informational purposes only.
        It does not indicate anything about your configuration.
        INT    BINARY        HEX   TYPE       NAME   DESC
--------------------------------------------------------------------------------
          1 (1 <<  0)      (0x1)  audio       g723   (G.723.1)
          2 (1 <<  1)      (0x2)  audio        gsm   (GSM)
          4 (1 <<  2)      (0x4)  audio       ulaw   (G.711 u-law)
          8 (1 <<  3)      (0x8)  audio       alaw   (G.711 A-law)
         16 (1 <<  4)     (0x10)  audio   g726aal2   (G.726 AAL2)
         32 (1 <<  5)     (0x20)  audio      adpcm   (ADPCM)
         64 (1 <<  6)     (0x40)  audio       slin   (16 bit Signed Linear
PCM)
        128 (1 <<  7)     (0x80)  audio      lpc10   (LPC10)
        256 (1 <<  8)    (0x100)  audio       g729   (G.729A)
        512 (1 <<  9)    (0x200)  audio      speex   (SpeeX)
       1024 (1 << 10)    (0x400)  audio       ilbc   (iLBC)
       2048 (1 << 11)    (0x800)  audio       g726   (G.726 RFC3551)
       4096 (1 << 12)   (0x1000)  audio       g722   (G722)
      65536 (1 << 16)  (0x10000)  image       jpeg   (JPEG image)
     131072 (1 << 17)  (0x20000)  image        png   (PNG image)
     262144 (1 << 18)  (0x40000)  video       h261   (H.261 Video)
     524288 (1 << 19)  (0x80000)  video       h263   (H.263 Video)
    1048576 (1 << 20) (0x100000)  video      h263p   (H.263+ Video)
    2097152 (1 << 21) (0x200000)  video       h264   (H.264 Video)
neuwald01*CLI> core show translation
         Translation times between formats (in milliseconds) for one second
of data
          Source Format (Rows) Destination Format (Columns)

          g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726
g722
     g723    -   -    -    -        -     -    -     -    -     -    -    -
   -
      gsm    -   -    2    2        2     2    1     3    7     -    -    2
   -
     ulaw    -   2    -    1        2     2    1     3    7     -    -    2
   -
     alaw    -   2    1    -        2     2    1     3    7     -    -    2
   -
 g726aal2    -   2    2    2        -     2    1     3    7     -    -    2
   -
    adpcm    -   2    2    2        2     -    1     3    7     -    -    2
   -
     slin    -   1    1    1        1     1    -     2    6     -    -    1
   -
    lpc10    -   2    2    2        2     2    1     -    7     -    -    2
   -
     g729    -   2    2    2        2     2    1     3    -     -    -    2
   -
    speex    -   -    -    -        -     -    -     -    -     -    -    -
   -
     ilbc    -   -    -    -        -     -    -     -    -     -    -    -
   -
     g726    -   2    2    2        2     2    1     3    7     -    -    -
   -
     g722    -   -    -    -        -     -    -     -    -     -    -    -
   -

Any idea?

Thanks,

Felipe Neuwald.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100705/1962c457/attachment.htm 


More information about the asterisk-users mailing list