Freeswitch bypassing gateway
Hello All, I am trying to configure my Freeswitch to initiate the call leg through gateway only. If I use <action application="bridge" data="sofia/gateway/LocalTelco/1000"/> It is working fine and forwarding the call to "LocalTelco" for 1000. but whenever i add domain with user part such as <action application="bridge" data="sofia/gateway/LocalTelco/1000@mydomain.com"/> it is bypassing the "LocalTelco" and forwarding call directly to "mydomain.com". Please let me know if it is possible to forward calls through gateway even if the domain is present. Any insight is welcomed! Thanks & Regards, Shahnawaj Khan
Hi Shahnawaj, Not sure what you are trying to do, but this may work for you: <action application="export" data="nolocal:sip_invite_full_to=sip:1000@mydomain.com/ <sip:1000@mydomain.com/>> <action application="bridge" data="sofia/gateway/LocalTelco/1000"/> Best Regards Keith
On 13 Jul 2020, at 15:44, Shahnawaj Khan <shahnawaj.khan1990@gmail.com> wrote:
Hello All,
I am trying to configure my Freeswitch to initiate the call leg through gateway only. If I use <action application="bridge" data="sofia/gateway/LocalTelco/1000"/> It is working fine and forwarding the call to "LocalTelco" for 1000.
but whenever i add domain with user part such as <action application="bridge" data="sofia/gateway/LocalTelco/1000@mydomain.com"/> it is bypassing the "LocalTelco" and forwarding call directly to "mydomain.com". Please let me know if it is possible to forward calls through gateway even if the domain is present.
Any insight is welcomed!
Thanks & Regards, Shahnawaj Khan
_________________________________________________________________________
Look into gateway config for proxy On Thu, 23 Jul 2020 at 02:33, Keith Laaks <wklaaks@gmail.com> wrote:
Hi Shahnawaj,
Not sure what you are trying to do, but this may work for you:
<action application="export" data="nolocal:sip_invite_full_to= sip:1000@mydomain.com/> <action application="bridge" data="sofia/gateway/LocalTelco/1000"/>
Best Regards Keith
On 13 Jul 2020, at 15:44, Shahnawaj Khan <shahnawaj.khan1990@gmail.com> wrote:
Hello All,
I am trying to configure my Freeswitch to initiate the call leg through gateway only. If I use <action application="bridge" data="sofia/gateway/LocalTelco/1000"/> It is working fine and forwarding the call to "LocalTelco" for 1000.
but whenever i add domain with user part such as <action application="bridge" data=" sofia/gateway/LocalTelco/1000@mydomain.com"/> it is bypassing the "LocalTelco" and forwarding call directly to "mydomain.com". Please let me know if it is possible to forward calls through gateway even if the domain is present.
Any insight is welcomed!
Thanks & Regards, Shahnawaj Khan
_________________________________________________________________________
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
participants (3)
-
David Villasmil
-
Keith Laaks
-
Shahnawaj Khan