Hi

Leg B client changes the ptime from 30 to 20 and it works fine in FS 1.5.1.
Thanks.

Now my question is why FS 1.3.7 can handle this situation while FS 1.5.1 not?

Thanks again.
Jimmy


於 2013/4/19 上午 10:42, Nick Vines 提到:
What Ken said, the prime is mismatched. 

2013-04-18 21:27:24.357839 [DEBUG] sofia_glue.c:5155 Audio Codec Compare [G729:18:8000:30:8000]/[G729:18:8000:20:8000]


You should be able to change it on the client side. If you are having trouble with that, what endpoint are you using - Cisco SPAs, Grandstream, Polycom, etc?

Nick


On Apr 18, 2013, at 6:49 PM, Jimmy Chang <chang33.tw@gmail.com> wrote:

Hi,

Here is the FS 1.3.17 log.

2013-04-18 21:27:24.357839 [DEBUG] sofia.c:5597 Channel sofia/ivvr/9999110 entering state [proceeding][180]
2013-04-18 21:27:24.357839 [DEBUG] sofia.c:5608 Remote SDP:
v=0
o=Dialogic_SIP_CCLIB 62148360 62148361 IN IP4 10.0.110.41
s=Dialogic_SIP_CCLIB
c=IN IP4 10.0.110.41
t=0 0
m=audio 49152 RTP/AVP 18 101
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:30

2013-04-18 21:27:24.357839 [DEBUG] sofia_glue.c:5155 Audio Codec Compare [G729:18:8000:30:8000]/[G729:18:8000:20:8000]
2013-04-18 21:27:24.357839 [DEBUG] sofia_glue.c:5212 Substituting codec G729@30i@8000h
2013-04-18 21:27:24.357839 [DEBUG] sofia_glue.c:3110 Set Codec sofia/ivvr/9999110 G729/8000 30 ms 240 samples 8000 bits
2013-04-18 21:27:24.357839 [DEBUG] switch_core_codec.c:111 sofia/ivvr/9999110 Original read codec set to G729:18


The same clients and the same conf, it runs okay.

Any further advice?
Jimmy


於 2013/4/18 下午 10:05, Ken Rice 提到:
Re: [Freeswitch-users] G729 codec INCOMPATIBLE_DESTINATION Ptime mismatch forcing a transcode...


On 4/18/13 8:41 AM, "Jimmy Chang" <chang33.tw@gmail.com> wrote:

  Hi,
 
 I used FreeSWITCH Version 1.3.17+git~20130312T033518Z~7d29a92f55 and client could talk with G729 without problem.
 Today I install a new FS and the version is
 FreeSWITCH Version 1.5.1b+git~20130417T010754Z~538d9beacd.
 
 I copied the entire conf directory in old FS to new FS.
 I got the problem.
 
 2013-04-18 21:25:06.899049 [DEBUG] sofia.c:5694 Remote SDP:                                                                          
 v=0                                                                                                                                
 o=Dialogic_SIP_CCLIB 62147888 62147889 IN IP4 10.0.110.41                                                                          
 s=Dialogic_SIP_CCLIB                                                                                                               
 c=IN IP4 10.0.110.41                                                                                                               
 t=0 0                                                                                                                              
 m=audio 49152 RTP/AVP 18 101                                                                                                       
 a=fmtp:18 annexb=no                                                                                                                
 a=rtpmap:101 telephone-event/8000                                                                                                  
 a=fmtp:101 0-15                                                                                                                    
 a=ptime:30                                                                                                                         
                                                                                                                                      
 2013-04-18 21:25:06.899049 [DEBUG] switch_core_media.c:2597 Audio Codec Compare [G729:18:8000:30:8000]/[G729:18:8000:20:8000]        
 2013-04-18 21:25:06.899049 [DEBUG] switch_core_media.c:2597 Audio Codec Compare [telephone-event:101:8000:30:0]/[G729:18:8000:20:8000]
 2013-04-18 21:25:06.899049 [DEBUG] switch_core_media.c:2671 Substituting codec G729@30i@8000h                                        
 2013-04-18 21:25:06.899049 [DEBUG] switch_core_media.c:1617 No audio codec available                                                 
 2013-04-18 21:25:06.899049 [DEBUG] switch_core_media.c:2752 Set 2833 dtmf send payload to 101                                        
 2013-04-18 21:25:06.899049 [NOTICE] sofia.c:5812 Hangup sofia/ivvr/9999110 [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION] 
 
 
 Any advice?
 
 Thanks.
 Jimmy
 
 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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

--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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