Displaying 1 result from an estimated 1 matches for "goip_sendsm".
Did you mean:
goip_sendsms
2014 Dec 29
0
Commas is variables problem
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...