I thought i would update my status here. So finally i got SIP working. But i am not quite sure how my last issue got solved on its own.. But i noticed one difference when things started working, that is i started getting IP in the range 10.139.39.x instead of 10.139.0.x
So my setup is as follows,
Netlink ONT -> Both WAN profiles in Bridge mode WITHOUT any port mapping, as per comment from
@varkey i bound Vlans to port2 ( in my case 135 and 1831 ).
Routing is done in
Archer c6 flashed with openwrt, For voice i did following steps
1) Added a Vlan ( inside Network -> switches ) and tagged CPU and WAN port ( to which i connected ONT )
2) In interface added a DHCP client interface which uses the above VLAN
3) Added a static route for 10.187.6.0 with
mask as 255.255.255.0 and set its gateway to 10.139.36.1 ( which is the gateway i get on my VOIP DHCP )
4) Setup SIPROXD config in openwrt like varkey mentioned.
5) Installed Zoiper, VOIP Regn server : 10.187.6.12
I did struggle with password which was last 4 digits of my phone number
before starting this setup, i had downloaded the configs from ONT ( that lastgood file ) and as per it my pwd was different so i kept on trying it. But eventually realized its wrong and correct one is 4 digits of my username. So the last good isnt actually the latest config i guess.
Then i set outbound proxy as my
router address
All is good now, downloaded zoiper in
android too and its working. But i did notice call drops, and timeout etc frequently not sure if its because of the load on Siproxd running on router, have to figure it out..
But yeah atleast its workign now.