[Asterisk-Users] Codec Selection

Olivier Taylor olivier.taylor at gmail.com
Mon Feb 6 00:10:10 MST 2006


You will need  to buy licences for the codec you want, I don't know for
g723, but g729 costs 10$ by channel.

Cheers

-----Message d'origine-----
De : asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] De la part de Abdul Lateef
Envoyé : dimanche 5 février 2006 21:50
À : asterisk-users at lists.digium.com
Objet : RE : [Asterisk-Users] Codec Selection



Hi,

Is there any special configuration for transcoding on
asterisk? Or Asterisk will do it automatically?




-----------------------------------

Olivier Taylor
Sun, 05 Feb 2006 11:51:51 -0800

Hi,

Just forget to choose the Codec on asterisk :(

Only solution is :
Disallow=all
Allow=YourCodec

If client doesn't have that codec you will need to
transcode on asterisk.
If client has that codec,asterisk will do pass-thru
and it will work.

Olivier



-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Abdul Lateef
Envoyé : dimanche 5 février 2006 20:00
À : asterisk-users at lists.digium.com
Objet : Re: [Asterisk-Users] Codec Selection



Hi,

I am using Perl AGI to dial the carrier (Gateway), i
am little experiencing how to do TRUN in Perl AGI.

this is my script how i am dialing the number to
Gateways, So before dialing the number i want to
select the codecs according to our Gateway.


my $discr = $AGI->get_variable("DIALSTATUS");
if ($discr == "CONGESTION" || $discr == "NOANSWER" ||
$discr == "CHANUNAVAIL")
{
        my $dialstr = "$gwtype/$gwip/" . $dialednum . "|30|tTL(" .
($crdeit*1000) .":7000:5000)";
        $AGI->exec('Dial', $dialstr);
        $discr = "";
}

Any idea?



--------

--------
Yours,
Abdul Lateef
Computer Programmer
HATIF COM
Mob: +974 - 5405022
ICQ: 276994704
MSN: abdulzu at hotmail.com
GoogleTalk: lateef.np at gmail.com
YM!: abdul_zu
Doha Qatar
http://www.hatif.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list