Re: [OpenSIPS-Users] Issue with incoming calls.

2009-10-19 Thread Raúl Alexis Betancor Santana
On Monday 19 October 2009 09:44:22 Peter den Hartog wrote:
 Bogdan,

 If you mean ping errors, i can ping everything.

 The sip trunk, comes in on a modem, (90.x.x.x) and goes to a router
 (90.x.x.x - 10.x.x.x) then the router routes every 5060 udp signal from
 outside to the opensips server (10.x.x.x - 10.x.x.x) the server has a
 10.x.x.x adres, so does the phone.

 I've added, the sip trunk as trusted domain, and i've added the router as
 trusted domain.
 But still, i get the to many hops message, and the exact same logging on
 the sip call as above..

 any ideas?

Too many hops usually means that you are looping yourself. Have you checked 
with ngrep that you are not routing the petition over yourself again and 
again ? 

-- 
Raúl Alexis Betancor Santana
Dimensión Virtual

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


Re: [OpenSIPS-Users] Issue with incoming calls.

2009-10-19 Thread Peter den Hartog

Ok this is realy strange, now i've changed the router to a diffrent router,
same settings and now the phone DOES ring, but i can't answer it.. if i
press answer nothing happens, i can only reject the call.

i'm beginning to think i forgot a port, or anything like that.. i just
opened up the port 5060 towards my opensips server.. is this enough?



Raúl Alexis Betancor Santana wrote:
 
 On Monday 19 October 2009 09:44:22 Peter den Hartog wrote:
 Bogdan,

 If you mean ping errors, i can ping everything.

 The sip trunk, comes in on a modem, (90.x.x.x) and goes to a router
 (90.x.x.x - 10.x.x.x) then the router routes every 5060 udp signal from
 outside to the opensips server (10.x.x.x - 10.x.x.x) the server has a
 10.x.x.x adres, so does the phone.

 I've added, the sip trunk as trusted domain, and i've added the router as
 trusted domain.
 But still, i get the to many hops message, and the exact same logging on
 the sip call as above..

 any ideas?
 
 Too many hops usually means that you are looping yourself. Have you
 checked 
 with ngrep that you are not routing the petition over yourself again and 
 again ? 
 
 -- 
 Raúl Alexis Betancor Santana
 Dimensión Virtual
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3848530.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] Issue with incoming calls.

2009-10-19 Thread Peter den Hartog

Well, the server is in a network, i have a phone connected to that server in
the same network.. that network has 1 router, and an outside IP adres
connects to that router.. That's not a strange network solution right? I
mean, i don't see how that's diffrent to any home/office network out there?

the ip adres is not directly connected to the server, it's connected to the
router. The outside phone calls come over that line.



Raúl Alexis Betancor Santana wrote:
 
 On Monday 19 October 2009 12:50:02 Peter den Hartog wrote:
 Ok this is realy strange, now i've changed the router to a diffrent
 router,
 same settings and now the phone DOES ring, but i can't answer it.. if i
 press answer nothing happens, i can only reject the call.

 i'm beginning to think i forgot a port, or anything like that.. i just
 opened up the port 5060 towards my opensips server.. is this enough?
 
 So, you are using opensips on a private IP ?, behing a NAT router? ...
 buff ..
 
 It have been discused lot of times ... that will give you TONS of
 problems.
 
 First:
 - You must use a NAT router that doesn't do SIP-ALG
 - You must redirect port 5060 or the port you are using for sip-signaling
 - You must modify your opensips.cfg to use your public IP as adversited_ip
 - You must add your public and private IP as local domains
 - You must pray all you know ...
 
 -- 
 Raúl Alexis Betancor Santana
 Dimensión Virtual
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3848871.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] Issue with incoming calls.

2009-10-19 Thread Peter den Hartog

Ok thank you for the information. I will :-).
I will install some nat helping software also, and see if i can tweak
something extra in the router.


Raúl Alexis Betancor Santana wrote:
 
 Peter den Hartog escribió:
 Well, the server is in a network, i have a phone connected to that server
 in
 the same network.. that network has 1 router, and an outside IP adres
 connects to that router.. That's not a strange network solution right? I
 mean, i don't see how that's diffrent to any home/office network out
 there?

 the ip adres is not directly connected to the server, it's connected to
 the
 router. The outside phone calls come over that line.
   
 
 I have not said anything about been or not a normal scenario, it is 
 ... but you must know that SIP is not a firewall/nat friendly protocol, 
 if you want it to work on you scenario ... that is, you recive calls 
 from the outside network, you must setup your proxy as I told you.
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3848980.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] Issue with incoming calls.

2009-10-19 Thread Iñaki Baz Castillo
El Lunes, 19 de Octubre de 2009, Peter den Hartog escribió:
 Ok thank you for the information. I will :-).
 I will install some nat helping software also, and see if i can tweak
 something extra in the router.

The Record-Route header added by the proxy will contain its private IP so in-
dialog request from outside the LAN network won't reach the proxy (those in-
dialgo requests are routed to the Record-Route address, and this Record-Route 
is inserted by the proxy in the initial INVITE/200.

It's really a pain to set this scenario working with a proxy, really a pain, 
and most probably you will suffer strange issues all the time.

I strongly recommend you to set a public IP in OpenSIPS box. If it has both 
private and public IP's, then OpenSIPS could work in bridged mode (make sure 
to enable that option).

The ideal scenario is having OpenSIPS running just with public IP's, no more.


-- 
Iñaki Baz Castillo i...@aliax.net

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


Re: [OpenSIPS-Users] Issue with incoming calls.

2009-10-19 Thread Peter den Hartog

Thanks a lot for your reply, i understand the issue now.

I'm able to connect the outside IP directly to the open sips box, and then
enable bridge mode, any suggestion how i should enable this bridge mode? My
new situation would be:

outside ip - opensips - inside ip - sip phone

the sip phone will connect on the local network address, so to correctly
make  receive the calls i should enable bridge mode right? 

Then i atleast understand what goes wrong :-), and how i can fix it.


Iñaki Baz Castillo wrote:
 
 El Lunes, 19 de Octubre de 2009, Peter den Hartog escribió:
 Ok thank you for the information. I will :-).
 I will install some nat helping software also, and see if i can tweak
 something extra in the router.
 
 The Record-Route header added by the proxy will contain its private IP so
 in-
 dialog request from outside the LAN network won't reach the proxy (those
 in-
 dialgo requests are routed to the Record-Route address, and this
 Record-Route 
 is inserted by the proxy in the initial INVITE/200.
 
 It's really a pain to set this scenario working with a proxy, really a
 pain, 
 and most probably you will suffer strange issues all the time.
 
 I strongly recommend you to set a public IP in OpenSIPS box. If it has
 both 
 private and public IP's, then OpenSIPS could work in bridged mode (make
 sure 
 to enable that option).
 
 The ideal scenario is having OpenSIPS running just with public IP's, no
 more.
 
 
 -- 
 Iñaki Baz Castillo i...@aliax.net
 
 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3849129.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] Issue with incoming calls.

2009-10-18 Thread Bogdan-Andrei Iancu
Peter,

check for ICMP errors  - maybe the requests from opensips do not get to 
the external party due net issues.

Regards,
Bogdan

Leon Li wrote:
 Peter,

 I am new to OpenSIPs, but from your ngrep, there seems to be a loop of
 INVITE msgs.

 U 10.0.100.99:5060 - 90.145.5.83:5060
 INVITE sip:0031851110...@90.145.5.83 SIP/2.0.

 U 90.145.5.83:5060 - 10.0.100.99:5060
 INVITE sip:0031851110...@90.145.5.83 SIP/2.0.

 So it looks like something wrong in script handling outbound -- inbound
 call. If you can paste your config, someone should be able to check it.
 :)

 Regards,
 Leon 


 -Original Message-
 From: users-boun...@lists.opensips.org
 [mailto:users-boun...@lists.opensips.org] On Behalf Of Peter den Hartog
 Sent: Thursday, 15 October 2009 7:47 PM
 To: users@lists.opensips.org
 Subject: [OpenSIPS-Users] Issue with incoming calls.


 Hello,

 I've placed a new testing opensips server inside my network. It has a
 private modem + router, connected to the sip trunk.

 When i call outside, it goes great, i see the route goes to the sip
 trunk
 and then my mobile phone rings.
 But when i call inside, something goes wrong. The signal does reach my
 server, here you can see the ngrep: 
 http://dl.getdropbox.com/u/1382962/log.txt

 As you can see, (in my eyes) a lot of the same messages to the same
 server!
 I've opened in my router the udp port 5060 and let it forward directly
 to my
 server. If i close that, nothing reaches my opensips server.

 Any ideas?

   


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


Re: [OpenSIPS-Users] Issue with incoming calls.

2009-10-16 Thread Peter den Hartog

Thanks alot for your reply, it makes sense to me, here you can find my
script:
http://dl.getdropbox.com/u/1382962/opensips.cfg

and what i did was, create a droute to the sip trunk (in the web interface).
There is no alias for the incoming call at this moment because of testing,
but i've earlier created an alias for that outbound number to a
1...@10.0.100.99 extention, also no succes.

If anybody could take a look at the script you would make me very happy :-).

Best regards!




Leon Li wrote:
 
 Peter,
 
 I am new to OpenSIPs, but from your ngrep, there seems to be a loop of
 INVITE msgs.
 
 U 10.0.100.99:5060 - 90.145.5.83:5060
 INVITE sip:0031851110...@90.145.5.83 SIP/2.0.
 
 U 90.145.5.83:5060 - 10.0.100.99:5060
 INVITE sip:0031851110...@90.145.5.83 SIP/2.0.
 
 So it looks like something wrong in script handling outbound -- inbound
 call. If you can paste your config, someone should be able to check it.
 :)
 
 Regards,
 Leon 
 
 
 -Original Message-
 From: users-boun...@lists.opensips.org
 [mailto:users-boun...@lists.opensips.org] On Behalf Of Peter den Hartog
 Sent: Thursday, 15 October 2009 7:47 PM
 To: users@lists.opensips.org
 Subject: [OpenSIPS-Users] Issue with incoming calls.
 
 
 Hello,
 
 I've placed a new testing opensips server inside my network. It has a
 private modem + router, connected to the sip trunk.
 
 When i call outside, it goes great, i see the route goes to the sip
 trunk
 and then my mobile phone rings.
 But when i call inside, something goes wrong. The signal does reach my
 server, here you can see the ngrep: 
 http://dl.getdropbox.com/u/1382962/log.txt
 
 As you can see, (in my eyes) a lot of the same messages to the same
 server!
 I've opened in my router the udp port 5060 and let it forward directly
 to my
 server. If i close that, nothing reaches my opensips server.
 
 Any ideas?
 
 -- 
 View this message in context:
 http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3828026.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
 
 

-- 
View this message in context: 
http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3834053.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


[OpenSIPS-Users] Issue with incoming calls.

2009-10-15 Thread Peter den Hartog

Hello,

I've placed a new testing opensips server inside my network. It has a
private modem + router, connected to the sip trunk.

When i call outside, it goes great, i see the route goes to the sip trunk
and then my mobile phone rings.
But when i call inside, something goes wrong. The signal does reach my
server, here you can see the ngrep: 
http://dl.getdropbox.com/u/1382962/log.txt

As you can see, (in my eyes) a lot of the same messages to the same server!
I've opened in my router the udp port 5060 and let it forward directly to my
server. If i close that, nothing reaches my opensips server.

Any ideas?

-- 
View this message in context: 
http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3828026.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] Issue with incoming calls.

2009-10-15 Thread Leon Li
Peter,

I am new to OpenSIPs, but from your ngrep, there seems to be a loop of
INVITE msgs.

U 10.0.100.99:5060 - 90.145.5.83:5060
INVITE sip:0031851110...@90.145.5.83 SIP/2.0.

U 90.145.5.83:5060 - 10.0.100.99:5060
INVITE sip:0031851110...@90.145.5.83 SIP/2.0.

So it looks like something wrong in script handling outbound -- inbound
call. If you can paste your config, someone should be able to check it.
:)

Regards,
Leon 


-Original Message-
From: users-boun...@lists.opensips.org
[mailto:users-boun...@lists.opensips.org] On Behalf Of Peter den Hartog
Sent: Thursday, 15 October 2009 7:47 PM
To: users@lists.opensips.org
Subject: [OpenSIPS-Users] Issue with incoming calls.


Hello,

I've placed a new testing opensips server inside my network. It has a
private modem + router, connected to the sip trunk.

When i call outside, it goes great, i see the route goes to the sip
trunk
and then my mobile phone rings.
But when i call inside, something goes wrong. The signal does reach my
server, here you can see the ngrep: 
http://dl.getdropbox.com/u/1382962/log.txt

As you can see, (in my eyes) a lot of the same messages to the same
server!
I've opened in my router the udp port 5060 and let it forward directly
to my
server. If i close that, nothing reaches my opensips server.

Any ideas?

-- 
View this message in context:
http://n2.nabble.com/Issue-with-incoming-calls-tp3828026p3828026.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