[Asterisk-Users] RE: ATA 186, firmware SIP 3.1 and codec g.726 + now SIPURA SPA-2000

miguel at amplanet.com.br miguel at amplanet.com.br
Fri Jul 9 11:55:33 MST 2004


To me it's a error if I can't complete calls using the ATA configured to use
the g726 codec.

I just tried it usign a sipura SPA-2000 (preferred codec: G726-32) and I
received NOTICES and WARNINGS, but I can't complete a call.

On a zap channel:

-- Executing Dial("SIP/2007-e4d8", "Zap/1/2217008") in new stack
    -- Called 1/2217008
    -- Zap/1-1 answered SIP/2007-e4d8
Jul  9 15:50:27 NOTICE[1192491824]: rtp.c:500 ast_rtp_read: Unable to
calculate samples for format G726
Jul  9 15:50:27 NOTICE[1192491824]: channel.c:1508 ast_set_read_format:
Unable to find a path from G726 to SLINR
Jul  9 15:50:27 NOTICE[1192491824]: channel.c:1478 ast_set_write_format:
Unable to find a path from ILBC to G726
Jul  9 15:50:27 WARNING[1192491824]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  An ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:50:27 WARNING[1192491824]: chan_sip.c:1333 sip_write: Asked to
transmit frame type 1024, while native formats is 16 (read/write = 64/1024)
    -- Hungup 'Zap/1-1'
  == Spawn extension (from-sip, 02217008, 1) exited non-zero on
'SIP/2007-e4d8'

On a sip channel:

-- Executing Dial("SIP/2007-41d0", "SIP/23|40") in new stack
    -- Called 23
    -- SIP/23-863e is ringing
    -- SIP/23-863e answered SIP/2007-41d0
    -- Attempting native bridge of SIP/2007-41d0 and SIP/23-863e
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 NOTICE[1200884528]: channel.c:1508 ast_set_read_format:
Unable t
o find a path from G726 to ULAW
Jul  9 15:49:20 NOTICE[1200884528]: channel.c:1478 ast_set_write_format:
Unable
to find a path from ILBC to G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:20 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:20 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:21 NOTICE[1200884528]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:21 WARNING[1200884528]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:21 NOTICE[1192491824]: rtp.c:500 ast_rtp_read: Unable to
calculate
samples for format G726
Jul  9 15:49:21 WARNING[1192491824]: codec_ilbc.c:141 ilbctolin_framein:
Huh?  A
n ilbc frame that isn't a multiple of 50 bytes long from RTP (80)?
Jul  9 15:49:21 WARNING[1192491824]: chan_sip.c:1333 sip_write: Asked to
transmi
t frame type 1024, while native formats is 16 (read/write = 4/1024)
  == Spawn extension (from-sip, 23, 1) exited non-zero on 'SIP/2007-41d0'

> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> admin at lists.digium.com] On Behalf Of miguel at amplanet.com.br
> Sent: Friday, July 09, 2004 11:31 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] ATA 186, firmware SIP 3.1 and codec g.726
>
> I have a ATA 186 with SIP firmware 3.1 when I changed the configurations
> to
> use the g.726 codec I received many erros and the calls doesn't work.
>
> I changed the fields:
>
> - LBRCodec: 6 <- the code for g.726
> - TXCodec: 6
> - RxCodec: 6
>
> The errors:
>
> Jul  9 13:15:37 NOTICE[1192491824]: rtp.c:500 ast_rtp_read: Unable to
> calculate samples for format G726
> Jul  9 13:15:37 NOTICE[1192491824]: channel.c:1508 ast_set_read_format:
> Unable to find a path from G726 to SLINR
> Jul  9 13:15:37 NOTICE[1192491824]: channel.c:1478 ast_set_write_format:
> Unable to find a path from ILBC to G726
> Jul  9 13:15:37 WARNING[1192491824]: codec_ilbc.c:141 ilbctolin_framein:
> Huh?  An ilbc frame that isn't a multiple of 50 bytes long from RTP (40)?
> Jul  9 13:15:37 WARNING[1192491824]: chan_sip.c:1333 sip_write: Asked to
> transmit frame type 1024, while native formats is 16 (read/write =
> 64/1024)
>
> I will appreciate any help.
>
> Kind regards,
>
> Miguel
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users








More information about the asterisk-users mailing list