help on codec negotiation, got incompatable destination
I have iLBC configured in profile internal CODECS IN PCMU,PCMA,iLBC@30i,GSM CODECS OUT PCMU,PCMA,iLBC@30i,GSM and <param name="inbound-codec-negotiation" value="generous"/> but it seems not comparing with iLBC 010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[GSM:3:8000:20] can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 . Thanks.
sorry forget to metion I'm on FreeSWITCH Version 1.0.trunk (16859) 2010/3/2 Seven Du <dujinfang@gmail.com>:
I have iLBC configured in profile internal
CODECS IN PCMU,PCMA,iLBC@30i,GSM CODECS OUT PCMU,PCMA,iLBC@30i,GSM
and <param name="inbound-codec-negotiation" value="generous"/>
but it seems not comparing with iLBC
010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[GSM:3:8000:20]
can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 .
Thanks.
Yes that is because its @30i, All codecs offered MUST be 30ms if you want to offer iLBC@30i. So add @30i to all but GSM since you can't do GSM @ 30. /b On Mar 2, 2010, at 1:01 AM, Seven Du wrote:
sorry forget to metion I'm on FreeSWITCH Version 1.0.trunk (16859)
2010/3/2 Seven Du <dujinfang@gmail.com>:
I have iLBC configured in profile internal
CODECS IN PCMU,PCMA,iLBC@30i,GSM CODECS OUT PCMU,PCMA,iLBC@30i,GSM
and <param name="inbound-codec-negotiation" value="generous"/>
but it seems not comparing with iLBC
010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[GSM:3:8000:20]
can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 .
Thanks.
_______________________________________________ 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
Thanks, I removed @30i and it works, however, CELT, doesn't. CODECS IN PCMU,PCMA,iLBC,CELT,GSM CODECS OUT PCMU,PCMA,iLBC,CELT,GSM 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[PCMU:0:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[PCMA:8:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[iLBC:98:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:48000:10]/[GSM:3:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[GSM:3:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:24:58.190599 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[GSM:3:8000:20] CELT@32000h 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[PCMU:0:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[PCMA:8:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[iLBC:98:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CELT:114:32000:10]/[GSM:3:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:10]/[GSM:3:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMU:0:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[PCMA:8:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[iLBC:98:8000:20] 2010-03-02 20:26:02.439565 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:10]/[GSM:3:8000:20] 2010/3/2 Brian West <brian@freeswitch.org>:
Yes that is because its @30i, All codecs offered MUST be 30ms if you want to offer iLBC@30i. So add @30i to all but GSM since you can't do GSM @ 30.
/b On Mar 2, 2010, at 1:01 AM, Seven Du wrote:
sorry forget to metion I'm on FreeSWITCH Version 1.0.trunk (16859)
2010/3/2 Seven Du <dujinfang@gmail.com>:
I have iLBC configured in profile internal
CODECS IN PCMU,PCMA,iLBC@30i,GSM CODECS OUT PCMU,PCMA,iLBC@30i,GSM
and <param name="inbound-codec-negotiation" value="generous"/>
but it seems not comparing with iLBC
010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3489 Set 2833 dtmf payload to 101 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [telephone-event:101:8000:30]/[GSM:3:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMU:0:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[PCMA:8:8000:20] 2010-03-02 01:43:48.183785 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [CN:13:8000:30]/[GSM:3:8000:20]
can anyone help on this? see full log at http://pastebin.freeswitch.org/12278 .
Thanks.
_______________________________________________ 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
_______________________________________________ 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
Oh, yes, but then how I set the pref codec string? I want to also support other codecs and other ms, now I set to PCMU,PCMA,iLBC,CELT,GSM with the above string I can do 30ms iLBC 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMU:0:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[PCMA:8:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[iLBC:98:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3533 Audio Codec Compare [iLBC:97:8000:30]/[GSM:3:8000:20] 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:3580 Substituting codec iLBC@30i@8000h 2010-03-02 22:44:01.071059 [DEBUG] sofia_glue.c:2333 Set Codec sofia/internal/1001@114.80.200.174 iLBC/8000 30 ms 240 samples should I use another profile that only do CELT with 10ms? 2010/3/3 Brian West <brian@freeswitch.org>:
Celt can only do 10ms :P
/b
On Mar 2, 2010, at 7:26 PM, Seven Du wrote:
Thanks, I removed @30i and it works, however, CELT, doesn't.
_______________________________________________ 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
Enable late negotiation? And pick after the fact? /b On Mar 2, 2010, at 9:45 PM, Seven Du wrote:
Oh, yes, but then how I set the pref codec string? I want to also support other codecs and other ms, now I set to
PCMU,PCMA,iLBC,CELT,GSM
with the above string I can do 30ms iLBC
2010/3/3 Brian West <brian@freeswitch.org>:
Enable late negotiation? And pick after the fact?
Understood. Is that the conf of freeswitch conference call? But I think it would be simpler to start a new profile in my scenario. And, doesn't it make sense to also compare mixed ms? Thanks.
/b
On Mar 2, 2010, at 9:45 PM, Seven Du wrote:
Oh, yes, but then how I set the pref codec string? I want to also support other codecs and other ms, now I set to
PCMU,PCMA,iLBC,CELT,GSM
with the above string I can do 30ms iLBC
_______________________________________________ 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
participants (2)
-
Brian West
-
Seven Du