Forcing Codec on Asterisk

I have tried using below to FORCE codec on asterisk, some time it works, would like to get feedback from others also on it.

exten => 15672446007,1,SetVar,canreinvite=no
exten => 15672446007,2,SetVar,SIP_CODEC=ilbc
exten => 15672446007,3,Dial(SIP/101010@

Created by: rehan, Last modification: Fri 05 of Nov, 2010 (22:06 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+