Hi, So it seems that the RURI contains a $rd (request-domain) which is not recognizable at your opensips and hence it says I won't relay the call from one external domain to another external domain.
In simple words, how come that there is req-domain "localhost" is the RURI for a call coming from Provider destined to your OpenSIPS ? Apparently the incoming RURI-user part is also 'opensips'. This all seems odd specially when you mentioned you called your DID !! Can you please explain your provider side setup , is that a dummy setup or a real provider? Also, paste the complete call trace, you can make sure of sngrep by irontec <https://github.com/irontec/sngrep> Regards, Sammy On Wed, Apr 13, 2016 at 10:04 AM, Francjos <[email protected]> wrote: > I've configured Opensips to register to a sip provider and acts as > loadbalancer. > When i call my number (that i got from my provider),i have the following(i > try to capture packets using tshark): > Capturing on 'eth0' > -4 0.640830 91.X.X.X -> 10.Y.Y.Y SIP/SDP 1096 Requests: INVITE > sip:opensips@localhost:5060;transport=udp > - 5 0.641021 10.Y.Y.Y -> 91.X.X.X SIP/SDP 452 Status : 403 Rely > forbidden > Where "Rely forbidden" is related to this piece of code in opensips.cfg > > if(!uri==myself){ > send_relpy("403", "Relay forbidden"); > exit; > } > > Can you help me to understand this and how i can correct this error? > Thank you. > > > > -- > View this message in context: > http://opensips-open-sip-server.1449251.n2.nabble.com/Rely-forbidden-tp7602608.html > Sent from the OpenSIPS - Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
