I have installed asterisk on my virtual machine (Ubuntu 22.04.5 LTS) and configured for two callers. one is MicroSIP which is installed on my base machine (Lenovo ThinkPad, Windows 10 Pro), and the second one is Mizudroid which is installed on my android mobile (Samsung Galaxy A23 5G). All the devices are on the same network.
Call from Mizudroid to MicroSIP is working and I can see the relevant logs in asterisk, but the call from MicroSIP to Mizudroid is not working (getting Request Timedout error all the time). And I am not seeing any log entry while calling from MicroSIP to Mizudroid.
Here are the version details:
Asterisk: 18.10.0
Mizudroid: 4.0.44
MicroSIP: 3.21.5
Please note that my Windows Defender Firewall is set as OFF now, and when it was ON then I tried add rules for astersik port and port range 10000 to 25000. But no luck.
I have tried to test with changing Transport Protocol too, nothing worked. So, how can I solve this case?
here are the changes which I made related to asterisk config files:
ari.conf : added user entry with type = user, read_only = no, password = **** (created for two users: 7001 & 7002)
sip.conf : created settings like below
[general]
context=public
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
qualify=yes
nat=yes
externip=**.***.***.*** // given proper ip
externaddr=**.***.***.*** // given proper ip
localnet=192.168.178.0/255.255.255.0
[7001] // MicroSIP user
type=friend
host=dynamic
username=7001
secret=7001
context=sample
disallow=all
allow=ulaw,alaw
[7002] // Mizudroid user
type=friend
host=dynamic
username=7002
secret=7002
context=sample
disallow=all
allow=ulaw,alaw
extensions.conf : created settings like below
[sample]
exten => 7001,1,Answer()
exten => 7001,2,Dial(SIP/7001,60)
exten => 7001,3,Playback(vm-nobodyavail)
exten => 7001,4,VoiceMail(7001@main)
exten => 7001,5,Hangup()
exten => 7002,1,Answer()
exten => 7002,2,Dial(SIP/7002,60)
exten => 7002,3,Playback(vm-nobodyavail)
exten => 7002,4,VoiceMail(7002@main)
exten => 7002,5,Hangup()