[asterisk-users] Codec Negotiation
Douglas Garstang
dgarstang at oneeighty.com
Mon Jul 17 11:09:07 MST 2006
> -----Original Message-----
> From: Martin Joseph [mailto:ast at stillnewt.org]
> Sent: Monday, July 17, 2006 11:40 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Codec Negotiation
>
>
>
> On Jul 17, 2006, at 9:25 AM, Douglas Garstang wrote:
>
> > I have two polycom phones. One on a slow link, and one on a
> fast one.
> > I'm trying to set the phone on the slow link to use G729 as
> it's first
> > preference, and the phone on the fast link to use G711 as
> it's first
> > preference.
> >
> > sip.conf has:
> > [general]
> > allow=ulaw
> > allow=g729
> >
> > [slow-link] ; Override codecs for slow link phone.
> > allow = g729
> > allow = ulaw
> >
> > When the slow link phone dialls the fast link phone, it
> sends G729 as
> > it's first preference in the INVITE to Asterisk. Asterisk
> then sends
> > G729 as the first preference in the INVITE to the fast link
> phone. Why
> > doesn't Asterisk send G711 instead?
> Because you set the calling to prefer g729? What did you expect?
I expected Asterisk to send G711 instead, as that's what is set in [general] in sip.conf
More information about the asterisk-users
mailing list