Is there a way to force Zap channels to only use ulaw, and not even attempt g729 negotiation? My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I'm not licensed for the codec on the asterisk box. ________________________________ This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080414/253d16d4/attachment.htm
This is SIP channel you need to limit. Forcing ulaw only, the Polycom will fall back to ulaw. Per peer, in your sip.conf: disallow=all allow=ulaw ________________________________ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeremy Mann Sent: Monday, April 14, 2008 14:39 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Zap Codec Is there a way to force Zap channels to only use ulaw, and not even attempt g729 negotiation? My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I'm not licensed for the codec on the asterisk box. ________________________________ This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080414/d12fb6dc/attachment.htm
That would work just spiffy if you are calling another SIP device, but by the time the call gets to that point in the dialplan the codec of the originating device has already been chosen and set in stone. Tilghman Lesher wrote:> On Tuesday 15 April 2008 07:40:47 Jeremy Mann wrote: >> But I want my polycom to attempt g729 on SIPPEER-SIPPEER calls, I only want >> ulaw used when SIPPEER-ZAP is the case. > > Set(_SIP_CODEC=ulaw) > Dial(Zap/g0/...) >-- Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, T-1, PRI, Frame Relay, Linux, and network design. Based near Birmingham, AL. Now accepting clients worldwide.
In the sip peer definition, disallow=all allow=g729 allow=ulaw SHOULD work. Asterisk can't transcode g729, so it should fall on ulaw for the ZAP calls. But, when your polycoms talk with each other, as long as all necessary REINVITEs happen, they should use the 729 codec I believe. Remember however, that many options to the Dial application, like t,w,m,k (or so) REQURE asterisk to remain in the media path. moj Jeremy Mann wrote:> Is there a way to force Zap channels to only use ulaw, and not even attempt g729 negotiation? > > My polycom 550 has G729,ulaw as priority, the Zap always fails b/c I'm not licensed for the codec on the asterisk box. > > ________________________________ > This e-mail, facsimile, or letter and any files or attachments transmitted with it contains information that is confidential and privileged. This information is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please notify Texas Health Management Group immediately at 1-817-310-4999. Texas Health Management Group, its subsidiaries, and affiliates hereby claim all applicable privileges related to this information. > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- 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-- *Mojo Wentworth* HORAN & COMPANY, LLC 403 Lincoln Street, Suite 210 Sitka, AK 99835 (907) 747-6666 (907) 747-7417 - Fax mojo at horanappraisals.com