Re: [OpenSIPS-Users] Rely forbidden

2016-04-22 Thread Jeff Wilkie
Do you have a link to provide your config and confirm what modules are
compiled and loaded from install?  Receiving calls from outside to your
OPENSIPS should be straight forward.  I'm not sure how your RURI even
routes to you if the upstream provider is a real provider and not in a test
lab.  sip:opensips@localhost:5060 is very non specific and local.  I'm
assuming your trying to call to sip:0972550428@10.7.1.68.

Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


*"This e-mail communication and any attachments may contain confidential
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it is addressed. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this email or
its contents is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. Thank you". *

On Fri, Apr 15, 2016 at 6:03 AM, Francjos <35...@heb.be> wrote:

> Here is the output of :ngrep -d eth0 -t -W byline "$1" port 5060 -q
> Can you help me to understand the problem and how to resolve it?
>
> ^Croot@front-2:~# ngrep -d eth0 -t -W byline "$1" port 5060 -q
> interface: eth0 (10.0.0.0/255.255.255.0)
> filter: (ip or ip6) and ( port 5060 )
>
> U 2016/04/15 09:59:46.445723 91.121.129.159:5060 -> 10.0.0.5:5060
> INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
> Contact: .
> Content-Type: application/sdp.
> CSeq: 426731554 INVITE.
> From: "003228800555"
> ;tag=02023-LB-1b75f5cb-77f5c7f17.
> Max-Forwards: 27.
> Record-Route: .
> To: .
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-UXTN-2667384e-065369b8.
> Allow:
>
> REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK.
> User-Agent: Cirpack/v4.70 (gw_sip).
> Content-Length: 315.
> .
> v=0.
> o=cp10 146071438652 146071438652 IN IP4 10.7.16.156.
> s=SIP Call.
> c=IN IP4 91.121.129.144.
> t=0 0.
> m=audio 31298 RTP/AVP 18 0 8 101.
> b=AS:21.
> a=rtpmap:18 G729/8000/1.
> a=fmtp:18 annexb=no.
> a=rtpmap:0 PCMU/8000/1.
> a=rtpmap:8 PCMA/8000/1.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:30.
> a=sendrecv.
>
>
> U 2016/04/15 09:59:46.446223 10.0.0.5:5060 -> 91.121.129.159:5060
> SIP/2.0 500 Service full.
> Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
> CSeq: 426731554 INVITE.
> From: "003228800555"
> ;tag=02023-LB-1b75f5cb-77f5c7f17.
> To:
>  ;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57bb.
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-UXTN-2667384e-065369b8.
> Server: OpenSIPS (2.1.2 (x86_64/linux)).
> Content-Length: 0.
> .
>
>
> U 2016/04/15 09:59:46.459264 91.121.129.159:5060 -> 10.0.0.5:5060
> ACK sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
> CSeq: 426731554 ACK.
> From: "003228800555"
> ;tag=02023-LB-1b75f5cb-77f5c7f17.
> Max-Forwards: 27.
> To:
>  ;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57bb.
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-UXTN-2667384e-065369b8.
> Content-Length: 0.
> .
>
>
> U 2016/04/15 09:59:48.514025 91.121.129.159:5060 -> 10.0.0.5:5060
> INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
> Contact: .
> Content-Type: application/sdp.
> CSeq: 426731844 INVITE.
> From: "003228800555"
> ;tag=25873-BW-1b75f717-40cd751b1.
> Max-Forwards: 27.
> Record-Route: .
> To: .
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-ZRXL-26673a19-1004fd6f.
> Allow:
>
> REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK.
> User-Agent: Cirpack/v4.70 (gw_sip).
> Content-Length: 315.
> .
> v=0.
> o=cp10 146071438849 146071438849 IN IP4 10.7.16.156.
> s=SIP Call.
> c=IN IP4 91.121.129.145.
> t=0 0.
> m=audio 34728 RTP/AVP 18 0 8 101.
> b=AS:21.
> a=rtpmap:18 G729/8000/1.
> a=fmtp:18 annexb=no.
> a=rtpmap:0 PCMU/8000/1.
> a=rtpmap:8 PCMA/8000/1.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:30.
> a=sendrecv.
>
>
> U 2016/04/15 09:59:48.514288 10.0.0.5:5060 -> 91.121.129.159:5060
> SIP/2.0 500 Service full.
> Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
> CSeq: 426731844 INVITE.
> From: "003228800555"
> 

Re: [OpenSIPS-Users] Rely forbidden

2016-04-22 Thread SamyGo
Did you modify something. Now the error from your opensips seem like 500
Service Full.
That usually is configured with load balancer. Means that it was unable to
find any active server to route the call to.
On Apr 15, 2016 06:04, "Francjos" <35...@heb.be> wrote:

> Here is the output of :ngrep -d eth0 -t -W byline "$1" port 5060 -q
> Can you help me to understand the problem and how to resolve it?
>
> ^Croot@front-2:~# ngrep -d eth0 -t -W byline "$1" port 5060 -q
> interface: eth0 (10.0.0.0/255.255.255.0)
> filter: (ip or ip6) and ( port 5060 )
>
> U 2016/04/15 09:59:46.445723 91.121.129.159:5060 -> 10.0.0.5:5060
> INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
> Contact: .
> Content-Type: application/sdp.
> CSeq: 426731554 INVITE.
> From: "003228800555"
> ;tag=02023-LB-1b75f5cb-77f5c7f17.
> Max-Forwards: 27.
> Record-Route: .
> To: .
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-UXTN-2667384e-065369b8.
> Allow:
>
> REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK.
> User-Agent: Cirpack/v4.70 (gw_sip).
> Content-Length: 315.
> .
> v=0.
> o=cp10 146071438652 146071438652 IN IP4 10.7.16.156.
> s=SIP Call.
> c=IN IP4 91.121.129.144.
> t=0 0.
> m=audio 31298 RTP/AVP 18 0 8 101.
> b=AS:21.
> a=rtpmap:18 G729/8000/1.
> a=fmtp:18 annexb=no.
> a=rtpmap:0 PCMU/8000/1.
> a=rtpmap:8 PCMA/8000/1.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:30.
> a=sendrecv.
>
>
> U 2016/04/15 09:59:46.446223 10.0.0.5:5060 -> 91.121.129.159:5060
> SIP/2.0 500 Service full.
> Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
> CSeq: 426731554 INVITE.
> From: "003228800555"
> ;tag=02023-LB-1b75f5cb-77f5c7f17.
> To:
>  ;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57bb.
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-UXTN-2667384e-065369b8.
> Server: OpenSIPS (2.1.2 (x86_64/linux)).
> Content-Length: 0.
> .
>
>
> U 2016/04/15 09:59:46.459264 91.121.129.159:5060 -> 10.0.0.5:5060
> ACK sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
> CSeq: 426731554 ACK.
> From: "003228800555"
> ;tag=02023-LB-1b75f5cb-77f5c7f17.
> Max-Forwards: 27.
> To:
>  ;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57bb.
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-UXTN-2667384e-065369b8.
> Content-Length: 0.
> .
>
>
> U 2016/04/15 09:59:48.514025 91.121.129.159:5060 -> 10.0.0.5:5060
> INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
> Contact: .
> Content-Type: application/sdp.
> CSeq: 426731844 INVITE.
> From: "003228800555"
> ;tag=25873-BW-1b75f717-40cd751b1.
> Max-Forwards: 27.
> Record-Route: .
> To: .
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-ZRXL-26673a19-1004fd6f.
> Allow:
>
> REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK.
> User-Agent: Cirpack/v4.70 (gw_sip).
> Content-Length: 315.
> .
> v=0.
> o=cp10 146071438849 146071438849 IN IP4 10.7.16.156.
> s=SIP Call.
> c=IN IP4 91.121.129.145.
> t=0 0.
> m=audio 34728 RTP/AVP 18 0 8 101.
> b=AS:21.
> a=rtpmap:18 G729/8000/1.
> a=fmtp:18 annexb=no.
> a=rtpmap:0 PCMU/8000/1.
> a=rtpmap:8 PCMA/8000/1.
> a=rtpmap:101 telephone-event/8000.
> a=fmtp:101 0-15.
> a=ptime:30.
> a=sendrecv.
>
>
> U 2016/04/15 09:59:48.514288 10.0.0.5:5060 -> 91.121.129.159:5060
> SIP/2.0 500 Service full.
> Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
> CSeq: 426731844 INVITE.
> From: "003228800555"
> ;tag=25873-BW-1b75f717-40cd751b1.
> To:
>  ;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.9640.
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-ZRXL-26673a19-1004fd6f.
> Server: OpenSIPS (2.1.2 (x86_64/linux)).
> Content-Length: 0.
> .
>
>
> U 2016/04/15 09:59:48.527361 91.121.129.159:5060 -> 10.0.0.5:5060
> ACK sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
> CSeq: 426731844 ACK.
> From: "003228800555"
> ;tag=25873-BW-1b75f717-40cd751b1.
> Max-Forwards: 27.
> To:
>  ;user=phone>;tag=c97b4d1cb1f3d0da549e06a8d482ef63.9640.
> Via: SIP/2.0/UDP 91.121.129.159:5060
> ;branch=z9hG4bK-ZRXL-26673a19-1004fd6f.
> Content-Length: 0.
> .
>
>
> U 2016/04/15 09:59:50.821619 91.121.129.159:5060 -> 10.0.0.5:5060
> INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
> Call-ID: 30481-qo-1b75f83d-7dfab0...@sip3.ovh.fr.
> Contact: .
> Content-Type: application/sdp.
> CSeq: 426732128 INVITE.
> 

Re: [OpenSIPS-Users] Rely forbidden

2016-04-15 Thread Francjos
Here is the output of :ngrep -d eth0 -t -W byline "$1" port 5060 -q
Can you help me to understand the problem and how to resolve it?

^Croot@front-2:~# ngrep -d eth0 -t -W byline "$1" port 5060 -q
interface: eth0 (10.0.0.0/255.255.255.0)
filter: (ip or ip6) and ( port 5060 )

U 2016/04/15 09:59:46.445723 91.121.129.159:5060 -> 10.0.0.5:5060
INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
Contact: .
Content-Type: application/sdp.
CSeq: 426731554 INVITE.
From: "003228800555"
;tag=02023-LB-1b75f5cb-77f5c7f17.
Max-Forwards: 27.
Record-Route: .
To: .
Via: SIP/2.0/UDP 91.121.129.159:5060;branch=z9hG4bK-UXTN-2667384e-065369b8.
Allow:
REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK.
User-Agent: Cirpack/v4.70 (gw_sip).
Content-Length: 315.
.
v=0.
o=cp10 146071438652 146071438652 IN IP4 10.7.16.156.
s=SIP Call.
c=IN IP4 91.121.129.144.
t=0 0.
m=audio 31298 RTP/AVP 18 0 8 101.
b=AS:21.
a=rtpmap:18 G729/8000/1.
a=fmtp:18 annexb=no.
a=rtpmap:0 PCMU/8000/1.
a=rtpmap:8 PCMA/8000/1.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:30.
a=sendrecv.


U 2016/04/15 09:59:46.446223 10.0.0.5:5060 -> 91.121.129.159:5060
SIP/2.0 500 Service full.
Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
CSeq: 426731554 INVITE.
From: "003228800555"
;tag=02023-LB-1b75f5cb-77f5c7f17.
To:
;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57bb.
Via: SIP/2.0/UDP 91.121.129.159:5060;branch=z9hG4bK-UXTN-2667384e-065369b8.
Server: OpenSIPS (2.1.2 (x86_64/linux)).
Content-Length: 0.
.


U 2016/04/15 09:59:46.459264 91.121.129.159:5060 -> 10.0.0.5:5060
ACK sip:opensips@localhost:5060;transport=udp SIP/2.0.
Call-ID: 02023-ii-1b75f5ca-75e715...@sip3.ovh.fr.
CSeq: 426731554 ACK.
From: "003228800555"
;tag=02023-LB-1b75f5cb-77f5c7f17.
Max-Forwards: 27.
To:
;tag=c97b4d1cb1f3d0da549e06a8d482ef63.57bb.
Via: SIP/2.0/UDP 91.121.129.159:5060;branch=z9hG4bK-UXTN-2667384e-065369b8.
Content-Length: 0.
.


U 2016/04/15 09:59:48.514025 91.121.129.159:5060 -> 10.0.0.5:5060
INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
Contact: .
Content-Type: application/sdp.
CSeq: 426731844 INVITE.
From: "003228800555"
;tag=25873-BW-1b75f717-40cd751b1.
Max-Forwards: 27.
Record-Route: .
To: .
Via: SIP/2.0/UDP 91.121.129.159:5060;branch=z9hG4bK-ZRXL-26673a19-1004fd6f.
Allow:
REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK.
User-Agent: Cirpack/v4.70 (gw_sip).
Content-Length: 315.
.
v=0.
o=cp10 146071438849 146071438849 IN IP4 10.7.16.156.
s=SIP Call.
c=IN IP4 91.121.129.145.
t=0 0.
m=audio 34728 RTP/AVP 18 0 8 101.
b=AS:21.
a=rtpmap:18 G729/8000/1.
a=fmtp:18 annexb=no.
a=rtpmap:0 PCMU/8000/1.
a=rtpmap:8 PCMA/8000/1.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:30.
a=sendrecv.


U 2016/04/15 09:59:48.514288 10.0.0.5:5060 -> 91.121.129.159:5060
SIP/2.0 500 Service full.
Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
CSeq: 426731844 INVITE.
From: "003228800555"
;tag=25873-BW-1b75f717-40cd751b1.
To:
;tag=c97b4d1cb1f3d0da549e06a8d482ef63.9640.
Via: SIP/2.0/UDP 91.121.129.159:5060;branch=z9hG4bK-ZRXL-26673a19-1004fd6f.
Server: OpenSIPS (2.1.2 (x86_64/linux)).
Content-Length: 0.
.


U 2016/04/15 09:59:48.527361 91.121.129.159:5060 -> 10.0.0.5:5060
ACK sip:opensips@localhost:5060;transport=udp SIP/2.0.
Call-ID: 25873-ax-1b75f716-0d45b7...@sip3.ovh.fr.
CSeq: 426731844 ACK.
From: "003228800555"
;tag=25873-BW-1b75f717-40cd751b1.
Max-Forwards: 27.
To:
;tag=c97b4d1cb1f3d0da549e06a8d482ef63.9640.
Via: SIP/2.0/UDP 91.121.129.159:5060;branch=z9hG4bK-ZRXL-26673a19-1004fd6f.
Content-Length: 0.
.


U 2016/04/15 09:59:50.821619 91.121.129.159:5060 -> 10.0.0.5:5060
INVITE sip:opensips@localhost:5060;transport=udp SIP/2.0.
Call-ID: 30481-qo-1b75f83d-7dfab0...@sip3.ovh.fr.
Contact: .
Content-Type: application/sdp.
CSeq: 426732128 INVITE.
From: "003228800555"
;tag=30481-QM-1b75f83e-2775f2177.
Max-Forwards: 27.
Record-Route: .
To: .
Via: SIP/2.0/UDP 91.121.129.159:5060;branch=z9hG4bK-BGVQ-26673bc9-1067a939.
Allow:
REFER,INVITE,NOTIFY,ACK,UPDATE,OPTIONS,REGISTER,SUBSCRIBE,NOTIFY,CANCEL,BYE,PRACK.
User-Agent: Cirpack/v4.70 (gw_sip).
Content-Length: 445.
.
v=0.
o=cp10 146071439056 146071439056 IN IP4 10.7.1.129.
s=SIP Call.
c=IN IP4 91.121.129.144.
t=0 0.
m=audio 30962 RTP/AVP 18 4 0 8 125 

Re: [OpenSIPS-Users] Rely forbidden

2016-04-15 Thread Francjos
I add alias="10.7.1.68" in opensips.cfg but no change. And when i try to use
domain module, but it is not loaded when i restart opensips. These are the
errors:
*error during check of domain table version
*failed to initialize module domain



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Rely-forbidden-tp7602608p7602621.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rely forbidden

2016-04-14 Thread SamyGo
Hi,
So all you've gotta do with sngrep is select an INVITE and press Enter...it
will open up the whole signalling flow, you can use arrow keys up and down
to inspect individual packet as well. I was expecting that it'll be easier
for you to just start using it right away.

*Idx:*[ ] 1
*SIP From: *anonymous@anonymous.inval
*SIP To: *0972550428@10.7.1.68
*Msgs: 3*
*Source: *91.121.129.159:5060
*Destination: *10.0.0.5:5060
*Method:* INVITE
*Call State:* REJECTED

So, based on above data your OpenSIPS is unaware of the requested domain "
*10.7.1.68*" check again with your provider or their settings.
And if this still shows up I'd suggest (*just for a change*) to use the
domain module, put DB URL in that module, and add this 10.7.1.68 as domain
in the table specified.
You could also use alias=10.7.1.68 in opensips.cfg to get the same effect
as well. Not recommended but doing these will tell your opensips that this
$rd now belongs to itself and hence you wont get this 403 Rely Forbidden
message.

Regards,
Sammy



On Thu, Apr 14, 2016 at 11:18 AM, Jeff Wilkie  wrote:

> Can you use this to capture the signaling for reading and relaying here?
> I'm assuming you are only listening on port 5060.  Your details on the
> packets do not help with a resolution.
>
> ngrep -d eth0 -t -W byline "$1" port 5060 -q
>
> Jeff Wilkie
> Chief Technology Officer
> US IP Communications
> 919.297.1057
>
>
> *"This e-mail communication and any attachments may contain confidential
> and privileged information and is for use by the designated addressee(s)
> named above only. Any files transmitted with it are confidential and
> intended solely for the use of the individual to whom it is addressed. Any
> views or opinions presented are solely those of the author and do not
> necessarily represent those of USIPCOM, LLC. If you are not the intended
> addressee, you are hereby notified that you have received this
> communication in error and that any use or reproduction of this email or
> its contents is strictly prohibited and may be unlawful. If you have
> received this communication in error, please notify us immediately by
> replying to this message and deleting it from your computer. Thank you". *
>
> On Thu, Apr 14, 2016 at 10:28 AM, Francjos <35...@heb.be> wrote:
>
>> When i analyse the output of the command sngrep, there is something i
>> don't
>> understand,
>> the sip to = 0972550428@10.7.1.68
>> I recognize the 0972550428, but don't recognize the other part. What that
>> mean?
>> Since yesterday i'm searching why the INVITE is rejected in Opensips.
>> Can somebody help please?
>>
>>
>>
>> --
>> View this message in context:
>> http://opensips-open-sip-server.1449251.n2.nabble.com/Rely-forbidden-tp7602608p7602616.html
>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rely forbidden

2016-04-14 Thread Jeff Wilkie
Can you use this to capture the signaling for reading and relaying here?
I'm assuming you are only listening on port 5060.  Your details on the
packets do not help with a resolution.

ngrep -d eth0 -t -W byline "$1" port 5060 -q

Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057


*"This e-mail communication and any attachments may contain confidential
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it is addressed. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this email or
its contents is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. Thank you". *

On Thu, Apr 14, 2016 at 10:28 AM, Francjos <35...@heb.be> wrote:

> When i analyse the output of the command sngrep, there is something i don't
> understand,
> the sip to = 0972550428@10.7.1.68
> I recognize the 0972550428, but don't recognize the other part. What that
> mean?
> Since yesterday i'm searching why the INVITE is rejected in Opensips.
> Can somebody help please?
>
>
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/Rely-forbidden-tp7602608p7602616.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rely forbidden

2016-04-14 Thread Francjos
When i analyse the output of the command sngrep, there is something i don't
understand, 
the sip to = 0972550428@10.7.1.68
I recognize the 0972550428, but don't recognize the other part. What that
mean?
Since yesterday i'm searching why the INVITE is rejected in Opensips.
Can somebody help please?



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Rely-forbidden-tp7602608p7602616.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Rely forbidden

2016-04-14 Thread Francjos
Hello,

I setup a real provider and register opensips at the provider using username
and password i got from there.

Here is the call trace; anonymous@anonymous.inval is the number i used to
call my DID

root@front-2:/etc/opensips# sngrep -d eth0 -O save.pcap port 5060 and udp

 
sngrep - SIP messages flow viewer
  Current Mode: Online Dialogs: 40
  Display Filter:
  Idx  SIP From  SIP ToMsgs  Source 
   
DestinationMethod  Call State
  [ ] 1anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 2anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 3pinger@10.0.0.5:5060  10.0.0.6:5060 8
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 4pinger@10.0.0.5:5060  10.0.0.8:5060 8
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 5anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 60033972550...@sip3.ovh.fr 0033972550...@sip3.ovh.fr 6
10.0.0.5:5060  91.121.129.159:5060REGISTER
  [ ] 7anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 8anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 9pinger@10.0.0.5:5060  10.0.0.6:5060 2
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 10   pinger@10.0.0.5:5060  10.0.0.8:5060 2
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 11   anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 12   anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 13   anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 14   anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 15   anonymous@anonymous.inval 0972550428@10.7.1.68  3
91.121.129.159:506010.0.0.5:5060  INVITE  REJECTED
  [ ] 16   pinger@10.0.0.5:5060  10.0.0.6:5060 8
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 17   pinger@10.0.0.5:5060  10.0.0.8:5060 8
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 18   pinger@10.0.0.5:5060  10.0.0.6:5060 2
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 19   pinger@10.0.0.5:5060  10.0.0.8:5060 2
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 20   keepalive@91.121.129.159: 0033972550...@sip3.ovh.fr 2
91.121.129.159:506010.0.0.5:5060  OPTIONS
  [ ] 21   pinger@10.0.0.5:5060  10.0.0.6:5060 8
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 22   pinger@10.0.0.5:5060  10.0.0.8:5060 8
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 23   pinger@10.0.0.5:5060  10.0.0.6:5060 2
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 24   pinger@10.0.0.5:5060  10.0.0.8:5060 2
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 25   0033972550...@sip3.ovh.fr 0033972550...@sip3.ovh.fr 9
10.0.0.5:5060  91.121.129.159:5060REGISTER
  [ ] 26   pinger@10.0.0.5:5060  10.0.0.6:5060 8
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 27   pinger@10.0.0.5:5060  10.0.0.8:5060 8
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 28   pinger@10.0.0.5:5060  10.0.0.6:5060 2
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 29   pinger@10.0.0.5:5060  10.0.0.8:5060 2
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 30   keepalive@91.121.129.159: 0033972550...@sip3.ovh.fr 2
91.121.129.159:506010.0.0.5:5060  OPTIONS
  [ ] 31   pinger@10.0.0.5:5060  10.0.0.6:5060 2
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 32   pinger@10.0.0.5:5060  10.0.0.8:5060 2
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 33   pinger@10.0.0.5:5060  10.0.0.6:5060 8
10.0.0.5:5060  10.0.0.6:5060  OPTIONS
  [ ] 34   pinger@10.0.0.5:5060  10.0.0.8:5060 8
10.0.0.5:5060  10.0.0.8:5060  OPTIONS
  [ ] 35   pinger@10.0.0.5:5060  

Re: [OpenSIPS-Users] Rely forbidden

2016-04-13 Thread SamyGo
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  

Regards,
Sammy


On Wed, Apr 13, 2016 at 10:04 AM, Francjos <35...@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'
> -40.640830 91.X.X.X -> 10.Y.Y.Y  SIP/SDP 1096 Requests: INVITE
> sip:opensips@localhost:5060;transport=udp
> - 50.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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users