<div dir="ltr">Hi,<div><br></div><div>I have installed Opensips successfully, have registered SIP stations and I am able to make station to station calls. I have setup IP authentication connection with provider Sketel and unable to connect from Opensips side. Skyetel is sending OPTIONS request and Opensips is replying with 403 Relay Forbidden/. Gateways have been added in Opensips CP.</div><div><br></div><div><br></div><div> if ( !(is_method("REGISTER")  || is_from_gw() ) ) {<br><br>                if (is_from_local()) {<br>                        # authenticate if from local subscriber<br>                        # authenticate all initial non-REGISTER request that pretend to be<br>                        # generated by local subscriber (domain from FROM URI is local)<br>                        if (!proxy_authorize("", "subscriber")) {<br>                                proxy_challenge("", "auth");<br>                                exit;<br>                        }<br>                        if ($au!=$fU) {<br>                                send_reply(403,"Forbidden auth ID");<br>                                exit;<br>                        }<br><br>                        consume_credentials();<br>                        # caller authenticated<br><br>                } else {<br>                        # if caller is not local, then called number must be local<br><br>                        if (!is_uri_host_local()) {<br>                                send_reply(403,"Relay Forbidden");<br>                                exit;<br></div><div><br></div><div>Regards,</div><div>Barry</div></div>