[asterisk-users] Hacked by Microsoft?

2012-11-28 Thread J Gao
This morning someone tried to make sip call through my Asterisk. My server just drop these calls and record them in CDR with IP address: 2012-11-28 06:30:51 SIP/216... 1000 1000 1000 Hangup 999011972592249388 ANSWERED 00:01 Hacker: 168.63.67.239 2. 2012-11-28 06:30:49 SIP/216... 1000 1000

Re: [asterisk-users] Sending calls from behind NAT

2012-11-15 Thread J Gao
On 12-11-13 11:38 PM, bilal ghayyad wrote: Dears; What Jian said is the right and it worked. But I have the following questions: Why 192.168.10.2 is wrong and I have to use 192.168.10.0? Also, do I have to set the localnet or it is enough to set the externip? The IP information is called

Re: [asterisk-users] Sending calls from behind NAT

2012-11-13 Thread J Gao
On 12-11-13 01:16 PM, bilal ghayyad wrote: Dears; It seems my service provider is requesting a complicated settings to allow me to send from behind NAT. What they said: It shouldn't matter as long as you are handling the NAT correctly your end. We do not fix NAT so if you're sending

Re: [asterisk-users] System Command not executing php

2011-08-24 Thread J Gao
Try put the php in the AGI directory and call it via AGI() in Asterisk. Jian On 11-08-24 10:21 AM, Tim King wrote: *I have been testing this for a week now, and I am still struggling to make it work. Here is the output from extension 11 just to show that permissions are correct and asterisk

Re: [asterisk-users] System Command not executing php

2011-08-24 Thread J Gao
Try: exten = 777,1,AGI(faxnotify.php,NOTIFY, tim.compnetw...@gmail.com mailto:tim.compnetw...@gmail.com ,616555, 24/08/11 : 09:00:00, FAX_SUCCESS, 1) On 11-08-24 11:01 AM, Tim King wrote: exten = 777,1,AGI(faxnotify.php,NOTIFY tim.compnetw...@gmail.com mailto:tim.compnetw...@gmail.com

Re: [asterisk-users] System Command not executing php

2011-08-24 Thread J Gao
access faxnotify.php On Wed, 24 Aug 2011, J Gao wrote: Try put the php in the AGI directory and call it via AGI() in Asterisk. On Wed, Aug 24, 2011, Steve Edwards wrote: If the script does not conform to the AGI protocol, do not call it with agi(). On Wed, 24 Aug 2011, Tim King wrote

Re: [asterisk-users] System Command not executing php

2011-08-24 Thread J Gao
On 11-08-24 03:48 PM, Steve Edwards wrote: On Wed, 24 Aug 2011, J Gao wrote: I admit that using AGI() may not correct here. This is a work around about passing multiple args to php script. (I had this trouble before.) I would like to know what is the correct way to call the php script

[asterisk-users] SIP trunk trouble. Please help.

2011-08-15 Thread J Gao
Hello, I am troubleshooting a SIP trunk problem. The system is Asterisk 1.8.5. The problem is can't make any outbound/inbound. It always get Number is not valid 701. I tried to figure out the reason the call got dropped and couldn't find out the solution. I noticed that in the SIP debug

Re: [asterisk-users] No more CDR record for simple Hangup?

2011-08-11 Thread J Gao
On 11-08-08 09:50 AM, Miguel Molina wrote: El 08/08/11 11:46, J Gao escribió: On 11-08-06 10:06 AM, Miguel Molina wrote: El 05/08/11 13:20, J Gao escribió: I am using the new 1.8.5 and I just found out that Asterisk won't record the call if the call just hangup. I did a test like

Re: [asterisk-users] SRV question

2011-08-10 Thread J Gao
On 11-08-10 03:18 AM, Ruben Rögels wrote: Am 08.08.2011 18:37, schrieb J Gao: Hello, All, I have a question about using SRV record. One of SIP provider is using DNS SRV record. If I use IP address of the SIP proxy server I can successfully register my Asterisk 1.8.5. But If I try to use

Re: [asterisk-users] SRV question

2011-08-09 Thread J Gao
Anyone? On 11-08-08 09:37 AM, J Gao wrote: Hello, All, I have a question about using SRV record. One of SIP provider is using DNS SRV record. If I use IP address of the SIP proxy server I can successfully register my Asterisk 1.8.5. But If I try to use the domain name like: /register

[asterisk-users] SRV question

2011-08-08 Thread J Gao
Hello, All, I have a question about using SRV record. One of SIP provider is using DNS SRV record. If I use IP address of the SIP proxy server I can successfully register my Asterisk 1.8.5. But If I try to use the domain name like: /register = user:p...@somedomain.com/ then the registration

Re: [asterisk-users] No more CDR record for simple Hangup?

2011-08-08 Thread J Gao
On 11-08-06 10:06 AM, Miguel Molina wrote: El 05/08/11 13:20, J Gao escribió: I am using the new 1.8.5 and I just found out that Asterisk won't record the call if the call just hangup. I did a test like this: exten = 1009, 1, Hangup() Then I called 1009: == Using UDPTL CoS mark 5

[asterisk-users] No more CDR record for simple Hangup?

2011-08-05 Thread J Gao
I am using the new 1.8.5 and I just found out that Asterisk won't record the call if the call just hangup. I did a test like this: exten = 1009, 1, Hangup() Then I called 1009: == Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5 -- Executing [1009@init-1005:1]

Re: [asterisk-users] Asterisk binaries on CentOS version 6

2011-07-14 Thread J Gao
On 11-07-14 09:54 AM, Robert Huddleston wrote: I stand amused that people want to experiment with VoIP and Asterisk - but aren't willing to: ( a ) Read wiki / manuals / faqs ( b ) demand packages for their o/s This ain't windows folks :) ./configure make make install Is really simple :)