On Tuesday 09 Dec 2014, Daniel Gonzalez wrote:
> Hi,
>
> Let's say I do:
>
> Set(data=xxx,yyy)
> Gosub(my-sub,s,1(${data}))
>
> My subroutine will only receive "xxx" for ARG1. How can I pass a literal
> with a comma to a single argument in a subroutine?
>
> (The point is: when calling the subroutine I do not know if the variable
> has a comma or not.)
What happens if you use speech marks around the variable, like so: "${data}" ?
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
--
_____________________________________________________________________
-- 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