Hi,

> -----Original Message-----
> exten => 0,11,System("/scripts/sendSMS.pl -r 17083519199 -p 
> TMOBILE -s operator -m ${CALLERID}") exten => 0,12,Hangup
> 
> and this is the error:
> 
>  -- Executing System("SIP/192.168.0.3-0891abc8", 
> ""/scripts/sendSMS.pl -r
> 17083519199 -p TMOBILE -s operator -m "Bartosz Wegrzyn" 
> <7734660101>"") in new stack
> /bin/sh: line 1: /scripts/sendSMS.pl -r 17083519199 -p 
> TMOBILE -s operator -m Bartosz: No such file or directory
> 
> The script is not working because of the "<>" characters in caller ID.
> Is there any way to change that so asterisk will pass the 
> variables without ""<> characters.

In addition to other responses, why don't you try passing ${CALLERIDNUM}
instead of ${CALLERID} :-)

Best regards,
Florian

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to