[asterisk-users] Is there a way to force a codec on an incoming sip uri call?
Martin
asterisklist at callthem.info
Tue Oct 20 21:00:00 CDT 2009
long time ago I added the "SIP_CODEC" variable that you can set from
within the dialplan, eg:
exten => s,1,Set(SIP_CODEC=alaw)
exten => s,n,Answer
exten => s,n,whatever
now if the remote side actually supports the chosen codec Asterisk
will try to use that one ...
there's no error reporting as far as I know
Martin
On Tue, Oct 20, 2009 at 5:26 PM, Eric Chamberlain <eric at rf.com> wrote:
> Hello,
>
> I'd like to implement some public sip uri's that poeple can call into
> and get an echo test. Is there a way to force a codec so that users
> can test various codecs?
>
> Something like:
>
> echo-test at example.com (negotiates whatever codec, is there a way to
> figure out what codec was negotiated and tell the user)
> echo-test-g711 at example.com (forces g711)
> echo-test-g729 at example.com (forces g729)
> echo-test-gsm at example.com (forces gsm)
> ...
> echo-test-ilbc at example.com (forces ilbc)
>
> --
> Eric Chamberlain, Founder
> RF.com - http://RF.com/
>
>
>
>
>
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list