[Freeswitch-users] [CS_NEW] [WRONG_CALL_STATE]

Rajil Saraswat rajil.s at gmail.com
Thu Jul 30 07:38:34 MSD 2015


Hello,

I have two freeswitch servers connected over vpn like the following:

FS A <> openvpn<> FS B

Server A has the ip address 172.16.1.2
Server B has the ip address 192.16.1.2
openvpn gateway is on 10.8.0.1

Both the servers have the common acl defined to not nat the above
addresses like following:

<list name="nat.auto" default="deny">
    <node type="deny" cidr="10.8.0.0/24"/>
    <node type="deny" cidr="172.16.1.0/24"/>
    <node type="deny" cidr="192.168.1.0/24"/>
</list>


<list name="localnet.auto" default="deny">
       <node type="allow" cidr="172.16.1.0/24"/>
       <node type="allow" cidr="10.8.0.0/24"/>
       <node type="allow" cidr="192.168.1.0/24"/>
</list>


I am able to call the extensions on server B from server A. However if
i try calling the extension on server A from server B i get an error
of [CS_NEW] [WRONG_CALL_STATE]. The only way i can make a successful
call from B to A is when i add the network of B in the acl on server A
as follows:

<list name="domains" default="deny">
<node type="allow" domain="$${domain}"/>
<node type="allow" cidr="192.168.1.0/24"/>


Is there a reason why i need to do this?

Thanks
Rajil



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list