Vieri schrieb:
> I'm using Set(RETURN_EXT=${BLINDTRANSFER:4:4})
> but that assumes that I have only 4-digit extensions
Well, skip the length argument (the second ":4").
> and all have the same prefix (SIP/).
> Is there a more "portable" way?
Set(RETURN_EXT=CUT(BLINDTRANSFER,/,2));
Philipp Kempgen
--
AMOOCON 2009, May 4-5, Rostock / Germany -> http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
--
_______________________________________________
-- 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