[asterisk-users] Asterisk doesn't catch SIP packet from time to time

Administrator TOOTAI admin at tootai.net
Tue May 22 15:44:19 CDT 2012


Le 22/05/2012 22:12, Administrator TOOTAI a écrit :
> Le 22/05/2012 19:48, Administrator TOOTAI a écrit :
>> Hi list,
>>
>> we face a strange behavior on an Asterisk 1.6.2.24: from time to 
>> time, around 5 times a day (time when it happend totaly 
>> unpredictable), asterisk doesn't see incoming INVITE SIP packets, 
>> those being catched by a tshark capture :-(
>>
>> So incoming calls are CANCELED by other party as they never get an 
>> answer on their INVITE. The problem disappear from itself after few 
>> minutes. The server is not overloaded (it happends also during the 
>> night, early morning, at lunch time, ...)
>>
>> The server is running since monthes and the problem appears around 5 
>> weeks after (we think looking at history) a maintenance including an 
>> asterisk update from 1.6.21 to 1.6.22
>>
>> If someone had an idea what could be the source of the problem ...
>>
>> Thanks.
>>
>
> Forgot to say that our asterisk server is registered as client to the 
> peer one and both parties have static IP addresses.
>

Step further: asterisk shows that he is registered but is not: session 
expires is set to 1800 sec (Scheduling reregistration in 1785 s)

A tshark capture where xxx.xxx.xxx is our server, yyy.yyy.yyy.yyy peer's 
one, 33123456789 called number (peer -> our server). As you see, at 
206.663941 asterisk is registering to peer and everything is going smoothly.

Before calls where dropped which means asterisk wasn't registered 
despite the fact that CLI 'asterisk show registry' tell it is!

175.558078 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP/SDP Request: INVITE 
sip:33123456789 at xxx.xxx.xxx.xxx:1024, with session description
176.560988 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP/SDP Request: INVITE 
sip:33123456789 at xxx.xxx.xxx.xxx:1024, with session description
177.570332 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP/SDP Request: INVITE 
sip:33123456789 at xxx.xxx.xxx.xxx:1024, with session description
179.557402 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP/SDP Request: INVITE 
sip:33123456789 at xxx.xxx.xxx.xxx:1024, with session description
183.561244 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP/SDP Request: INVITE 
sip:33123456789 at xxx.xxx.xxx.xxx:1024, with session description
187.560342 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: CANCEL 
sip:33123456789 at xxx.xxx.xxx.xxx:1024
188.564653 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: CANCEL 
sip:33123456789 at xxx.xxx.xxx.xxx:1024
189.564911 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: CANCEL 
sip:33123456789 at xxx.xxx.xxx.xxx:1024
191.564886 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: CANCEL 
sip:33123456789 at xxx.xxx.xxx.xxx:1024
195.564242 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: CANCEL 
sip:33123456789 at xxx.xxx.xxx.xxx:1024
199.560525 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: CANCEL 
sip:33123456789 at xxx.xxx.xxx.xxx:1024
203.560358 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: CANCEL 
sip:33123456789 at xxx.xxx.xxx.xxx:1024
206.663941 xxx.xxx.xxx.xxx -> yyy.yyy.yyy.yyy SIP Request: REGISTER 
sip:sip.peer.fr
206.677336 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Status: 100 Trying    
(1 bindings)
206.677411 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Status: 401 
Unauthorized    (0 bindings)
206.678862 xxx.xxx.xxx.xxx -> yyy.yyy.yyy.yyy SIP Request: REGISTER 
sip:sip.peer.fr
206.692243 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Status: 100 Trying    
(1 bindings)
206.692420 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Status: 200 OK    (1 
bindings)
207.756593 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: NOTIFY 
sip:peerID at xxx.xxx.xxx.xxx
207.756797 xxx.xxx.xxx.xxx -> yyy.yyy.yyy.yyy SIP Status: 481 No 
subscription
225.059379 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP/SDP Request: INVITE 
sip:33123456789 at xxx.xxx.xxx.xxx:1024, with session description
225.060398 xxx.xxx.xxx.xxx -> yyy.yyy.yyy.yyy SIP Status: 100 Trying
225.061012 xxx.xxx.xxx.xxx -> yyy.yyy.yyy.yyy SIP/SDP Status: 200 OK, 
with session description
225.074312 yyy.yyy.yyy.yyy -> xxx.xxx.xxx.xxx SIP Request: ACK 
sip:33123456789 at xxx.xxx.xxx.xxx

Thanks for any hint.

-- 
Daniel



More information about the asterisk-users mailing list