I am not sure where is the problem. All the call forwarded from the gateway is going to FS. However, it seems the call cannot go to the correct SIP phone. All are in public context. What dialplan should I put?
The following are not work examples. All are in public folder.
<extension name="NWT_DID_31754101">
<condition field="destination_number" expression="31754101">
<action application="bridge" data="sofia/external/31754101@203.194.134.91"/>
</condition>
</extension>
<extension name="NWT_DID_31754102">
<condition field="context" expression="public"/>
<condition field="destination_number" expression="31754102">
<action application="transfer" data="$31754102 XML default"/>
</condition>
</extension>