![]() |
2010-03-30
, 18:30
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#2
|
![]() |
2010-03-30
, 18:34
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#3
|
![]() |
2010-03-30
, 18:47
|
Posts: 9 |
Thanked: 1 time |
Joined on Jan 2010
|
#4
|
![]() |
2010-03-30
, 19:45
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#5
|
I have control over the asterisk box, and allowing g729 doesn't work. I tried. Ohh, I tried ...
I do wonder though, what the exact audio codec capabilites are of the sofia-sip stack on the n900.
m=audio 7078 RTP/AVP 18 96 8 0 101 99 a=rtpmap:18 G729/8000 a=rtpmap:96 ILBC/8000 a=fmtp:96 mode=30 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:101 speex/8000 a=rtpmap:99 telephone-event/8000 a=fmtp:99 events=0-15
![]() |
2010-03-31
, 14:37
|
Posts: 9 |
Thanked: 1 time |
Joined on Jan 2010
|
#6
|
![]() |
2010-04-01
, 06:14
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#7
|
thanks for the info! I did a 'sip set debug on' while connecting a call, to find out the capabilities of the n900, and I didn't get speex or g729.
I do now undersatand why speex does not work (yet).
However, if 2 peers or friends of asterisk can talk g729, they can interact directly without asterisk having to re-encode the audio stream.
I am trying to make a sip call over a 3G network through an asterisk server to another phone. now everyone know that the bandwidth available to mobile wireless users isn't always .. optimal .. so I would very much like to use another codec than 'alaw' or 'ulaw'.
can anyone help ?
more info below:
I have an n900, an asterisk SIP server, and a cisco hardphone. everything works perfectly fine over wifi. the calls get set up in 'alaw' 64kbit audio streams, which my wifi can handle flawlessly.
However, when calling over 3G, the audio gets choppy beyond being usable. I would therefor like to use another codec on the n900 side.
according to asterisk, the n900 announces that it is capable of 'alaw', 'ulaw' and 'ilbc' .. a64kbit, 64kbit and 15kbit audioformat respectively.
according to asterisk and cisco, the hardphone is capable of 'alaw', 'ulaw' and 'g729', which ar 64kbit, 64kbit and 8kbit respectively. g729 is a proprietary format, and asterisk cannot 'convert' audio into that format out of the box unless you have appropriate licenses. It can however just pass the audio along.
So .. if the n900 could just send out g729, all would be well...
On the other hand, the n900 can send out 'ilbc' audio .. at 15kbit .. so wouldn't it be wonderful if asterisk can convert 'ilbc' to another format? I am stumped however, to make that possible.
Can anyone help ?