Summary: | ASTERISK-14437: OPTIONS Messages Flood - Memory Crash | ||
Reporter: | Max A Glucksmann (maxgo) | Labels: | |
Date Opened: | 2009-07-08 14:09:30 | Date Closed: | 2011-06-07 14:01:00 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Exact revision of Asterisk: Asterisk SVN-branch-1.4-r198665 Checked out from svn using version 1.4: svn co http://svn.digium.com/svn/asterisk/branches/1.4 asterisk-1.4 Problem: Thousands of OPTIONS messages are sent per minute to particular devices. This has happened with a Cisco 7940 with the NAT IP wrongly configured having an internal IP address that didn't belong to the phone. after it was corrected to have the router's external IP, the OPTIONS messages stopped. Asterisk gets to a point where it can't receive any calls because there's not enough memory left. It also happened with a Linksys PAP2 that has a public IP, so the correction above can't be reproduced. ****** ADDITIONAL INFORMATION ****** Is there a way of establishing a period of time between OPTIONS messages to a single peer? Maybe it's already configurable, but I'm not aware where it can be set. Should we use another revision number? Thanks in advance, Max Glucksmann | ||
Comments: | By: Max A Glucksmann (maxgo) 2009-07-08 14:10:58 This is to show an example of what happens, but it happens continuously without stopping: Reliably Transmitting (NAT) to a.b.c.d:5062: OPTIONS sip:1021012@a.b.c.d:49155 SIP/2.0 Via: SIP/2.0/UDP w.x.y.z:5060;branch=z9hG4bK057f2272;rport From: "asterisk" <sip:asterisk@w.x.y.z>;tag=as3a56b084 To: <sip:1021012@a.b.c.d:49155> Contact: <sip:asterisk@w.x.y.z> Call-ID: 1756365265860042395ffb7711aaf9f0@w.x.y.z CSeq: 102 OPTIONS User-Agent: ComtelPBX Max-Forwards: 70 Date: Wed, 08 Jul 2009 18:48:24 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Content-Length: 0 --- Reliably Transmitting (NAT) to a.b.c.d:5062: OPTIONS sip:1021012@a.b.c.d:49155 SIP/2.0 Via: SIP/2.0/UDP w.x.y.z:5060;branch=z9hG4bK3c1b6069;rport From: "asterisk" <sip:asterisk@w.x.y.z>;tag=as05a9953f To: <sip:1021012@a.b.c.d:49155> Contact: <sip:asterisk@w.x.y.z> Call-ID: 4067580232c2d62833e049af4b357a1c@w.x.y.z CSeq: 102 OPTIONS User-Agent: ComtelPBX Max-Forwards: 70 Date: Wed, 08 Jul 2009 18:48:24 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Content-Length: 0 --- Really destroying SIP dialog '04d130497072819a35d2b64038dd5d82@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '5b2a49815c038df87ea44a0158af8692@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '53a86bc348e2d99940778c310d7decef@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '4984cbf5589d19d125151bbf7d415af5@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '7255e5b40e2ca7d91fa398a35ca9c408@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '34cb125673b69c31797dff5b054229ff@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '4216cada6ac42d5e6a6320c629ed6ae6@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '715c2ed30b8610db229e0e1a06f64dad@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '556e193e05cbc1816c89d133592e1feb@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '756b66693fd064e45c5b77fd08db74cd@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '5ed6bab0049a5c285074ff83356e7a05@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '093fdd990161868421ccc1aa23b7f840@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '029adb457364b0331a2655eb727bfc25@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '6c86f5296c33c72f793f5edf724270c1@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '0c202a5225e511e171b723a5308e9b5e@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '41ab2e6f0fa1274f636b34f41c94706d@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '2102dc1d0ecab9e02f76cb3f104b496d@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '67b5ed106990ea854e601d760696077f@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '15251e996a7ba1847dd6f4b72b3aa62a@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '1577553c72a720be0e6cb2c431aae4e9@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '2b1af9e00c9c9f2d68961a5d17a48541@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '4210cec140ac0fa613a406b549255bc9@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '0d9c1d4a7fe56c6e08f7d39f1c89ef0e@w.x.y.z' Method: OPTIONS Really destroying SIP dialog '61558f39295aee1874e66f312ebc3fe2@w.x.y.z' Method: OPTIONS By: David Vossel (dvossel) 2009-07-15 12:51:29 what do you have the qualify option set to in sip.conf? Can you include a packet capture? By: Leif Madsen (lmadsen) 2009-09-18 09:42:02 Closed due to lack of response from the reporter. |