Set CallerID Issue

Hi,
I want to set a caller ID & i have set as well as per best of my knowledge of asterisk, but when i do it i get error in asterisk CLI

-- Executing [442081447512@smart:1] Set("SIP/cc200-0000000d", "gsm,cc200-442081447626-20151005-150142,mb") in new stack [Oct 5 15:01:42] WARNING[3153][C-00000008]: pbx.c:11722 pbx_builtin_setvar: Set requires an '=' to be a valid assignment. -- Executing [442081447512@smart:2] Monitor("SIP/cc200-0000000d", "gsm,cc200-442081447626-20151005-150142,mb") in new stack -- Executing [442081447512@smart:3] Dial("SIP/cc200-0000000d", "sip/442081447512@msthintechnologies,50,o") in new stack

in SIP.conf i have

[cc200] username=cc200 secret=tester accountcode=cc200 callerid="cc200" <cc200> mailbox=200 context=smart type=friend host=dynamic

in extensions.conf i have

[code]

[smart]
exten => 447940719031,1,Hangup
exten => 447990741790,1,Hangup
exten => 442087677996,1,Hangup
exten => _44[1-6].,1,Set(gsm,${CALLERID(num)=4420814475626}-${EXTEN}-${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)},mb)
exten => _44[1-6].,2,Monitor(gsm,${CALLERID(num)=442081447626}-${EXTEN}-${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)},mb)
exten => _44[1-6].,3,Dial(sip/${EXTEN}@msthintechnoloiges,50,o)
exten => _44[1-6].,5,Dial(sip/${EXTEN}@promobile,50,o)
exten => _44[1-6].,6,Dial(sip/${EXTEN}@msthintech,50,o)
exten => _44[1-6].,7,Hangup
exten => _44[7-9].,1,Set(gsm,${CALLERID(num)=442081447626}-${EXTEN}-${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)},mb)
exten => _44[7-9].,2,Monitor(gsm,${CALLERID(num)=442081447626}-${EXTEN}-${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)},mb)
exten => _44[7-9].,3,Dial(sip/${EXTEN}@msthintechnologies,50,o)
exten => _44[7-9].,4,Dial(sip/${EXTEN}@othermobile,50,o)
exten => _44[7-9].,5,Dial(sip/${EXTEN}@promobile,50,0)
exten => _44[7-9].,6,Dial(sip/${EXTEN}@msthintech,50,0)
exten => _44[7-9].,7,Hangup
include => app-chanspy-custom[/code]

Where am i going wrong. Looking forward to your help.

Thanks

The syntax of the Set application parameters is completely wrong. It is so wrong that I can’t work out what it was supposed to be.

The comma, $ and { are all problematic and there is no built-in function called gsm,CALLERID, gsmCALLERID, or any other permutation that I can think of.

(The lack of } is probably causing the error message, but the problems are deeper than that.