Hi Magnus,

> 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?

I think you are not able to do it in one step. Can you try something like this:

exten => 0424449631,n,Set(TESTING=${CUT(CALLERID(name),\(,1)})
exten => 0424449631,n,NoOp(${TESTING:0:-1})

Best regards,
Jeroen Eeuwes

--
_____________________________________________________________________
-- 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

Reply via email to