[OpenSIPS-Users] Rely forbidden

SamyGo govoiper at gmail.com
Wed Apr 13 20:47:14 CEST 2016


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 <35633 at heb.be> 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 at 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160413/10515249/attachment.htm>


More information about the Users mailing list