Hello All, I have been scratching my head for a few days now... Just to recap:
I'm a newbie with OpenSIPS so bear with me... I got OpenSIPS 3.3.1 (residential) running on Debian 11 with OpenSIPS Control Panel 9.3.2 and MySQL. My goal is to: 1) Make two ATA's register and call each other (locally)... *Stopped working, I think routing logic is missing.* 2) Make ATA to call PSTN via an outbound SIP trunk or DID provider... *No ACK sent to Outbound provider.* 3) Receive inbound calls from PSTN or SIP trunk and forward it to registered ATA... *Getting rejected.* 4) Able to send and receive faxes from and to PSTN... *Haven't even touched.* Fast forward... I did achieve a few of my goals but they stopped working... You fix one thing and you break others... My current issue is OpenSIPS is not sending ACK back to the Outbound provider when I make calls to PSTN thus calls are getting dropped from the Outbound provider due to no ACK. This issue started when I implemented topology_hiding('C"), rtpproxy_offer("ro"), uac_replace_from( , "$avp(furi)"). Here is my code snippet: ####### Routing Logic ######## # main request routing logic route{ #if ($rU=~"^\+[1-9][0-9]+$") { if (dp_translate(10 ,$rU ,$rU) ) { xlog("*** 2. Dial plan translate from source $avp(src) to $rU ***\n"); $avp(furi) = "sip:aaabbbc...@gothamcity.com"; uac_replace_from( , "$avp(furi)"); #strip(1); if (!do_routing(0)) { send_reply(500,"No PSTN Route found"); exit; } # t_on_branch("change_from"); route(relay); exit; } route[relay] { xlog("*** 3. Entering route relay ***\n"); # for INVITEs enable some additional helper routes if (is_method("INVITE")) { topology_hiding("C"); if(remove_hf("User-Agent")){ xlog("*** 4. User-Agent found and removed. ***\n"); } if (isflagset("NAT") && has_body("application/sdp")) { rtpproxy_offer("ro"); #rtpproxy_offer(); } t_on_branch("per_branch_ops"); t_on_reply("handle_nat"); t_on_failure("missed_call"); } if (isflagset("NAT")) { add_rr_param(";nat=yes"); } if (!t_relay()) { send_reply(500,"Internal Error"); } exit; } Any thoughts or suggestions on what to check for ACK? Cheers, Nitesh
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users