Дома стоит астериск, на нем один GSM и sipnet. Сегодня стал жертвой. Кто - без подбора паролей, просто через INVITE звонил с моего астера, потратили все бабки на sipnet. Это конечно обидно, но дело не в том. Как это возможно ?
-------Что было замечено в консоли
== Using SIP RTP CoS mark 5
[Sep 10 18:15:11] NOTICE[5634]: chan_sip.c:21977 handle_request_invite: Call from '' (85.195.93.238:13568) to extension '0050928129000' rejected because extension not found in context 'phones'.
== Using SIP RTP CoS mark 5
[Sep 10 18:15:11] NOTICE[5634]: chan_sip.c:21977 handle_request_invite: Call from '' (85.195.93.238:13568) to extension '0050928129000' rejected because extension not found in context 'phones'.
== Using SIP RTP CoS mark 5
[Sep 10 18:15:11] NOTICE[5634]: chan_sip.c:21977 handle_request_invite: Call from '' (85.195.93.238:13568) to extension '0050928129000' rejected because extension not found in context 'phones'.
------- Это из cdr
"","unknown","00213550655984","phones","""SipPhone"" <unknown>","SIP/85.195.93.238:13568-00000093","SIP/sipnet-00000094","Dial","SIP/sipnet/00213550655984","2011-09-10
13:47:33","2011-09-10 13:47:54","2011-09-10 14:12:53",1520,1499,"ANSWERED","DOCUMENTATION","1315662453.205",""
"","unknown","00442075501000","phones","""SipPhone"" <unknown>","SIP/85.195.93.238:13568-0000006d","SIP/sipnet-0000006e","Dial","SIP/sipnet/00442075501000","2011-09-10
13:36:23","2011-09-10 13:36:28","2011-09-10 13:36:29",6,1,"ANSWERED","DOCUMENTATION","1315661783.167",""
"","unknown","0053335943","phones","""SipPhone"" <unknown>","SIP/85.195.93.238:13568-000000bf","SIP/sipnet-000000c0","Dial","SIP/sipnet/0053335943","2011-09-10 14:13:53
",,"2011-09-10 14:13:53",0,0,"NO ANSWER","DOCUMENTATION","1315664033.249",""
-------------------
До чего додумался с ходу, включил опции
alwaysauthreject = yes
auth_options_requests = yes
и сменил contex по умолчанию на заглушку.
Пока не решаюсь класть деньги на sipnet. Скажите, как можно было делать звонки, не будучи прописанным в пирах ?
Я новичек в asterisk, не пинайте сильно пожалуйста.