I am assuming you made a profile in sip.conf like so
[sipdevice]
type=peer
host=x.x.x.x
...
.
.
disallow=all
allow=ulaw
and in extensions.conf
exten => _X.,1,Dial(SIP/sipdevice/${EXTEN})
then this MUST work. :)
you can do a sip debug or set debug 10
yusuf
Matt wrote:> Hi,
> How do I specify a codec to use for a SIP call?
>
> IE.. If I'm doing Dial(SIP/blah) for some reason the call is
> connecting using the codec at the bottom of my allow list rather then
> top (G711u)... and I'd like to force it to G711u if possible.
> _______________________________________________
> --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
>