Hi, I'm running into a strange problem with commas is variables. I have the following contexts: [messages] exten => _+.,1,Noop(External SMS) same => n,Set(ACTUALTO=${CUT(CUT(MESSAGE(to),@,1),:,2)}) same => n,Macro(goip_sendsms,${ACTUALTO},"${MESSAGE(body)}") same => n,Hangup() [macro-goip_sendsms] ;Call Macro(goip_sendsms,number,message) exten => s,1,Noop(SMS via GOIP) same => n,Set(MESSAGE(body)="${URIDECODE(${ARG1}%0A${ARG2})}") same => n,MessageSend(sip:goip) When I send Test,test through this, the receiver gets an SMS saying "Test" The console shows -- Executing [+3584172xxxxx at messages:1] NoOp("Message/ast_msg_queue", "External SMS") in new stack -- Executing [+3584172xxxxx at messages:2] Set("Message/ast_msg_queue", "ACTUALTO=+3584172xxxxx") in new stack -- Executing [+3584172xxxxx at messages:3] Macro("Message/ast_msg_queue", "goip_sendsms,+3584172xxxxx,"Test,test"") in new stack -- Executing [s at macro-goip_sendsms:1] NoOp("Message/ast_msg_queue", "SMS via GOIP") in new stack -- Executing [s at macro-goip_sendsms:2] Set("Message/ast_msg_queue", "MESSAGE(body)="+3584172xxxxx -- "Test"") in new stack -- Executing [s at macro-goip_sendsms:3] MessageSend("Message/ast_msg_queue", "sip:goip") in new stack -- Executing [+3584172xxxxx at messages:4] Hangup("Message/ast_msg_queue", "") in new stack == Spawn extension (messages, +3584172xxxxx, 4) exited non-zero on 'Message/ast_msg_queue' Is there a way to make * ignore the comma in the string here? -S -- (o_ Stefan Gofferje | SCLT, MCP, CCSA //\ Reg'd Linux User #247167 | VCP #2263 V_/_ Heckler & Koch - the original point and click interface -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4079 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141229/70d0b83f/attachment.bin>