Send message to certian contact

I can send message from user2 to user1 with this
exten =>23,1,MessageSend(pjsip:User1@,User2)

so user1 can register from multiple device and I want to send message to specific device .when user1 register from any device I want to save contact info and send message to her with contact info .for example this is contact info
I test this but not working

I found the solution .all connection created with transport is ws and this is work

exten =>23,1,MessageSend(pjsip:User1/sip:j6ms711v@\;transport=ws,User2)

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