Re: [asterisk-users] Issues with Twilio number incoming call and context matching

2015-12-02 Thread Sonny Rajagopalan
Thanks for your quick responses, Annus.

As you can see, in my original post, I forward to context "from-external".
I forward to "from-twilio-remove-plus" only to check if
http://orourketech.com/elastix-plus-sign-caller-id-messing-things/ will
solve my problem. It did not. At no point do I point it to the
from-internal context.

On Wed, Dec 2, 2015 at 10:35 AM, Annus Fictus  wrote:

> Maybe is because now it's a different context:
>
> from-twilio-remove-plus
>
> before
>
> from-internal
>
> is right?
>
> regards
>
> El 02/12/2015 a las 10:22, Sonny Rajagopalan escribió:
>
> Yes, I have tried that too (i.e, exten => +17775551212,1,Log(WARNING,
> TWILIO)). It does not work and NO error message in CLI.
>
> I have also tried
> http://orourketech.com/elastix-plus-sign-caller-id-messing-things/ since
> I first emailed this group, but that does not seem to work either.
>
> Here is my log:
>
> [Dec  2 15:09:28] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: Call
> from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060) to extension
> '+17775551212' rejected because extension not found in context
> 'from-twilio-remove-plus'.
> [Dec  2 15:09:29] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: Call
> from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060) to extension
> '+17775551212' rejected because extension not found in context
> 'from-twilio-remove-plus'.
> ip-*CLI> dialplan show from-twilio-remove-plus
> [ Context 'from-twilio-remove-plus' created by 'pbx_config' ]
>   '_[+1]XX' => 1. GotoIf($["${CALLERID(num):0:2}" !=
> "+1"]?noplusatstart) [pbx_config]
> 2. Log(WARNING,TWILIO)
>  [pbx_config]
> 3. Set(CALLERID(num)=${CALLERID(num):1})
>  [pbx_config]
>  [noplusatstart] 4. Goto(from-external,${EXTEN},1)
> [pbx_config]
> ip-*CLI> dialplan show from-external
> [ Context 'from-external' created by 'pbx_config' ]
>   '17775551212' =>  1. Log(WARNING,TWILIO)
>  [pbx_config]
> 2. Hangup()
> [pbx_config]
>
>
> On Wed, Dec 2, 2015 at 9:23 AM, Annus Fictus 
> wrote:
>
>> Hello,
>>
>> try to change:
>>
>> exten => 17775551212,1,Log(WARNING, TWILIO)
>> same =>  n,Hangup()
>>
>> with:
>>
>> exten => +17775551212,1,Log(WARNING, TWILIO)
>> same =>  n,Hangup()
>>
>> Regards
>>
>> --
>> _
>> -- Bandwidth and Colocation Provided by 
>> http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] e164.org dead ?

2015-12-02 Thread Julien Sansonnens
Hello,

Does the ENUM service e164.org died? All queries that I do lead to
"NXDOMAIN". I feel that the base has simply been empty for several
months. Maybe some old addresses are still resolved, but the newer
ones are not.

The website still works, but it seems that everyone has left the
plane, leaving the autopilot mode. Of course, no one responds to
support emails.

Have you experienced similar problems? Anyone has information from within?

Regards, Julien

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issues with Twilio number incoming call and context matching

2015-12-02 Thread Sonny Rajagopalan
Yes, I have tried that too (i.e, exten => +17775551212,1,Log(WARNING,
TWILIO)). It does not work and NO error message in CLI.

I have also tried
http://orourketech.com/elastix-plus-sign-caller-id-messing-things/ since I
first emailed this group, but that does not seem to work either.

Here is my log:

[Dec  2 15:09:28] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: Call
from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060) to extension
'+17775551212' rejected because extension not found in context
'from-twilio-remove-plus'.
[Dec  2 15:09:29] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: Call
from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060) to extension
'+17775551212' rejected because extension not found in context
'from-twilio-remove-plus'.
ip-*CLI> dialplan show from-twilio-remove-plus
[ Context 'from-twilio-remove-plus' created by 'pbx_config' ]
  '_[+1]XX' => 1. GotoIf($["${CALLERID(num):0:2}" !=
"+1"]?noplusatstart) [pbx_config]
2. Log(WARNING,TWILIO)
 [pbx_config]
3. Set(CALLERID(num)=${CALLERID(num):1})
 [pbx_config]
 [noplusatstart] 4. Goto(from-external,${EXTEN},1)
[pbx_config]
ip-*CLI> dialplan show from-external
[ Context 'from-external' created by 'pbx_config' ]
  '17775551212' =>  1. Log(WARNING,TWILIO)
 [pbx_config]
2. Hangup()
[pbx_config]


On Wed, Dec 2, 2015 at 9:23 AM, Annus Fictus  wrote:

> Hello,
>
> try to change:
>
> exten => 17775551212,1,Log(WARNING, TWILIO)
> same =>  n,Hangup()
>
> with:
>
> exten => +17775551212,1,Log(WARNING, TWILIO)
> same =>  n,Hangup()
>
> Regards
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issues with Twilio number incoming call and context matching

2015-12-02 Thread Annus Fictus

Hello,

try to change:

exten => 17775551212,1,Log(WARNING, TWILIO)
same =>  n,Hangup()

with:

exten => +17775551212,1,Log(WARNING, TWILIO)
same =>  n,Hangup()

Regards
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issues with Twilio number incoming call and context matching

2015-12-02 Thread Annus Fictus

Maybe is because now it's a different context:

from-twilio-remove-plus

before

from-internal

is right?

regards

El 02/12/2015 a las 10:22, Sonny Rajagopalan escribió:
Yes, I have tried that too (i.e, exten => +17775551212,1,Log(WARNING, 
TWILIO)). It does not work and NO error message in CLI.


I have also tried 
http://orourketech.com/elastix-plus-sign-caller-id-messing-things/ 
since I first emailed this group, but that does not seem to work either.


Here is my log:

[Dec  2 15:09:28] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: 
Call from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060 
) to extension '+17775551212' 
rejected because extension not found in context 'from-twilio-remove-plus'.
[Dec  2 15:09:29] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: 
Call from 'from-twilio' (UDP:mysillyApp.pstn.twilio.com:5060 
) to extension '+17775551212' 
rejected because extension not found in context 'from-twilio-remove-plus'.

ip-*CLI> dialplan show from-twilio-remove-plus
[ Context 'from-twilio-remove-plus' created by 'pbx_config' ]
'_[+1]XX' => 1. GotoIf($["${CALLERID(num):0:2}" != 
"+1"]?noplusatstart) [pbx_config]

2. Log(WARNING,TWILIO)  [pbx_config]
3. Set(CALLERID(num)=${CALLERID(num):1})  [pbx_config]
 [noplusatstart] 4. Goto(from-external,${EXTEN},1)   [pbx_config]
ip-*CLI> dialplan show from-external
[ Context 'from-external' created by 'pbx_config' ]
'17775551212' =>  1. Log(WARNING,TWILIO)[pbx_config]
2. Hangup() [pbx_config]


On Wed, Dec 2, 2015 at 9:23 AM, Annus Fictus > wrote:


Hello,

try to change:

exten => 17775551212,1,Log(WARNING, TWILIO)
same =>  n,Hangup()

with:

exten => +17775551212,1,Log(WARNING, TWILIO)
same =>n,Hangup()

Regards

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users






-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Failed to authenticate device 100

2015-12-02 Thread Motty

Hello, I continued to see this errors in the logs:

[2015-12-02 10:05:57] NOTICE[19949]: chan_sip.c:23277 
handle_request_invite: Failed to authenticate device 
100;tag=10cdeaf7


how do I guard against this kinds of attacks? Also, to get the IP 
address from where this attack come from I use the following command 
"tcpdump -lni eth0 -f "udp port 5060" is there an easy way to get the 
attacker's IP?


Thanks,
Motty
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Failed to authenticate device 100

2015-12-02 Thread Telium Technical Support
The details of the source IP are available in the asterisk security log (if you 
have that enabled) – but that particular attack hides its address from the 
messages file.

 

It’s essential that you secure your PBX; there are options ranging from free to 
commercial.  Have a look at:

 

http://www.voip-info.org/wiki/view/Asterisk+security

 

It’s easy to get a $20,000 phone bill, so take securing your PBX seriously.

 

-M-

 

 

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Motty
Sent: Wednesday, December 02, 2015 1:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion; 
motty.c...@gmail.com
Subject: [asterisk-users] Failed to authenticate device 100

 

Hello, I continued to see this errors in the logs: 

[2015-12-02 10:05:57] NOTICE[19949]: chan_sip.c:23277 handle_request_invite: 
Failed to authenticate device 100  
;tag=10cdeaf7

how do I guard against this kinds of attacks? Also, to get the IP address from 
where this attack come from I use the following command "tcpdump -lni eth0 -f 
"udp port 5060" is there an easy way to get the attacker's IP? 

Thanks, 
Motty

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issues with Twilio number incoming call and context matching

2015-12-02 Thread Amit Patkar

Hi

Your extensions.conf should have +17775551212 extension and not 17775551212

Add + sign before your number. This should solve your issue.

[from-external]
exten => +17775551212,1,Log(WARNING, TWILIO)
same => n,Hangup()

*Thanks & Regards,*
Amit Patkar

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Issues with Twilio number incoming call and context matching

2015-12-02 Thread Sonny Rajagopalan
Hello,

I am running Asterisk 13.6.0 in an AWS instance, and I set it up with
Twilio SIP trunk using pjsip_wizard.conf (nice feature!). I see that the
calls actually "reach" the PBX, but for some reason, they are not caught by
any of my extensions context.

Here's what I observe when I test this from a non-PBX connected E164 number
(a landline), say 555-666-1212. My Twilio number is 777-555-1212

Situation 1:
=
extensions.conf:

[from-external]
exten => _.,1,Log(WARNING, TWILIO)

[from-internal]
...

Calling 555-666-1212 to Twilio number 777-555-1212:

On Asterisk CLI (core set debug on, logger set level WARNING on):

No logs at all. Call just ends. No friendly message saying why it will
hangup.

Situation 2:
===
extensions.conf:

[from-external]

exten => 17775551212,1,Log(WARNING, TWILIO)
same =>  n,Hangup()

On Asterisk CLI:
Call from 'from-twilio' (UDP:mysillyapp.pstn.twilio.com:5060) to extension
'+17775551212' rejected because extension not found in context
'from-external'.

However, clearly, the extension is there (in extensions.conf). The call
hangs up, but with Twilio's "The number you dialed is not a working
number" message.

What am I missing here? How do I fix this issue with the call not being
"caught" with my extensions.conf?

Any help is appreciated.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users