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. _______________________________________________ -- 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