Hi Folks, I'm curious if there's anyway to force Asterisk to transcode for certain handsets. Specifically we have an inbound SIP origination service which uses g711. We're having bandwidth issues with a client and would like to force Asterisk to transcode to g729 until we can get their T1 in place. Any ideas?
Well, in some handsets configuration you will see something like: [ ] FORCE USE OF PREFERRED CODEC James Taylor 1-903-793-1956 ----- Original Message ----- From: "Mr. Jones" <worldsense@gmail.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Thursday, September 28, 2006 4:10 PM Subject: [asterisk-users] Forcing Transcode> Hi Folks, > > I'm curious if there's anyway to force Asterisk to transcode for > certain handsets. > > Specifically we have an inbound SIP origination service which uses g711. > > We're having bandwidth issues with a client and would like to force > Asterisk to transcode to g729 until we can get their T1 in place. > > Any ideas? > _______________________________________________ > --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 >
Mr. Jones wrote:> Hi Folks, > > I'm curious if there's anyway to force Asterisk to transcode for > certain handsets.All you need is to edit your sip.conf and force the codec per user entry: [your entry here] disallow=all allow=g729> > Specifically we have an inbound SIP origination service which uses g711. > > We're having bandwidth issues with a client and would like to force > Asterisk to transcode to g729 until we can get their T1 in place. > > Any ideas? > _______________________________________________ > --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 > >-- Andres Technical Support http://www.telesip.net
Sure in their sip definition disallow=all allow=g729 Bill -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Mr. Jones Sent: Thursday, September 28, 2006 5:10 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Forcing Transcode Hi Folks, I'm curious if there's anyway to force Asterisk to transcode for certain handsets. Specifically we have an inbound SIP origination service which uses g711. We're having bandwidth issues with a client and would like to force Asterisk to transcode to g729 until we can get their T1 in place. Any ideas? _______________________________________________ --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
On Thu, 2006-09-28 at 14:10 -0700, Mr. Jones wrote:> Hi Folks, > > I'm curious if there's anyway to force Asterisk to transcode for > certain handsets. > > Specifically we have an inbound SIP origination service which uses g711. > > We're having bandwidth issues with a client and would like to force > Asterisk to transcode to g729 until we can get their T1 in place.I'm not entirely sure I understand. Do you want certain sip peers to only ever use g729 (no matter what the other leg of the call uses) ? Then asterisk would (have to) transcode. Have you tried setting disallow=all allow=g729 in the peers' section in sip.conf?
Erm, I think what the OP was referring to was something like this: ______________ ______________________ _________________________ A. SIP service---------->B. His Asterisk install------------->C. His customer's install-----------> Enduser handsets ______________ ______________________ _________________________ A. uses G.711 B. uses G.711 C. uses G.711 What he wants to do: A. uses G.711 B. transcodes to G.729 C. uses G.729 I don't know the answer, but this is what I read. -----Original Message----- From: Bill Gibbs [mailto:bgibbs@edurotech.com] Sent: Thursday, September 28, 2006 4:24 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] Forcing Transcode Sure in their sip definition disallow=all allow=g729 Bill -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Mr. Jones Sent: Thursday, September 28, 2006 5:10 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Forcing Transcode Hi Folks, I'm curious if there's anyway to force Asterisk to transcode for certain handsets. Specifically we have an inbound SIP origination service which uses g711. We're having bandwidth issues with a client and would like to force Asterisk to transcode to g729 until we can get their T1 in place. Any ideas? _______________________________________________ --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 _______________________________________________ --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