Hi All, My research indicates ANI is not really supported with SIP Channels or passed between SIP servers, even with setting function CALLERID(ANI). So the only place this applies is on PRI interfaces, when sending calls out a ZAP PRI you can set the ANI to whatever and CID Number to a different whatever so on the other end of the PRI you will receive the two different values? Is this correct or is there a way to set ANI on an outgoing SIP channel (like to a PRI gateway) and the gateway will see a CID Number and a separate ANI and insert that into the ISDN messaging down the PRI? Thanks for any clarification. JR -- JR Richardson Engineering for the Masses
Hello List, I have noticed for the past few weeks that someone from an unknown IP is trying to make a call to my Asterisk box, below is the sample content of the log file. Sometimes the calls are being made every seconds. Is my system being hack by someone? Oct 12 09:41:47] VERBOSE[3114] netsock.c: == Using SIP VRTP CoS mark 6 [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Executing [99541442073479999 at from-sip-external:1] NoOp("SIP/113.105.153.251-00000265", "Received incoming SIP connection from unknown peer to 99541442073479999") in new stack [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Executing [99541442073479999 at from-sip-external:2] Set("SIP/113.105.153.251-00000265", "DID=99541442073479999") in new stack [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Executing [99541442073479999 at from-sip-external:3] Goto("SIP/113.105.153.251-00000265", "s,1") in new stack [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Goto (from-sip-external,s,1) [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Executing [s at from-sip-external:1] GotoIf("SIP/113.105.153.251-00000265", "0?checklang:noanonymous") in new stack [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Goto (from-sip-external,s,5) [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Executing [s at from-sip-external:5] Set("SIP/113.105.153.251-00000265", "TIMEOUT(absolute)=15") in new stack [Oct 12 09:41:47] VERBOSE[21627] func_timeout.c: Channel will hangup at 2010-10-12 09:42:02.042 PHT. [Oct 12 09:41:47] VERBOSE[21627] pbx.c: -- Executing [s at from-sip-external:6] Answer("SIP/113.105.153.251-00000265", "") in new stack Please Advise. Malvin
Am 12.10.10 07:57, schrieb Malvin Rito:> Hello List, > > I have noticed for the past few weeks that someone from an unknown IP is > trying to make a call to my Asterisk box, below is the sample content of the > log file. Sometimes the calls are being made every seconds. > > Is my system being hack by someone? >hello, if you look at the ip,where this calls come from, it say 113.105.153.251 -> inetnum: 113.96.0.0 - 113.111.255.255 netname: CHINANET-GD descr: CHINANET Guangdong province network descr: Data Communication Division descr: China Telecom so if you dont know someone in china, it would be a good idea to block this AND set allowguest=no to prevent this in future. best regards stefan schmidt
On Tue, Oct 12, 2010 at 10:05 AM, Stefan Schmidt <sst at sil.at> wrote:> so if you dont know someone in china, it would be a good idea to block > this AND set allowguest=no to prevent this in future. >And firewall your Asterisk box. -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com
ANI and CID are same in SIP some people use P-Asserted-Identity header to send ANI , but that is not a standard specification just a workaround. -- Thanks & Regards, Godson Gera IVR FreeSWITCH Radius India <http://godson.in/> On Tue, Oct 12, 2010 at 5:07 AM, JR Richardson <jmr.richardson at gmail.com>wrote:> Hi All, > > My research indicates ANI is not really supported with SIP Channels or > passed between SIP servers, even with setting function CALLERID(ANI). > So the only place this applies is on PRI interfaces, when sending > calls out a ZAP PRI you can set the ANI to whatever and CID Number to > a different whatever so on the other end of the PRI you will receive > the two different values? > > Is this correct or is there a way to set ANI on an outgoing SIP > channel (like to a PRI gateway) and the gateway will see a CID Number > and a separate ANI and insert that into the ISDN messaging down the > PRI? > > Thanks for any clarification. > > JR > -- > JR Richardson > Engineering for the Masses > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101013/d4d5b5f8/attachment.htm