[Serusers] preferred order of codecs?

Andrey Kouprianov andrey.kouprianov at gmail.com
Tue Aug 22 15:56:14 CEST 2006


i agree with the "search first" part :)

On 8/22/06, Alexandr Dubovikov <shurik at start4.info> wrote:
> On Tue, Aug 22, 2006 at 08:20:10PM +0700, Andrey Kouprianov wrote:
> > What if SIP client on the other end does not support that codec? Of
> > course, I understand that u and a-law are mandatory for every SIP
> > client, but let's pretend that some clients just support 1 or maximum
> > 2 codes. This substituting stuff is like playing with fire :P
>
> in this case subst will not works, because we are looking at " 8" payload.
> anyway he can at first make a search and after it make a replace (subst) :-)
>
>
>
> >
> >  Andrey.
> >
> > >
> > >subst(/^m=audio(.*)RTP\/AVP(.*) 8/m=audio\1RTP\/AVP 8\2/i);
>                                ^^^^
>
> Wbr,
> --
> Alexandr Dubovikov * baron at iRC RusNet * mailto:shurik at start4.info
>    AD1-UANIC      *  ICQ: 122351182  *  http://www.start4.info
>



More information about the sr-users mailing list