[asterisk-users] Need help to strip variable

Philipp Kempgen philipp.kempgen at amooma.de
Thu Mar 29 21:44:55 MST 2007


van Leen, Phil wrote:

> EG:
> With $(SIPURI) I want to keep just the sip number and delete the remainder
> '@server.com'.
> 
> Ideally I'd like to use 'SayDigits($(sipuri[- at server.com])'

Maybe
Set(without_host=CUT(${SIPURI},@,1))
?

Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
     Let's use IT to solve problems and not to create new ones.
           Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998


More information about the asterisk-users mailing list