You can use SIP_CODEC variable. Read README.variables file.
On 11/18/06, Mark Price <markprice@gmail.com>
wrote:>
> Hi,
>
> My pstn provider is currently set up so that when asterisk sends an
> outbound SIP call to them,
> if sip.conf says:
> [general]
> allow=g729,ulaw
>
> then it always picks ulaw, even though g729 is listed first.
>
> However, if sip.conf says:
> [general]
> allow=g729
>
> then g729 is chosen.
>
> Dial(9768675309@sipprovider.net
>
> How can I force calls to this sip domain to use g729?
>
> Mark
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20061117/c98a9a9f/attachment.htm