outbound calls from one freeswitch to another
Hello, I have two freeswitch boxes. They are in two different locations, but both are connected through a VPN. I am looking to send all calls from one freeswitch to another. I was able to get inbound routing working with each other. The problem is when freeswitch1 wants to make an outbound call to the PSTN out of freeswitch2. What do I have tried to add the IP 10.41.100.2 to the ACL and that did not work. What am I missing? 2020-05-27 10:50:37.774914 [WARNING] sofia_reg.c:2906 Can't find user [ FreeSWITCH@10.21.10.4] from 10.41.100.2 You must define a domain called '10.21.10.4' in your directory and add a user with the id="FreeSWITCH" attribute and you must configure your device to use the proper domain in it's authentication credentials. send 678 bytes to udp/[10.41.100.2]:5080 at 10:50:37.773507: ------------------------------------------------------------------------ SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 10.41.100.2:5080;rport=5080;branch=z9hG4bKjr90SBDZmUQKj From: "CallerID" <sip:1112223333@10.41.100.2>;tag=90SHD9m8r6X2N To: <sip:4445556666@10.21.10.4>;tag=rmB10y0mDg5yD Call-ID: 44b8eb5a-1acc-1239-f884-005056873da3 CSeq: 20741727 INVITE User-Agent: FreeSWITCH Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Length: 0 ------------------------------------------------------------------------ 2020-05-27 10:50:37.774914 [NOTICE] sofia.c:2332 Hangup sofia/internal/ 1112223333@10.41.100.2 [CS_NEW] [CALL_REJECTED]
did you do just what fs asks you to do ? You must define a domain called '10.21.10.4' in your directory and add a user with the id="FreeSWITCH" attribute and you must configure your device to use the proper domain in it's authentication credentials. Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 On Wed, May 27, 2020 at 4:28 PM Joli Martinez <mrjoli021@gmail.com> wrote:
Hello,
I have two freeswitch boxes. They are in two different locations, but both are connected through a VPN. I am looking to send all calls from one freeswitch to another. I was able to get inbound routing working with each other. The problem is when freeswitch1 wants to make an outbound call to the PSTN out of freeswitch2. What do I have tried to add the IP 10.41.100.2 to the ACL and that did not work. What am I missing?
2020-05-27 10:50:37.774914 [WARNING] sofia_reg.c:2906 Can't find user [ FreeSWITCH@10.21.10.4] from 10.41.100.2 You must define a domain called '10.21.10.4' in your directory and add a user with the id="FreeSWITCH" attribute and you must configure your device to use the proper domain in it's authentication credentials. send 678 bytes to udp/[10.41.100.2]:5080 at 10:50:37.773507: ------------------------------------------------------------------------ SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 10.41.100.2:5080 ;rport=5080;branch=z9hG4bKjr90SBDZmUQKj From: "CallerID" <sip:1112223333@10.41.100.2>;tag=90SHD9m8r6X2N To: <sip:4445556666@10.21.10.4>;tag=rmB10y0mDg5yD Call-ID: 44b8eb5a-1acc-1239-f884-005056873da3 CSeq: 20741727 INVITE User-Agent: FreeSWITCH Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Length: 0
------------------------------------------------------------------------ 2020-05-27 10:50:37.774914 [NOTICE] sofia.c:2332 Hangup sofia/internal/ 1112223333@10.41.100.2 [CS_NEW] [CALL_REJECTED] _________________________________________________________________________
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
participants (2)
-
David Villasmil
-
Joli Martinez