Hi Bogdan, Sorry, I missed your other reply. Meanwhile I advanced with my integration POC, and I’m able to exchange messages between OpenSIPS as a load balancer and Freeswitch as media service.
Where I’m stuck now is establishing a call between parties. The first invite is sent to the Freeswitch, Freeswitch picks it, tryes to establish a bridge, responds with a 100 Trying, that 100 message reach back the OpenSIPS, and nothing else happens, I cannot see it generating a new invite for the second participant and the ringing message. Not sure which information about my setup would be useful to help you help me 😊. Thank you, Calin From: Dragan, Calin Sent: Friday, March 15, 2024 1:04 PM To: [email protected] Subject: Freeswitch integration Hi, I’m trying to use Freeswitch as a media server with Opensips as a load balancer, I need something very basic for a POC. (I configured the load balancer and dispatcher based on old information found here: https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Enterprise-Deployment/Enterprise-deployment-OpenSIPS_13173169/#freeswitch-configuration, here: https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Auxiliary-Knowledge-and-Utilities/OpenSIPS-configuration-for-2-or-more-FreeSWITCH-installs_13173462/ and here: https://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration) I’m adding the X-Auth-IP header to the requests like this (this is based on the config that ships with the 3.4.x release in the docker image, so I guessed that this is where I should add the header): route[relay] { # for INVITEs enable some additional helper routes if (is_method("INVITE")) { remove_hf("X-Auth-IP"); append_hf("X-Auth-IP: $si\r\n"); append_to_reply("X-Auth-IP: $si\r\n"); xlog("L_INFO", "$ci|log|X-Auth-IP: $si\n"); xlog("L_INFO", "SIP Message: $mb"); t_on_failure("missed_call"); t_on_branch("per_branch_ops"); t_on_reply("handle_nat"); } if (!t_relay()) { send_reply(500,"Internal Error"); } exit; } On the freeswitch side I added the IP set by opensips in the list of allowed addresses. Now, with or without authentication enabled on the Freeswitch side (i.e. regardless of what I set in the “auth-calls” param, or if I enable the accept-blind-auth), or even whether the Freeswitch is running or not, when I try to place a call from/to some registerd addresses, I get the “407 Proxy authentication required” response. Could you please give me some hints on what I might be doing wrong, or direct me to a contemporary tutorial?
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
