[asterisk-users] Cut function on semicolon separator

Koen Van Impe koenvi at gmail.com
Thu Nov 30 03:31:31 MST 2006


All,

The last Peter got it right! :-)
The final solution:

exten => s,n,Set(sep='\;')
exten => s,n,NoOp(${CUT(v,${sep},1)})

Thanks for you input and have a very nice day!

Koen


On 11/30/06, Peter Boehm <pboehm at hgsoftware.de> wrote:
>
> > _The functions:_
> > exten => s,n,Set(sep=';')
> > exten => s,n,NoOp(${CUT(v,${sep},1)})
>
> Have you tried to put a '\' in front of the ';': Set(sep='\;')?
>
> Peter
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061130/1c9cb95b/attachment.htm


More information about the asterisk-users mailing list