I have installed Asterisk on a Virtual Machine running on a Windows Server.
I created 2 users and used two twinkles on different machine in same network (but different sub-network) to connect to asterisk.
Both are registered and can make call to each other and sound is ok.
Now I have a Siemens Hipath Server in same network. I am registering my asterisk as a client to this Hipath server. Asterisk is successfully connected to Hipath as a client.
When I try to call from twinkle to my mobile number call is made and received successfully but there is no audio.
so it looks like
twinkle (1000) -> windows server (192.168.1.A) -> VM (192.168.131.B) -> Asterisk on VM -> Asterisk as a client to Hipath (192.168.146.C)-> Hipath transfer call to Mobile.
I have written below code in [general] in sip.conf
register=> : @<ip of hipath server (192.168.146.C)> /
externip=(192.168.1.A) ;;ip of windows server
localnet = 192.XXX.XXX.XXX/255.255.XXX.XXX ;; replaced XXX with my subnet specific things.
;;created one dummy user
context = hipath
;;user registered to hipath
insecure=port,invite ; This Do The Magic
fromdomain=<ip of hipath server (192.168.146.C)>
host=<ip of hipath server (192.168.146.C)>
rules are written in extension.conf
So in short call is received at mobile phone but there is no audio.
please suggest what is the problem and how to solve it?