[asterisk-users] Pass-through any codecs

Szabó András szundi at gmail.com
Fri Nov 3 06:26:50 MST 2006


Hi!

Maybe you can help me.

I want to tell asterisk to simply pass-through any codecs that my phones
support. I have to use codecs that are not popular and implemented by a
third-party, asterisk has nothing to do with them.

I've made a test with g722, i've set all my two snom 300 phones to support
only g722 and asterisk declined the sip invitation. That is bad for me. Is
it possible that asterisk asks the called phone not the codecs that asterisk
supports but the codecs that the calling phone supports?

What i want:

phone1->asterisk: hello, i'm calling phone2, codecs possible: g722
asterisk->phone2: hello, you have a call from phone1, codecs possible: g722
phone2->asterisk: ok, let it be g722
... chit chat ...

But asterisk does this:

phone1->asterisk: hello, i'm calling phone2, codecs possible: g722
asterisk->phone2: hello, you have a call from phone1, codecs possible: alaw,
ulaw etc. (but not g722)
phone2->asterisk: no way, media not supported! (cannot agree in a codec)
asterisk->phone1: beep beep beep

Any ideas? Is it possible? Is it not possible?
I've searched over voip-info.org, asterisk docs and coundn't find anything
about the exact configuration.

Thanks!
András
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061103/806cc6c0/attachment.htm


More information about the asterisk-users mailing list