IP address of remote SIP host

Report
Question

Hi, is it possible to get the SIP IP address of the remote (calling) party,
in the dialplan or (preferrably) in an AGI script? (This sounded like a rather basic question to me, but I could not find
an answer...)
TIA & regards
Jakob

Asterisk Users 3.4 years ago 0 Answers

how to show used "wrong password"

Report
Question

hi all, have asterisk set up in combination with fail2ban.
all works as expected only there is 1 extension that is trying to
register with a wrong password causing fail2ban to block the IP address,
normally that is ok behaviour but i have several extensions on that IP
address. someone has once setup this extension as a test, but it seems to be
impossible to find where it was installed (probably a softphone) and its
a bit far away for me to go check it out. since there is no way to stop the…

Asterisk Users 3.5 years ago 9 Answers

Multi-record SRV records

Report
Question

Hi List, Just looking for advise on the current best approach to work around an
issue I am experiencing. Currently I have a provider with whom I register, their domain has
multiple destinations defined in their SRV record for their domain.
Registrations appear to be working properly, and outbound calls appear
to be working as well. The problem arises when I receive inbound calls,
sometimes the calls are able to come through, and in other instances the
calls arrive but are not pushed through to the correct context because
the source ip address…

Asterisk Users 3.5 years ago 7 Answers

Question on PAP2 linksys showing off-hook

Report
Question

I am using my first PAP2 device from linksys. Used many polycom phones... I configured the PAP2 device with asterisk. I have the registration,
thought I was good to go.
Plugged in my Valcom 2924 public address analog connection, called the
extension
and I got busy... very strange I thought. I then looked at the status page of the PAP2 and it says the following
Reg online and hook state OFF. How do I get the hookstate to be ON so that I can call into the device? I have power cycled it and it…

Asterisk Users 3.8 years ago 1 Answer

voicemail

Report
Question

hello list i have configured the voicemail in my server asterisk 1.4 i can use it
without issue ,i have a question i want to receive an email in my address email when there is no response
from 270 after 10 s could you please verify the code below and tell me what is wrong thanks and regards extensions.conf
exten => 9999,1,VoiceMailMain(777@mb_tutorial) exten => 270,1,Dial(SIP/270, 10)
exten => 270,n,VoiceMail(777@mb_tutorial)
exten => 270,n,PlayBack(vm-goodbye)
exten => 270,n,HangUp() voicemail.conf
[mb_tutorial]
777 => 1111,270,salah.elharit200@gmail.com,,|attach=no|review=yes

Asterisk Users 3.9 years ago 1 Answer

Binding asterisk to two static IPs

Report
Question

He all, I've got a similar setup like [1], and the same issues thats described
there. However, there was never a reply to this thread. I'm using a HA-cluster to run asterisk, on two servers, with two virtual
ips. One for the phones to register, the other one from a different net to
send and receive calls trough my provider. This is aswell a private net,
without nat. From [1]: "If you put 0.0.0.0, it will bind to all addresses. In a HA Cluster, on
the active node, if you have a box address of…

Asterisk Users 3.9 years ago 7 Answers

Different IP addresss for SIP and RTP

Report
Question

Hello,
is it possible to set an IP address for RTP different than the one used for
SIP?
I want to use asterisk behind a sip proxy (opensips), but I was thinking if
I could avoid having to run rtpproxy on the sip proxy server and let
asterisk itself take care of it. So that:
Asterisk SIP address : local ip address
Asterisk RTP address : global ip address

Asterisk Users 4.4 years ago 1 Answer

fail2ban + asterisk

Report
Question

On Sat, Mar 5, 2011 at 8:54 PM, Pezhman Lali wrote:
> Dear
> this note is only for fresh administrators don't think about asterisk
> security.
Do you know where you go to 'un-ban' an IP if they made some mistake? Using webmin I was not able to find the IP address that was was banned. Thanks,
Matt

Asterisk Users 4.6 years ago 1 Answer