Hi!
I try to get rid of some part of CALLERID(name) but I cant realy figure out a
way to do it.
For example: CALLERID(name) = "Martela (fax)" I am just looking for the part
before “ (“ in my case “Martela”.
I can’t serch for “ “, could be many “ “, but only one “ (“, thought i could do
something like:
exten => 0424449631,n,NoOp(${CUT(CALLERID(name),\(,1):0:-1})
But that gave me “Martela “ so my way of doing it is wrong.
Any that can tell me what I am doing wrong or have any better suggestion howto
do it?
/Magnus--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users