IP address of remote SIP host


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

Asterisk Users 3.5 years ago 0 Answers

how to show used "wrong password"


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.6 years ago 9 Answers

Multi-record SRV records


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.6 years ago 7 Answers

Question on PAP2 linksys showing off-hook


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
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.9 years ago 1 Answer



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
777 => 1111,270,salah.elharit200@gmail.com,,|attach=no|review=yes

Asterisk Users 4 years ago 1 Answer