<div dir="ltr"><div>Hi everyone,</div><div><br></div><div>The main goal of the channel is to make or receive call from another channel (mainly SIP)</div><div>I writing a custom channel I have now something working with codec "alaw"</div><div>When I add multiple codecs Asterisk's core "negociate" the good codec and give it in the "request" function then I can know wich codec I have to use. (maybe it is not asterisk's core wich do this?)</div><div>When the call comes from my channel, I can'tknwo which codec will be used by the other channel...</div><div><br></div><div>I tried to read chan_sip and chan_iax2 as I did to write my custom channel, but I could'n see what to do...</div><div><br></div><div>thanks for any help and feel free to ask anything about my problem if I was not clear enough.</div><div>Aurèle</div></div>