Hello All,
I am using kazoo as a PBX on our local machine and trying to configure SIP trunk on it. The SIP trunk provider are the local telco company in India which are providing us with the sip credentials and a dedicated VLAN connection between our kazoo server and there SIP server. So I have two questions regarding this configuration:
Ques1:
I have two NIC on my kazoo pbx, out of which one is connected with our local LAN network and the other one is connected with there VLAN network as given below:
eth0: inet addr:192.168.1.109 Bcast:192.168.1.255 Mask:255.255.255.0 ---> LAN
eth1: inet addr:10.16.82.132 Bcast:10.16.82.167 Mask:255.255.255.252 ---> VLAN
My kazoo server is running on the local IP ie:192.168.1.109 and I have added offnet document for the SIP truck with the following IP 10.16.82.134 . But when I am making outbound call I found that kazoo is sending Invite to the SIP trunk(10.16.82.134 ) with its local IP in the SDP(192.168.1.109). So due to which, I think kazoo is not getting any response from the SIP trunk and hence the calls are failed. So please let me know the best way to configure it with the above scenario.
Ques2:
They have provided me some sip credentials which contains username, password,realm and proxy. And if I configure these settings in the SIP client on my laptop and connect it to the same VLAN, I am able to make call successfully. I have checked there documentation and they will need Invite in the format shown below:
INVITE sip:username@realm SIP/2.0
But my kazoo server is sending in the following format:
INVITE sip:username@proxy SIP/2.0
So, Is there any way I can send the invite as per the required format?
Thanks
Vinay