linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] linphone Blackberry codec error


From: Jehan Monnier
Subject: Re: [Linphone-developers] linphone Blackberry codec error
Date: Wed, 26 Jan 2011 07:49:46 +0100

Hi Aleksel,

As usual, instructions to get source code can be found at: http://www.linphone.org/eng/download/git.html
I don't know which server is supporting AMR-NB, I used a self made prototype.
In case your goal is to enable BB to Android communication, you might add the AMR-NB plugin to Linphone for Android.

Cheers


Le 26 janv. 2011 à 07:07, aleksei drassen a écrit :

Ok, i have some errors trying to patch asterisk with the amr patch provided by Ivelin Ivanov, i want to test the project on my local network with my own sip server, so i choose work with asterisk 1.6.x.
 
So, before to install another sip server i need help to undersatnd two things respect of the project:
 
- where are located the codec implementation on the java blackberry project
- what sip server can i install to my local network to test the project (because i want to test betwen android and rim systems).
 
cheers
 

Subject: Re: [Linphone-developers] linphone Blackberry codec error
From: address@hidden
Date: Tue, 25 Jan 2011 17:45:52 -0500
To: address@hidden

Aleksel,

The new Blackberry client only supports AMR (a form of GSM) Codec, which is not native to asterisk and has to be added.

From the asterisk cli  (asterisk -vvvr - enter this to access the asterisk cli);  type "core show codecs" to see which codecs are installed.

"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)

Type "core show translation" to see what codecs can be translated to/from.  

core show translation
         Translation times between formats (in microseconds) for one second of data
          Source Format (Rows) Destination Format (Columns)

           g723   gsm  ulaw  alaw g726aal2 adpcm  slin lpc10  g729 speex  ilbc  g726  g722 siren7 siren14 slin16
     g723     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
      gsm     -     -  1001  1001     3999  1001  1000  3999     -     -     -  3000  2000      -       -   4000
     ulaw     -  2001     -     1     3000     2     1  3000     -     -     -  2001  1001      -       -   3001
     alaw     -  2001     1     -     3000     2     1  3000     -     -     -  2001  1001      -       -   3001
 g726aal2     -  3000  1001  1001        -  1001  1000  3999     -     -     -  3000  2000      -       -   4000
    adpcm     -  2001     2     2     3000     -     1  3000     -     -     -  2001  1001      -       -   3001
     slin     -  2000     1     1     2999     1     -  2999     -     -     -  2000  1000      -       -   3000
    lpc10     -  4000  2001  2001     4999  2001  2000     -     -     -     -  4000  3000      -       -   5000
     g729     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
    speex     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
     ilbc     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
     g726     -  2999  1000  1000     3998  1000   999  3998     -     -     -     -  1999      -       -   3999
     g722     -  3000  1001  1001     3999  1001  1000  3999     -     -     -  3000     -      -       -   2000
   siren7     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
  siren14     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -
   slin16     -  4999  3000  3000     5998  3000  2999  5998     -     -     -  4999  1999      -       -      -

The codec needs to be added to asterisk.  

I am currently searching for this so I can test to.  If anyone knows of a source, please post it on this email list.

Thanks and Best regards,

Dan
Dan Kosek: VoicePlex - Traveler™ - Reach™
Contact Info: address@hidden - 240.345.9000


On Jan 25, 2011, at 5:06 PM, aleksei drassen wrote:

test mobile 1: RIM blackberry 8520
test mobile 2: Android Nexus One
Server: Asterisk 1.6.2.16.1
 
Hi, i try to stablish a call betwen two mobile clients with a asterisk (rel 1.6.2.16.1) but the cli send me a error message: 
 
"chan_sip.c:8556 process_sdp: No compatible codecs, not accepting this offer!"
 
My questions are: what codecs or codec is implemented (accept) in linphone blackberry client? and where are located the code implementation on the project?
 
 
thanks very much

 
_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________ Linphone-developers mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-developers_______________________________________________
Linphone-developers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]