Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] bad sound quality after Redirect


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
franz at electromail.org
Guest





PostPosted: Wed Jan 16, 2008 5:18 am    Post subject: [asterisk-users] bad sound quality after Redirect Reply with quote

Hi!

I'm building an application which allows to dial via the Asterisk
Manager Interface using the originate command. There should be an
optional conferencing feature.

The manager commands are basically:

---------------------------------
action: login
username: sdjklgdsjg
secret: xxx
events: on

action: originate
callerid: 3847438609
priority: 1
exten: 4068439865
async: 1
context: out
channel: SIP/sip-gate/0394839405
---------------------------------

Then talk to each other for a while...

---------------------------------
action: redirect
priority: 1
exten: 1234
context: conference
channel: SIP/sip-gate-0868b000
extrachannel: SIP/sip-gate-086a5000

action: logoff
---------------------------------

This approach works but results in a bad sound quality after the
redirect. The sound seems to be scrambled. Before redirecting the sound
quality is quite well, of course. All extensions are called via SIP with
the same codec, so no transcoding should occur.

The application used for the conference room is AppConference from
http://sourceforge.net/projects/appconference/. But even with a simple
destination application (e. g. PlayTones or Playback) the sound quality
is as bad as with AppConference. So it doesn't seem to be a problem with
AppConference itself.

The bad sound quality arises only if the ExtraChannel parameter is given
to Redirect. Without ExtraChannel the sound quality is still fine. But
the second channel is hungup then of course, which is not intended.

Has anyone any ideas how to solve this problem? Smile

Best regards Franz
Back to top
atis at iq-labs.net
Guest





PostPosted: Wed Jan 16, 2008 8:10 am    Post subject: [asterisk-users] bad sound quality after Redirect Reply with quote

On 1/16/08, Franz Schwartau <franz at electromail.org> wrote:
Quote:
Hi!

I'm building an application which allows to dial via the Asterisk
Manager Interface using the originate command. There should be an
optional conferencing feature.

The manager commands are basically:

---------------------------------
action: login
username: sdjklgdsjg
secret: xxx
events: on

action: originate
callerid: 3847438609
priority: 1
exten: 4068439865
async: 1
context: out
channel: SIP/sip-gate/0394839405
---------------------------------

Then talk to each other for a while...

---------------------------------
action: redirect
priority: 1
exten: 1234
context: conference
channel: SIP/sip-gate-0868b000
extrachannel: SIP/sip-gate-086a5000

action: logoff
---------------------------------

This approach works but results in a bad sound quality after the
redirect. The sound seems to be scrambled. Before redirecting the sound
quality is quite well, of course. All extensions are called via SIP with
the same codec, so no transcoding should occur.

The application used for the conference room is AppConference from
http://sourceforge.net/projects/appconference/. But even with a simple
destination application (e. g. PlayTones or Playback) the sound quality
is as bad as with AppConference. So it doesn't seem to be a problem with
AppConference itself.

The bad sound quality arises only if the ExtraChannel parameter is given
to Redirect. Without ExtraChannel the sound quality is still fine. But
the second channel is hungup then of course, which is not intended.

Has anyone any ideas how to solve this problem? Smile

Asterisk version?

First of all - i would try to identify problem, by redirecting to two
Dial's to separate SIP phones. That would tell if it's Redirect or
AppConference problem. Additionally you can try call that's not
Originate'd from manager.. Btw, why not using app_meetme, bundled with
Asterisk? Some time ago i was working on similar solution - sending
existing call to meetme and adding another Playback() to both calls,
however i currently don't have working version of this. You can try my
sample scenario from http://bugs.digium.com/view.php?id=10636
Regards,
Atis

--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk 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