Hello everyone,
I’m having hard time fixing a problem regarding sending SIP message with MessageSend()
I have configured asterisk as a simple gsm gatway, the server is connected to my home router via Wifi with a static IP 192.168.1.222
All is working fine when i connect to asterisk from sophtphone in the local network.
in order to have remote acces i installed OpenVpn server in the same machine, now i can connect to asterisk from the internet using vpn and i can make and recive calls, however, i get a FAILURE from the MessageSend(sip:200,asterisk) (200 is the username for the sip account).
I tried to use
MessageSend(sip:200@10.8.0.2,asterisk)
MessageSend(sip:10.8.0.2,asterisk)
where 10.8.0.2 is the vpn Ip of the softphone, i get SUCCESS as Message send status but the message is not delevred to the sip client.
can someone help me fix this issue