Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] IAX outbound trunk and distortion


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





PostPosted: Fri Sep 26, 2008 1:15 pm    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Hi,

Just setup an IAX trunk from FS to a SIP provider who runs Asterisk,
but getting a truckload of distortion when I make calls. The
iax.conf.xml settings are as per the default.

I've turned debugging on but just wondered where would be a good place
to start trying to track down the problem? The codec appears to be
PCMU/8000. Any suggestions welcome - this is the first time I've used
IAX on FS, and have never had audio distortion issues with SIP trunks
etc.

Thanks,
Alex

_______________________________________________
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 Sep 26, 2008 2:41 pm    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

What kind of load and how many channels?

/b

On Sep 26, 2008, at 1:13 PM, Alex Kinch wrote:

Quote:
Hi,

Just setup an IAX trunk from FS to a SIP provider who runs Asterisk,
but getting a truckload of distortion when I make calls. The
iax.conf.xml settings are as per the default.

I've turned debugging on but just wondered where would be a good place
to start trying to track down the problem? The codec appears to be
PCMU/8000. Any suggestions welcome - this is the first time I've used
IAX on FS, and have never had audio distortion issues with SIP trunks
etc.

Thanks,
Alex

_______________________________________________
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
Back to top
alex at alexkinch.com
Guest





PostPosted: Fri Sep 26, 2008 3:41 pm    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

No load as no other calls. Just one channel active. Sip to the same provider has worked previously.

I recorded a test call on xlite if you want a copy of the wav?

Cheers,
Alex
-- I sent this from my 3 mobile --

-original message-
Subject: Re: [Freeswitch-users] IAX outbound trunk and distortion
From: "Brian West" <brian@freeswitch.org>
Date: 26/09/2008 9:30 pm

What kind of load and how many channels?

/b

On Sep 26, 2008, at 1:13 PM, Alex Kinch wrote:

Quote:
Hi,

Just setup an IAX trunk from FS to a SIP provider who runs Asterisk,
but getting a truckload of distortion when I make calls. The
iax.conf.xml settings are as per the default.

I've turned debugging on but just wondered where would be a good place
to start trying to track down the problem? The codec appears to be
PCMU/8000. Any suggestions welcome - this is the first time I've used
IAX on FS, and have never had audio distortion issues with SIP trunks
etc.

Thanks,
Alex

_______________________________________________
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



_______________________________________________
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 Sep 26, 2008 3:41 pm    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

if the recorded wav exhibits the issue sure.

/b

On Sep 26, 2008, at 3:39 PM, kinchyuk@googlemail.com wrote:

Quote:
No load as no other calls. Just one channel active. Sip to the same
provider has worked previously.

I recorded a test call on xlite if you want a copy of the wav?

Cheers,
Alex
-- I sent this from my 3 mobile --


_______________________________________________
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
alex at alexkinch.com
Guest





PostPosted: Fri Sep 26, 2008 4:12 pm    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Sure, will send it over when I get back. Also appear to have a dialplan issue where a call on sip matches but an iax trunk doesn't, but I'll put that on a separate email.

Alex
-- I sent this from my 3 mobile --

-original message-
Subject: Re: [Freeswitch-users] IAX outbound trunk and distortion
From: "Brian West" <brian@freeswitch.org>
Date: 26/09/2008 10:06 pm

if the recorded wav exhibits the issue sure.

/b

On Sep 26, 2008, at 3:39 PM, kinchyuk@googlemail.com wrote:

Quote:
No load as no other calls. Just one channel active. Sip to the same
provider has worked previously.

I recorded a test call on xlite if you want a copy of the wav?

Cheers,
Alex
-- I sent this from my 3 mobile --




_______________________________________________
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: Sat Sep 27, 2008 4:22 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

I'm gonna guess you're using the alaw codec and the far end is asterisk?

/b

On Sep 27, 2008, at 4:17 AM, Alex Kinch wrote:

Quote:
WAV file of recording attached.

<eyeBeamRecording_080926_195223.wav>


Alex

On 26 Sep 2008, at 21:40, Brian West wrote:

Quote:
if the recorded wav exhibits the issue sure.

/b

On Sep 26, 2008, at 3:39 PM, kinchyuk@googlemail.com wrote:

Quote:
No load as no other calls. Just one channel active. Sip to the
same provider has worked previously.

I recorded a test call on xlite if you want a copy of the wav?

Cheers,
Alex
-- I sent this from my 3 mobile --




_______________________________________________
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
alex at alexkinch.com
Guest





PostPosted: Sat Sep 27, 2008 4:31 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Far end is Asterisk, yep - codec debug line below:

2008-09-27 10:28:24 [INFO] mod_iax.c:399 iax_set_codec() Activate
Codec PCMU/8000 20 ms

Alex


On 27 Sep 2008, at 10:20, Brian West wrote:

Quote:
I'm gonna guess you're using the alaw codec and the far end is
asterisk?

/b

On Sep 27, 2008, at 4:17 AM, Alex Kinch wrote:

Quote:
WAV file of recording attached.

<eyeBeamRecording_080926_195223.wav>


Alex

On 26 Sep 2008, at 21:40, Brian West wrote:

Quote:
if the recorded wav exhibits the issue sure.

/b

On Sep 26, 2008, at 3:39 PM, kinchyuk@googlemail.com wrote:

Quote:
No load as no other calls. Just one channel active. Sip to the
same provider has worked previously.

I recorded a test call on xlite if you want a copy of the wav?

Cheers,
Alex
-- I sent this from my 3 mobile --





_______________________________________________
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: Sat Sep 27, 2008 4:33 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Can you tell me what part of the world the provider is in?

/b

On Sep 27, 2008, at 4:30 AM, Alex Kinch wrote:

Quote:
Far end is Asterisk, yep - codec debug line below:

2008-09-27 10:28:24 [INFO] mod_iax.c:399 iax_set_codec() Activate
Codec PCMU/8000 20 ms

Alex


_______________________________________________
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
alex at alexkinch.com
Guest





PostPosted: Sat Sep 27, 2008 4:36 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Here in Blighty.. (England to everyone else!)


On 27 Sep 2008, at 10:32, Brian West wrote:

Quote:
Can you tell me what part of the world the provider is in?

/b

On Sep 27, 2008, at 4:30 AM, Alex Kinch wrote:

Quote:
Far end is Asterisk, yep - codec debug line below:

2008-09-27 10:28:24 [INFO] mod_iax.c:399 iax_set_codec() Activate
Codec PCMU/8000 20 ms

Alex



_______________________________________________
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: Sat Sep 27, 2008 4:42 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Try changing the codec to alaw and see if it goes away, If so then I
suspect the direct ulaw/alaw transcoder in Asterisk is broken.

/b

On Sep 27, 2008, at 4:35 AM, Alex Kinch wrote:

Quote:
Here in Blighty.. (England to everyone else!)


_______________________________________________
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
dave at 3c.co.uk
Guest





PostPosted: Sat Sep 27, 2008 4:48 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Hi Alex,

That makes two of us in Blighty at least.. it sounds most likely that
something's
not converting properly from u-law to A-law somewhere. You might want
to
force A-law - set codec-prefs to PCMA (and nothing else) in iax.conf.xml

Cheers --

Dave

Quote:
Here in Blighty.. (England to everyone else!)


On 27 Sep 2008, at 10:32, Brian West wrote:

Quote:
Can you tell me what part of the world the provider is in?

/b

On Sep 27, 2008, at 4:30 AM, Alex Kinch wrote:

Quote:
Far end is Asterisk, yep - codec debug line below:

2008-09-27 10:28:24 [INFO] mod_iax.c:399 iax_set_codec() Activate
Codec PCMU/8000 20 ms

Alex



_______________________________________________
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
Back to top
alex at alexkinch.com
Guest





PostPosted: Sat Sep 27, 2008 4:52 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Yep, that did the trick. Thanks Brian (and David too for putting in a
way my Saturday hangover brain could understand!) Smile

Alex

On 27 Sep 2008, at 10:41, Brian West wrote:

Quote:
Try changing the codec to alaw and see if it goes away, If so then I
suspect the direct ulaw/alaw transcoder in Asterisk is broken.

/b

On Sep 27, 2008, at 4:35 AM, Alex Kinch wrote:

Quote:
Here in Blighty.. (England to everyone else!)



_______________________________________________
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: Sat Sep 27, 2008 5:03 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Looks like the alaw codec in Asterisk still uses the wrong table.
Guess I should do a bug report on that to them. Can someone else
confirm they see the same problem with the latest Asterisk versions?

/b

On Sep 27, 2008, at 4:51 AM, Alex Kinch wrote:

Quote:
Yep, that did the trick. Thanks Brian (and David too for putting in
a way my Saturday hangover brain could understand!) Smile

Alex

On 27 Sep 2008, at 10:41, Brian West wrote:

Quote:
Try changing the codec to alaw and see if it goes away, If so then
I suspect the direct ulaw/alaw transcoder in Asterisk is broken.

/b

On Sep 27, 2008, at 4:35 AM, Alex Kinch wrote:

Quote:
Here in Blighty.. (England to everyone else!)




_______________________________________________
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
alex at alexkinch.com
Guest





PostPosted: Sat Sep 27, 2008 7:09 am    Post subject: [Freeswitch-users] IAX outbound trunk and distortion Reply with quote

Incidentally I fixed the dialplan problem with incoming calls on IAX,
I had the entry on public.xml and not default.xml so it didn't match
on the call.

Alex

On 26 Sep 2008, at 22:10, kinchyuk@googlemail.com wrote:

Quote:
Sure, will send it over when I get back. Also appear to have a
dialplan issue where a call on sip matches but an iax trunk doesn't,
but I'll put that on a separate email.

Alex
-- I sent this from my 3 mobile --

-original message-
Subject: Re: [Freeswitch-users] IAX outbound trunk and distortion
From: "Brian West" <brian@freeswitch.org>
Date: 26/09/2008 10:06 pm

if the recorded wav exhibits the issue sure.

/b

On Sep 26, 2008, at 3:39 PM, kinchyuk@googlemail.com wrote:

Quote:
No load as no other calls. Just one channel active. Sip to the same
provider has worked previously.

I recorded a test call on xlite if you want a copy of the wav?

Cheers,
Alex
-- I sent this from my 3 mobile --





_______________________________________________
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
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