[Asterisk-Dev] codec negotiation issue

Kevin P. Fleming kpfleming at starnetworks.us
Thu Mar 24 11:22:31 MST 2005


Michael Giagnocavo wrote:

> Because your system might have better knowledge of where the call will
> terminate. In the original posters case, he has phones that support GSM or
> ULAW. However, when dialing a specific extension, "he" knows that the call
> will goto a ULAW termination point, and thus should negotiate ULAW the whole
> way.

OK, but is there a reason why this would not be doable using codec 
renegotiation after the initial channel is constructed? I know we aren't 
doing that today, but it _will_ be in Asterisk as soon as I can get it 
there.

> In my case, my provider sends me DIDs and will send in any format I prefer.
> The DIDs are assigned to various customers, some GSM, some ULAW, some G729,
> and some iLBC. In my database, I know which DID is assigned to which
> customer. I also know about call forwarding, etc. So, I'll dispatch a SOAP
> call to find the codec to use, and then negotiate that, right there in the
> NEW call. 
That makes sense.



More information about the asterisk-dev mailing list