Asterisk IM Message extensions.conf/sip.conf[SLOVED]

iam new on asterisk,
i want use asterisk im in zoiper phone client,
i found some configration but i cant send message to another extensions,i can make call between 2 extension,
any one can share extensions.conf and sip.conf?
and its all of config needed for send and receive im?
thank you

Thanks all sloved!
exten => send_msg,1,NoOp()
same => n,Answer()
same => n,Set(MESSAGE_DATA(X-Movial-Content)=application/x-movial-control;forwarding=true)
same => n,MessageSend(sip:
same => n,Hangup()

; = SIP MESSAGE only works if in sip.conf “accept_outofcall_message=yes” is set! =
exten => _.,1,GotoIf([{LEN({MESSAGE(from)})} < 1]?nomessage) exten => _.,n,NoOp(Message from: {MESSAGE(from)})
exten => _.,n,NoOp(Message to: {MESSAGE(to)}) exten => _.,n,NoOp(Message body: {MESSAGE(body)})
exten => _.,n,Set(ACTUALTO={CUT(MESSAGE(to),@,1)}) exten => _.,n,MessageSend({ACTUALTO},{MESSAGE(from)}) ;exten => _.,n,NoOp(Send status is {MESSAGE_SEND_STATUS})
;exten => _.,n,GotoIf(["{MESSAGE_SEND_STATUS}" != “SUCCESS”]?sendfailedmsg)
exten => _.,n,GotoIf(["{MESSAGE_SEND_STATUS}" != “SUCCESS”]?sendfailedmsg)
exten => _.,n,Hangup()
; Handle failed messaging
exten => _.,n(sendfailedmsg),Set(MESSAGE(body)="[{STRFTIME({EPOCH},%d%m%Y-%H:%M:%S)}] Your message to {EXTEN} has failed. Retry later.") exten => _.,n,Set(ME_1={CUT(MESSAGE(from),<,2)})
exten => _.,n,Set(ACTUALFROM={CUT(ME_1,@,1)}) exten => _.,n,MessageSend({ACTUALFROM},ServiceCenter)
exten => _.,n,Hangup()

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.