[asterisk-users] Passing literals with commas to subroutine

Daniel Gonzalez gonvaled at gonvaled.com
Tue Dec 9 03:44:39 CST 2014


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.)

Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141209/46621939/attachment.html>


More information about the asterisk-users mailing list