S
S
Sergey Pikalev2013-07-24 13:51:15
Asterisk
Sergey Pikalev, 2013-07-24 13:51:15

Asterisk logs, reveal ip address of bruteforcer?

Good afternoon!

There are several Asterisk servers of different versions, mostly 1.8, but there is also 1.6
On 1.8 servers, the line slips in the logs

Call from '' (184.107.70.15:5082) to extension '348810972546417592' rejected because extension not found in context 'incoming_calls'.


on server 1.6 there is a similar line, but without the IP address of the bruteforcer.
Call from '' to extension '810972597562951' rejected because extension not found in context 'incoming_calls'.


Question: how to enable the display of this IP? Preferably without rebuilding the aster and editing the sources, of course :)

allowguest=no does not work for reasons beyond my control.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Skogorev, 2013-07-24
@qde5n1k

exten => _810.,1,Set(CDR(userfield)=${CHANNEL(recvip)})
and catch your Chinese

V
varnav, 2014-12-31
@varnav

habrahabr.ru/post/194356
But it doesn't work for 1.8. For 1.8 channel, only source patching and rebuilding, alas.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question