Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] iLBC codec 97 or 102


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dujinfang at gmail.com
Guest





PostPosted: Fri May 08, 2009 2:07 am    Post subject: [Freeswitch-users] iLBC codec 97 or 102 Reply with quote

Hi,

We have FreesSWITCH runing on version 11066, which INVITE with
iLBC@30i number 102, however the recent version INVITE with iLBC@30i
number 97. Unfortunately I have a broken sip client only talks with
RTP payload 102. So here is the question:

1) What's the difference between 97 and 102? The default value changed
since version 11066?
2) Is it configurable? Is it part of sofia-lib or FS?

Thank you.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri May 08, 2009 2:19 am    Post subject: [Freeswitch-users] iLBC codec 97 or 102 Reply with quote

Once you're in dynamic range you should compare the codec name not number.

/b

On May 8, 2009, at 2:04 AM, seven wrote:
Quote:
Hi,

We have FreesSWITCH runing on version 11066, which INVITE with
iLBC@30i number 102, however the recent version INVITE with iLBC@30i
number 97. Unfortunately I have a broken sip client only talks with
RTP payload 102. So here is the question:

1) What's the difference between 97 and 102? The default value changed
since version 11066?


Should be no difference.

Quote:
2) Is it configurable? Is it part of sofia-lib or FS?


Nope shouldn't matter.

Quote:

Thank you.


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
dujinfang at gmail.com
Guest





PostPosted: Fri May 08, 2009 2:50 am    Post subject: [Freeswitch-users] iLBC codec 97 or 102 Reply with quote

On May 8, 2009, at 3:18 PM, Brian West wrote:
Quote:
Once you're in dynamic range you should compare the codec name not number.

/b

On May 8, 2009, at 2:04 AM, seven wrote:
Quote:
Hi,

We have FreesSWITCH runing on version 11066, which INVITE with
iLBC@30i number 102, however the recent version INVITE with iLBC@30i
number 97. Unfortunately I have a broken sip client only talks with
RTP payload 102. So here is the question:

1) What's the difference between 97 and 102? The default value changed
since version 11066?


Should be no difference.

Quote:
2) Is it configurable? Is it part of sofia-lib or FS?


Nope shouldn't matter.





Thank you. It must be changeable somewhere in the source code, can you help me to find out? I want it send 102 by default.

Quote:

Quote:

Thank you.


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com








_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri May 08, 2009 3:01 am    Post subject: [Freeswitch-users] iLBC codec 97 or 102 Reply with quote

No thats not how the dynamic range works. You can change it in mod_ilbc.c but again NOT the right way. Your phone is broken and should be fixed.

/b

On May 8, 2009, at 2:50 AM, seven wrote:
Quote:
Thank you. It must be changeable somewhere in the source code, can you help me to find out? I want it send 102 by default.


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
dujinfang at gmail.com
Guest





PostPosted: Fri May 08, 2009 4:05 am    Post subject: [Freeswitch-users] iLBC codec 97 or 102 Reply with quote

But there is only two 30ms variants,

SWITCH_CODEC_TYPE_AUDIO, 97, "iLBC", "mode=20",
SWITCH_CODEC_TYPE_AUDIO, 98, "iLBC", "mode=30",
SWITCH_CODEC_TYPE_AUDIO, 102, "iLBC", "mode=30",


Why FS INVITE with mode=30 and 97 but not 98/102 as I'm using iLBC@30i ?




v=0
o=FreeSWITCH 6662257026041736756 6335871247713715835 IN IP4 202.102.135.76
s=FreeSWITCH
c=IN IP4 202.102.135.76
t=0 0
m=audio 20820 RTP/AVP 97 101 13
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:30





On May 8, 2009, at 3:55 PM, Brian West wrote:
Quote:
No thats not how the dynamic range works. You can change it in mod_ilbc.c but again NOT the right way. Your phone is broken and should be fixed.

/b

On May 8, 2009, at 2:50 AM, seven wrote:
Quote:
Thank you. It must be changeable somewhere in the source code, can you help me to find out? I want it send 102 by default.


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com








_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri May 08, 2009 8:44 am    Post subject: [Freeswitch-users] iLBC codec 97 or 102 Reply with quote

actually I think we can remove the 102 version that was there for some google talk thing and I don't think we they do that anymore I'll have to test but ... if we invite to you with mod=30 you have to do 30 no exceptions as per the iLBC spec.

/b

On May 8, 2009, at 4:04 AM, seven wrote:
Quote:
But there is only two 30ms variants,

SWITCH_CODEC_TYPE_AUDIO, 97, "iLBC", "mode=20",
SWITCH_CODEC_TYPE_AUDIO, 98, "iLBC", "mode=30",
SWITCH_CODEC_TYPE_AUDIO, 102, "iLBC", "mode=30",


Why FS INVITE with mode=30 and 97 but not 98/102 as I'm using iLBC@30i ?




v=0
o=FreeSWITCH 6662257026041736756 6335871247713715835 IN IP4 202.102.135.76
s=FreeSWITCH
c=IN IP4 202.102.135.76
t=0 0
m=audio 20820 RTP/AVP 97 101 13
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:30





Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
dujinfang at gmail.com
Guest





PostPosted: Fri May 08, 2009 9:44 am    Post subject: [Freeswitch-users] iLBC codec 97 or 102 Reply with quote

On May 8, 2009, at 9:32 PM, Brian West wrote:
Quote:
actually I think we can remove the 102 version that was there for some google talk thing and I don't think we they do that anymore I'll have to test but ... if we invite to you with mod=30 you have to do 30 no exceptions as per the iLBC spec.




sure the client is broken. but it only do the right thing when you invite me with 102 and mod=30.



Please don't remove the 102 before I had my client fixed Wink



btw, client can invite with 102 to FS without problem.


Thank you again. I think I can make the client work by remove the other versions. If we need multi versions in the future,, I'd like to make a patch make it configurable.


Quote:
/b

On May 8, 2009, at 4:04 AM, seven wrote:
Quote:
But there is only two 30ms variants,

SWITCH_CODEC_TYPE_AUDIO, 97, "iLBC", "mode=20",
SWITCH_CODEC_TYPE_AUDIO, 98, "iLBC", "mode=30",
SWITCH_CODEC_TYPE_AUDIO, 102, "iLBC", "mode=30",


Why FS INVITE with mode=30 and 97 but not 98/102 as I'm using iLBC@30i ?




v=0
o=FreeSWITCH 6662257026041736756 6335871247713715835 IN IP4 202.102.135.76
s=FreeSWITCH
c=IN IP4 202.102.135.76
t=0 0
m=audio 20820 RTP/AVP 97 101 13
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:30





Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com








_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services