[Asterisk-Users] Unable to negotiate codec???

Jason Walker desktophero at gmail.com
Sat Oct 22 19:30:10 MST 2005


Sorry for the blank response - before...
 
>From your output below, what looks weird are the hex values for the codecs:
 
[snip]
requested/capability 0x200/0xfe00 incompatible  with our capability 0xf900.

 
>From one of my servers, when I do a 'show codecs' on the console, I get 
 
sfsip01*CLI> 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    g726   (G.726)
         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)
      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)
 
 
 
 
0x200 would be speex. G.729 - in hex, from this display - would be 0x100.
>From your output, I don't see 0x100 at all. Am I confused?

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
clint_in_sydney
Sent: Saturday, October 22, 2005 7:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Unable to negotiate codec???


I use IAX and have a license for G729 at my end and OZTell, my provider, use
G729 as their main codec.
 
My box rejects connections from my provider due to incompatible codecs and
vice versa.
 
I'm waiting for them to get back to me on this.
 
Clint.
 
 

----- Original Message ----- 
From: Jason  <mailto:desktophero at gmail.com> Walker 
To: 'Asterisk Users Mailing List -  <mailto:asterisk-users at lists.digium.com>
Non-Commercial Discussion' 
Sent: Sunday, October 23, 2005 10:52 AM
Subject: [other] RE: [Asterisk-Users] Unable to negotiate codec???


What codec are you using on the client and the server? From my
understanding, you have to have a license for both ends of the G.729 call.
Are you passing this through one server to another and the call is being
rejected at the server level?

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
clint_in_sydney
Sent: Saturday, October 22, 2005 5:44 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Unable to negotiate codec???


Hi All,

I get the following when trying to dial in to my asterisk box.

Oct 22 13:58:11 WARNING[3599]: Don't know any of 0xf800 formats
Oct 22 13:58:11 ERROR[3599]: No best format in 0xf800???
Oct 22 13:58:11 NOTICE[3599]: Rejected connect attempt from 203.98.83.19, 
requested/capability 0x200/0xfe00 incompatible  with our capability 0xf900.

and I get the following when I try to dial out.

Oct 22 14:06:31 WARNING[3599]: Call rejected by 203.98.83.19: Unable to 
negotiate codec

I'm using a brand new g729 codec from Digium.

Any ideas on what my problem might be?

Cheers,

Clint
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051022/f392783a/attachment.htm


More information about the asterisk-users mailing list