On Thu, Mar 17, 2005 at 02:06:24PM -0600, B. J. Bomar wrote: > Try using the Cut application. For your example channel you can use the > following. > > exten => whatever,n,Cut(my_variable=CHANNEL,@,1)
Thanks, I thought of that, but it doesn't account for cases like Zap/1 that becomes Zap/1-1 in the ${CHANNEL} variable because the convention seems to change from '@' to '-'. It means I can't write a "generic" translation. Thanks, Thomas _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users