how to change the ServiceCenter to another sender of the MessageSend application:
this is my dialplan and everything works fine :
exten => _8XXXXXXX,1,NoOp(SMS receiving dialplan invoked)
same => n,Set(ACTUALTO=${CUT(MESSAGE(to),@,1)})
same => n,MessageSend(${ACTUALTO},${MESSAGE(from)})
same => n,NoOp(Send status : {== ${MESSAGE_SEND_STATUS} ==})
same => n,GotoIf($["${MESSAGE_SEND_STATUS}" != “SUCCESS”]?sendfailedmsg)
same => n,Hangup()
same => n(sendfailedmsg),Set(MESSAGE(body)="[${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)}] Your message to ${EXTEN} has failed. Retry later.")
same => n,Set(ME_1=${CUT(MESSAGE(from),<,2)})
same => n,Set(ACTUALFROM=${CUT(ME_1,@,1)})
same => n,MessageSend(${ACTUALFROM}, ServiceCenter)
same => n,Hangup()
so on this line : same => n,MessageSend(${ACTUALFROM}, ServiceCenter) i’d like to change the sender.
by default when the message is not delivered to a user, asterisk send a message stating that the message wasn’t send. i want to send that message with another user not asterisk !!
thanks for your help