Hello Leandro,
Indeed, your problem is a nice one.
I do not think this is possible to do this with *. If I am wrong, the list,
please correct me...
There are two ways of doing that:
1/. would be to have the IP phone have a logic that advertises the preferred
codec based on B-number. I do not know of any IP Phones that are able to do
that...
2/. would be to have * perform allow/disallow parameters based on the number
you have dialed.
Both would be interesting... Maybe we will implement this in LoudHush (for
the softphone side).
Could such a conditional codec be implemented on asterisk in a future
version?
Bogdan Moldovan
MODULO Consulting
"The Future Is Not What It Used To Be"
http://www.modulo.ro
_____
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Leandro Rzezak
Sent: Thursday, December 29, 2005 6:03 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Conditional CODEC translation
We have a VoIP termination provider that allows g729.
We would that internal calls (between our own IP phones) be handled using
alaw, and outgoing calls using native forwarded g729 without translation
(ie, not using asterisk g729 licenses). We need to avoid translations.
WHAT WE HAVE NOW:
IP Phone <--alaw--> IP Phone
IP Phone <--alaw--> Asterisk <--g729--> VoIP provider
(Phones are configured only to allow alaw and g729, provider is configured
only to allow g729; however phones are never using g729)
WHAT WE NEED:
IP Phone <--alaw--> IP Phone
IP Phone <--g729--> VoIP provider
Please help me accomplish that.
Thank you
--
Leandro Rzezak
leandror@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20051229/3d0a785f/attachment.htm