Interestingly enough, this was just the first time I initiated the calls, the second time (im guessing the route was recorded).
Thank you Davy, I ran tshark and found the following: (masked ip addresses to protect the innocent and trimmed the logs)8.250307 300.300.300.300 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com8.251503 10.12.47.96 -> 300.300.300.300 SIP Status: 200 OK (1 bindings)35.942381 300.300.300.300 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com35.943011 10.12.47.96 -> 300.300.300.300 SIP Status: 200 OK (2 bindings)44.564112 300.300.300.300 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com44.565402 10.12.47.96 -> 300.300.300.300 SIP Status: 200 OK (2 bindings)75.483859 400.400.400.400 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com75.484572 10.12.47.96 -> 400.400.400.400 SIP Status: 200 OK (1 bindings)75.623702 400.400.400.400 -> 10.12.47.96 SIP Request: SUBSCRIBE sip:dan@sip.mydomain.com75.624258 10.12.47.96 -> 400.400.400.400 SIP Request: SUBSCRIBE sip:dan@400.400.400.400:23242;rinstance=f6f0a9561214235b75.763700 400.400.400.400 -> 10.12.47.96 SIP Status: 489 Event Package Not Supported75.764128 10.12.47.96 -> 400.400.400.400 SIP Status: 489 Event Package Not Supported75.802420 400.400.400.400 -> 10.12.47.96 SIP Request: SUBSCRIBE sip:saul@sip.mydomain.com75.802904 10.12.47.96 -> 400.400.400.400 SIP Status: 404 Not Found93.834928 300.300.300.300 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com93.835553 10.12.47.96 -> 300.300.300.300 SIP Status: 200 OK (2 bindings)127.107903 400.400.400.400 -> 10.12.47.96 SIP/SDP Request: INVITE sip:tom@sip.mydomain.com, with session description127.109021 10.12.47.96 -> 400.400.400.400 SIP Status: 100 Giving a try138.138242 10.12.47.96 -> 300.300.300.300 SIP/SDP Request: INVITE sip:tom@300.300.300.300:61162;transport=tcp;line=90fb23e32c7545e, with session description138.306651 300.300.300.300 -> 10.12.47.96 SIP Status: 100 Trying138.392632 300.300.300.300 -> 10.12.47.96 SIP Status: 101 Dialog Establishement138.393101 10.12.47.96 -> 400.400.400.400 SIP Status: 101 Dialog Establishement138.460232 300.300.300.300 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.460780 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.461348 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.462717 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.463381 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.463959 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.464416 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.543567 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.547330 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.551563 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.551865 300.300.300.300 -> 10.12.47.96 SIP Status: 180 Ringing138.554340 10.12.47.96 -> 400.400.400.400 SIP Status: 180 Ringing138.560084 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.563560 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.575640 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.579557 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.587442 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.591558 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.596417 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.599565 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.604589 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.607561 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060138.613004 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060138.615556 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.255562 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.265531 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.267570 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.276852 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.279558 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.289309 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.291562 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.300859 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.303560 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.312556 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.315563 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.324327 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.327560 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.336426 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.339562 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.348431 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.351564 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.360179 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.363554 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.371931 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.487555 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.494448 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.495440 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495487 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495528 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495557 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.495583 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495628 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495666 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495787 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495844 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.495888 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.496068 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.496097 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.496107 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.496438 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.496468 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.496471 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.496473 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.496567 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.732919 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.733655 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.735559 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060155.740030 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops155.743552 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops155.835477 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.835537 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.835988 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.836198 10.12.47.96 -> 500.500.500.500 SIP Request: OPTIONS sip:500.500.500.500:5060155.836400 500.500.500.500 -> 10.12.47.96 SIP Request: OPTIONS sip:500.500.500.500:5060156.146827 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.150092 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.162814 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.167551 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.168667 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.171363 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.171551 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.175549 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.181077 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.183553 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.186055 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.187549 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.189991 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.191553 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.193930 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.195550 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.198570 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops156.199550 500.500.500.500 -> 10.12.47.96 SIP Status: 483 Too Many Hops156.204172 10.12.47.96 -> 500.500.500.500 SIP Status: 483 Too Many Hops208.371477 300.300.300.300 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com208.372297 10.12.47.96 -> 300.300.300.300 SIP Status: 200 OK (4 bindings)351.118527 300.300.300.300 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com351.120474 10.12.47.96 -> 300.300.300.300 SIP Status: 200 OK (4 bindings)383.956615 400.400.400.400 -> 10.12.47.96 SIP Request: SUBSCRIBE sip:saul@sip.mydomain.com383.957274 10.12.47.96 -> 400.400.400.400 SIP Status: 404 Not Found493.457746 300.300.300.300 -> 10.12.47.96 SIP Request: REGISTER sip:sip.mydomain.com493.458864 10.12.47.96 -> 300.300.300.300 SIP Status: 200 OK (4 bindings)I am new to opensips so I am not too familiar with the routing logics, a google search on that error suggests that there is a problem with the route config where its creating a loop exhausting the Max Hops. The way I configured my clients uses my server as a proxy.Any help is greatly appreciated!On Mon, Apr 16, 2012 at 1:59 AM, davy van de moere <davy.van.de.moere@gmail.com> wrote:
38 seconds sounds pretty close to 30 seconds. Could those 38 seconds be a 30 seconds after the actual answer packet?If so, you might want to look at ACK and OK packets not arriving correctly because of NAT, wrong IP selection in openser , etc...A simple tshark might help you out to debug from a higher perspective : tshark -i eth0 -R sipgood luck!Op 16 april 2012 05:11 schreef Saul Waizer <saulwaizer@gmail.com> het volgende:
_______________________________________________Greetings list,I am experiencing a strange behavior with openser 1.3.2 running on ubuntu 10. I have a basic configuration (see bellow) and i am using Linphone for iPad as my client. I have 2 users registered and I am able to place calls no problem. The problem is that the calls (audio or A/V) drop after 38 seconds exactly, this behavior is pretty consistent, 38 seconds is all I can get. There is no firewall in front of the clients.Here is my configuration, ip addresses changed to protect the innocent:You can see the logs of the call here (the majority):Am I missing something or is there anything that needs to be changed in the routing/configuration to achieve basic functionality?Thank you in advance!
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users