Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-21 Thread Abdul Hakeem
The pvalue of the originator overrides whatever you might have configured on
Cisco GW.

-Original Message-
From: freeswitch-users-boun...@lists.freeswitch.org
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Pablo
Hernan Saro
Sent: 21 March 2009 03:16
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

I am not a Cisco expert, but as far as I know packetization period is
configurable in Cisco. When you specify the codec for a dial peer, you can
set up the ptime value in milliseconds. This is an optional argument in the
Cisco command line and what happens when providers don't specify it is that
your end assumes a convenient or default ptime value, that probably don't
match with far end default... A solution would be to figure out what is the
convenient value for an individual provider and set up FS to match it, or
suggest your provider to specify a ptime in the first request.
By the way, Cisco supports 10, 20, 30, 40, 50 and 60 as ptime values for
codecs G.729, G.729A, G.729B and G.729AB.

Pablo


2009/3/20 Łukasz Czerpak luk...@czerpak.eu:
 Brian West pisze:
 Well you can't have ptime 60 one way and 20 the other it just won't 
 work.  Also I can't even think that this illegal codec was even 
 tested at 60ms... Try it with ulaw and see what it does.  or only 
 allow g...@60i and see what it does.


 I made some tests with ulaw with success. There is no problem with 
 ptime negotiation.

 Will the g729 codec be fully (not passthrough) supported in FreeSWITCH?

 regards,

 --
 Łukasz Czerpak | PGP: 0x532D8E1B [subkeys.pgp.net]

 ___
 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-use
 rs
 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


___
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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-20 Thread Łukasz Czerpak
Brian West pisze:
 Well you can't have ptime 60 one way and 20 the other it just won't
 work.  Also I can't even think that this illegal codec was even tested
 at 60ms... Try it with ulaw and see what it does.  or only allow
 g...@60i and see what it does.
 

I made some tests with ulaw with success. There is no problem with ptime
negotiation.

Will the g729 codec be fully (not passthrough) supported in FreeSWITCH?

regards,

-- 
Łukasz Czerpak | PGP: 0x532D8E1B [subkeys.pgp.net]

___
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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-20 Thread Pablo Hernan Saro
I am not a Cisco expert, but as far as I know packetization period is
configurable in Cisco. When you specify the codec for a dial peer, you
can set up the ptime value in milliseconds. This is an optional
argument in the Cisco command line and what happens when providers
don't specify it is that your end assumes a convenient or default
ptime value, that probably don't match with far end default... A
solution would be to figure out what is the convenient value for an
individual provider and set up FS to match it, or suggest your
provider to specify a ptime in the first request.
By the way, Cisco supports 10, 20, 30, 40, 50 and 60 as ptime values
for codecs G.729, G.729A, G.729B and G.729AB.

Pablo


2009/3/20 Łukasz Czerpak luk...@czerpak.eu:
 Brian West pisze:
 Well you can't have ptime 60 one way and 20 the other it just won't
 work.  Also I can't even think that this illegal codec was even tested
 at 60ms... Try it with ulaw and see what it does.  or only allow
 g...@60i and see what it does.


 I made some tests with ulaw with success. There is no problem with ptime
 negotiation.

 Will the g729 codec be fully (not passthrough) supported in FreeSWITCH?

 regards,

 --
 Łukasz Czerpak | PGP: 0x532D8E1B [subkeys.pgp.net]

 ___
 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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-19 Thread Brian West

Try:

param name=inbound-codec-negotiation value=scrooge/

/b

On Mar 19, 2009, at 1:22 PM, Łukasz Czerpak wrote:


Is there any solution of this problem?


___
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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-19 Thread Łukasz Czerpak
Brian West wrote:
 Try:
 
 param name=inbound-codec-negotiation value=scrooge/
 *

Unfortunately there is no difference when it is set to 'scrooge' or 
other value :(


regards,
Lukasz

___
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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-19 Thread Kristian Kielhofner
Hi,

  This is a known issue with some of these platforms but for
completeness can you send the actual SDP?

2009/3/19 Łukasz Czerpak luk...@czerpak.eu:
 Hi,

 I have some troubles with provider configuration. The are warnings in logs:

 2009-03-19 19:02:48 [WARNING] mod_sofia.c:739 sofia_read_frame() We were
 told to use ptime 20 but what they meant to say was 40

 This issue has so far been identified to happen on the following broken
 platforms/devices:

 Linksys/Sipura aka Cisco


 ShoreTel


 Sonus/L3


 We will try to fix it but some of the devices on this list are so broken
 who knows what will happen..

 My provider uses SER and Cisco hardware (Cisco-SIPGateway/IOS-12.x).

 Moreover, above warning appears only when someone calls to FreeSWITCH
 (voice quality is poor) - connection from FreeSWITCH works without any
 warnings and has perfect quality.

 Other my providers works perfect.

 Is there any solution of this problem?

 regards,
 Lukasz



 ___
 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




-- 
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-19 Thread Łukasz Czerpak
Brian West wrote:
 what rev are you on?
 

trunk - ~2009-03-15 21:00

regards,
Łukasz

___
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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-19 Thread Brian West
The issue I seen was they invite to you with NO ptime which indicates  
20ms, they should invite with ptime:60 if they want 60.

/b

On Mar 19, 2009, at 3:06 PM, Łukasz Czerpak wrote:


 I've just tested g...@60i and everything works perfect - thank you  
 very
 much. I didn't test ulaw.
 What is wrong - my provider is incompatible with specification or
 FreeSWITCH has problem with codec negotiation?

 Is there any possibility to force codec for specific gateway/provider?

 regards
 Lukasz


___
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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-19 Thread Łukasz Czerpak
Brian West wrote:
 The issue I seen was they invite to you with NO ptime which indicates  
 20ms, they should invite with ptime:60 if they want 60.
 

I see but there is any solution to bypass this provider's 
incompatibility? I want to stay with this provider anyway - he has 
very good quality and nice prices ;)

thanks and regards,
Łukasz



___
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


Re: [Freeswitch-users] ptime problem with provider (Cisco hardware)

2009-03-19 Thread Brian West
Well you said you were using G.729 for testing... when you're clearly  
not... but I told you already how to fix it... for that IP or peer  
g...@60i

/b

On Mar 19, 2009, at 4:03 PM, Łukasz Czerpak wrote:

 I see but there is any solution to bypass this provider's
 incompatibility? I want to stay with this provider anyway - he has
 very good quality and nice prices ;)

 thanks and regards,
 Łukasz


___
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