Hi Vardhan, Quoting from RFC3261 section 10.3;
"The registrar inspects the Request-URI to determine whether it has access to bindings for the domain identified in the Request-URI. If not, and if the server also acts as a proxy server, the server SHOULD forward the request to the addressed domain, following the general behavior for proxying messages described in Section 16." Relating this quote with your case, if your server is acting as proxy, then from Request URI it will/should extract that it has to forward the REGISTER request to registrar on port no. 5060 (default SIP port) as no specific port is mentioned in Request URI. So, the Request URI you have mentioned will drive the REGISTER message to wrong destination and it should be rejected. Regards, Mohit Soni On Wed, Jan 4, 2017 at 3:32 PM, Varadhan Work <varadhan.w...@gmail.com> wrote: > Hello Everyone, > > I'm trying to figure out proper method for implementing sip-domain routing > policy, while using port number different than default 5060. > > Suppose, > SIP Domain name: *mydomain.org <http://mydomain.org>* > SIP Port: *8060* > > SIP Client configured with domain name with port number *mydomain.org:8060 > <http://mydomain.org:8060>* > > Request-URI for REGISTER as follows > *REGISTER sip:mydomain.org:8060 <http://mydomain.org:8060> SIP/2.0* > > Requirement is, > SIP Proxy Server need to match the domain name and port number, > to route to specific destination. > > Question is, > If Req-URI received without port number on SIP server listening port 8060 > as follows, > > *REGISTER sip:mydomain.org <http://mydomain.org> SIP/2.0* > > a) Can domain name without port number, should be allowed for the same 8060 > port routing ? > and > should be manipulated based on received(socket) port number ? > > or > > b) it should be considered as default 5060 and shouldn't be processed for > 8060 port routing ? > > > Thanks & Regards, > Varadhan > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors