Help with my system

First off, thanks for any input you have on my current situation…and i will also preface this with saying i know nothing about pbx systems.
So my setup is Asterisk 1.6.0.26…and it was recently hacked.
I’ve reverted to a backup i had of this system and also secured the CentOS with the IPTables.

Anywho,
The system is functioning completely fine whenever someone calls in from a land-line.
The moment someone calls in via a cell phone, the caller hears beeps then it hangs up.
Here is a paste from what the asterisk -r menu says
I am going to delete my company name and phone number from this post, so the incoming number will show as +1512705xxxx, and disregard any other xxxx’s
– DBdel: family=BLKVM, key=604/SIP/NexVortex-000000e7
– Executing [604@ext-group:18] Goto(“SIP/NexVortex-000000e7”, “ext-local,vmu201,1”) in new stack
– Goto (ext-local,vmu201,1)
– Executing [vmu201@ext-local:1] Macro(“SIP/NexVortex-000000e7”, “vm,201,NOANSWER,”) in new stack
– Executing [s@macro-vm:1] Macro(“SIP/NexVortex-000000e7”, “user-callerid,SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/NexVortex-000000e7”, “AMPUSER=+1512705xxxx”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/NexVortex-000000e7”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/NexVortex-000000e7”, “0?Set(REALCALLERIDNUM=+1512705xxxx)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/NexVortex-000000e7”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/NexVortex-000000e7”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/NexVortex-000000e7”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/NexVortex-000000e7”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/NexVortex-000000e7”, “Using CallerID “A-xxxxxxx” <+1512705xxxx>”) in new stack
– Executing [s@macro-vm:2] Set(“SIP/NexVortex-000000e7”, “VMGAIN=”"") in new stack
– Executing [s@macro-vm:3] GotoIf(“SIP/NexVortex-000000e7”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [vmx@macro-vm:1] GotoIf(“SIP/NexVortex-000000e7”, “0?s-NOANSWER,1”) in new stack
– Executing [vmx@macro-vm:2] Set(“SIP/NexVortex-000000e7”, “MODE=unavail”) in new stack
– Executing [vmx@macro-vm:3] GotoIf(“SIP/NexVortex-000000e7”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,5)
– Executing [vmx@macro-vm:5] NoOp(“SIP/NexVortex-000000e7”, “Checking if ext 201 is enabled: “) in new stack
– Executing [vmx@macro-vm:6] GotoIf(“SIP/NexVortex-000000e7”, “1?s-NOANSWER,1”) in new stack
– Goto (macro-vm,s-NOANSWER,1)
– Executing [s-NOANSWER@macro-vm:1] Macro(“SIP/NexVortex-000000e7”, “get-vmcontext,201”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/NexVortex-000000e7”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/NexVortex-000000e7”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“SIP/NexVortex-000000e7”, “”) in new stack
– Executing [s-NOANSWER@macro-vm:2] VoiceMail(“SIP/NexVortex-000000e7”, “201@default,u”””) in new stack
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on ‘SIP/NexVortex-000000e7’ in macro ‘vm’
== Spawn extension (ext-local, vmu201, 1) exited non-zero on ‘SIP/NexVortex-000000e7’

So i have reason to believe that this is happening because our service provider is passing a +1 infront of the number and our system doesnt know how to handle this.

I have tried the instructions at the following link:
freepbx.org/support/document … alled-numb
and after a reboot it still did not work…

Any help is greatly appreciated…

You need to provide the CLI trace from when the call first arrives, not from halfway through trying to send it to voicemail. You should also supply the relevant dialplan, unless it was created by a GUI, in which case, you would be better finding help specific to that GUI, as GUI dialplans can be quite complicated.

My apologies

– Executing [5129281655@from-sip-external:1] NoOp(“SIP/66.23.129.253-0000000f”, “Received incoming SIP connection from unknown peer to 5129281655”) in new stack
– Executing [5129281655@from-sip-external:2] Set(“SIP/66.23.129.253-0000000f”, “DID=5129281655”) in new stack
– Executing [5129281655@from-sip-external:3] Goto(“SIP/66.23.129.253-0000000f”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“SIP/66.23.129.253-0000000f”, “1?from-trunk,5129281655,1”) in new stack
– Goto (from-trunk,5129281655,1)
– Executing [5129281655@from-trunk:1] Set(“SIP/66.23.129.253-0000000f”, “__FROM_DID=5129281655”) in new stack
– Executing [5129281655@from-trunk:2] Gosub(“SIP/66.23.129.253-0000000f”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/66.23.129.253-0000000f”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Return(“SIP/66.23.129.253-0000000f”, “”) in new stack
– Executing [5129281655@from-trunk:3] ExecIf(“SIP/66.23.129.253-0000000f”, “0 ?Set(CALLERID(name)=+15127052457)”) in new stack
– Executing [5129281655@from-trunk:4] Set(“SIP/66.23.129.253-0000000f”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [5129281655@from-trunk:5] Set(“SIP/66.23.129.253-0000000f”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [5129281655@from-trunk:6] Set(“SIP/66.23.129.253-0000000f”, “_RGPREFIX=A-”) in new stack
– Executing [5129281655@from-trunk:7] Set(“SIP/66.23.129.253-0000000f”, “CALLERID(name)=A-ENABLE IT SOLUT”) in new stack
– Executing [5129281655@from-trunk:8] Goto(“SIP/66.23.129.253-0000000f”, “ext-group,604,1”) in new stack
– Goto (ext-group,604,1)
– Executing [604@ext-group:1] Macro(“SIP/66.23.129.253-0000000f”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/66.23.129.253-0000000f”, “AMPUSER=+15127052457”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/66.23.129.253-0000000f”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/66.23.129.253-0000000f”, “1?Set(REALCALLERIDNUM=+15127052457)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/66.23.129.253-0000000f”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/66.23.129.253-0000000f”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/66.23.129.253-0000000f”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/66.23.129.253-0000000f”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/66.23.129.253-0000000f”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/66.23.129.253-0000000f”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/66.23.129.253-0000000f”, “Using CallerID “A-ENABLE IT SOLUT” <+15127052457>”) in new stack
– Executing [604@ext-group:2] GotoIf(“SIP/66.23.129.253-0000000f”, “1?skipdb”) in new stack
– Goto (ext-group,604,4)
– Executing [604@ext-group:4] Set(“SIP/66.23.129.253-0000000f”, “__NODEST=”) in new stack
– Executing [604@ext-group:5] Set(“SIP/66.23.129.253-0000000f”, “__BLKVM_OVERRIDE=BLKVM/604/SIP/66.23.129.253-0000000f”) in new stack
– Executing [604@ext-group:6] Set(“SIP/66.23.129.253-0000000f”, “__BLKVM_BASE=604”) in new stack
– Executing [604@ext-group:7] Set(“SIP/66.23.129.253-0000000f”, “DB(BLKVM/604/SIP/66.23.129.253-0000000f)=TRUE”) in new stack
– Executing [604@ext-group:8] Set(“SIP/66.23.129.253-0000000f”, “RRNODEST=”) in new stack
– Executing [604@ext-group:9] Set(“SIP/66.23.129.253-0000000f”, “__NODEST=604”) in new stack
– Executing [604@ext-group:10] Set(“SIP/66.23.129.253-0000000f”, “RecordMethod=Group”) in new stack
– Executing [604@ext-group:11] Macro(“SIP/66.23.129.253-0000000f”, “record-enable,190,Group”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/66.23.129.253-0000000f”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/66.23.129.253-0000000f”, “recordingcheck,20121031-142304,1351711384.15”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
– <SIP/66.23.129.253-0000000f>AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“SIP/66.23.129.253-0000000f”, “”) in new stack
– Executing [604@ext-group:12] Set(“SIP/66.23.129.253-0000000f”, “RingGroupMethod=ringall”) in new stack
– Executing [604@ext-group:13] Macro(“SIP/66.23.129.253-0000000f”, “dial,15,tr,190”) in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/66.23.129.253-0000000f”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/66.23.129.253-0000000f”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘A-ENABLE IT SOLUT’ number is '+15127052457’
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 190 to extension map
– dialparties.agi: Extension 190 cf is disabled
– dialparties.agi: Extension 190 do not disturb is disabled
– dialparties.agi: dbset CALLTRACE/190 to +15127052457
– dialparties.agi: Filtered ARG3: 190
– <SIP/66.23.129.253-0000000f>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/66.23.129.253-0000000f”, “SIP/190,15,trM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dial:8] Set(“SIP/66.23.129.253-0000000f”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-dial:9] GosubIf(“SIP/66.23.129.253-0000000f”, “0?CHANUNAVAIL,1”) in new stack
– Executing [604@ext-group:14] Set(“SIP/66.23.129.253-0000000f”, “RingGroupMethod=”) in new stack
– Executing [604@ext-group:15] GotoIf(“SIP/66.23.129.253-0000000f”, “0?nodest”) in new stack
– Executing [604@ext-group:16] Set(“SIP/66.23.129.253-0000000f”, “__NODEST=”) in new stack
– Executing [604@ext-group:17] DBdel(“SIP/66.23.129.253-0000000f”, “BLKVM/604/SIP/66.23.129.253-0000000f”) in new stack
– DBdel: family=BLKVM, key=604/SIP/66.23.129.253-0000000f
– Executing [604@ext-group:18] Goto(“SIP/66.23.129.253-0000000f”, “from-did-direct,190,1”) in new stack
– Goto (from-did-direct,190,1)
– Executing [190@from-did-direct:1] Macro(“SIP/66.23.129.253-0000000f”, “exten-vm,novm,190”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“SIP/66.23.129.253-0000000f”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/66.23.129.253-0000000f”, “AMPUSER=+15127052457”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/66.23.129.253-0000000f”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/66.23.129.253-0000000f”, “0?Set(REALCALLERIDNUM=+15127052457)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/66.23.129.253-0000000f”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/66.23.129.253-0000000f”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/66.23.129.253-0000000f”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/66.23.129.253-0000000f”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/66.23.129.253-0000000f”, “__TTL=63”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/66.23.129.253-0000000f”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/66.23.129.253-0000000f”, “Using CallerID “A-ENABLE IT SOLUT” <+15127052457>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“SIP/66.23.129.253-0000000f”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/66.23.129.253-0000000f”, “VMBOX=novm”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/66.23.129.253-0000000f”, “EXTTOCALL=190”) in new stack
– Executing [s@macro-exten-vm:5] Set(“SIP/66.23.129.253-0000000f”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“SIP/66.23.129.253-0000000f”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“SIP/66.23.129.253-0000000f”, “RT=”"") in new stack
– Executing [s@macro-exten-vm:8] Macro(“SIP/66.23.129.253-0000000f”, “record-enable,190,IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/66.23.129.253-0000000f”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/66.23.129.253-0000000f”, “recordingcheck,20121031-142304,1351711384.15”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20121031-142304,1351711384.15: Inbound recording not enabled
– <SIP/66.23.129.253-0000000f>AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“SIP/66.23.129.253-0000000f”, “”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“SIP/66.23.129.253-0000000f”, “dial,”",tr,190") in new stack
– Executing [s@macro-dial:1] GotoIf(“SIP/66.23.129.253-0000000f”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“SIP/66.23.129.253-0000000f”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘A-ENABLE IT SOLUT’ number is '+15127052457’
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 190 to extension map
– dialparties.agi: Extension 190 cf is disabled
– dialparties.agi: Extension 190 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
– dialparties.agi: dbset CALLTRACE/190 to +15127052457
– dialparties.agi: Filtered ARG3: 190
– <SIP/66.23.129.253-0000000f>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:7] Dial(“SIP/66.23.129.253-0000000f”, “SIP/190,”",tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dial:8] Set(“SIP/66.23.129.253-0000000f”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-dial:9] GosubIf(“SIP/66.23.129.253-0000000f”, “0?CHANUNAVAIL,1”) in new stack
– Executing [s@macro-exten-vm:10] GotoIf(“SIP/66.23.129.253-0000000f”, “0?exit,return”) in new stack
– Executing [s@macro-exten-vm:11] Set(“SIP/66.23.129.253-0000000f”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-exten-vm:12] GosubIf(“SIP/66.23.129.253-0000000f”, “0?docfu,1”) in new stack
– Executing [s@macro-exten-vm:13] GosubIf(“SIP/66.23.129.253-0000000f”, “0?docfb,1”) in new stack
– Executing [s@macro-exten-vm:14] Set(“SIP/66.23.129.253-0000000f”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [s@macro-exten-vm:15] NoOp(“SIP/66.23.129.253-0000000f”, “Voicemail is ‘novm’”) in new stack
– Executing [s@macro-exten-vm:16] GotoIf(“SIP/66.23.129.253-0000000f”, “1?s-CHANUNAVAIL,1”) in new stack
– Goto (macro-exten-vm,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp(“SIP/66.23.129.253-0000000f”, "IVR_RETVM: IVR_CONTEXT: ") in new stack
– Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf(“SIP/66.23.129.253-0000000f”, “0?exit,1”) in new stack
– Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones(“SIP/66.23.129.253-0000000f”, “congestion”) in new stack
– Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion(“SIP/66.23.129.253-0000000f”, “10”) in new stack
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 4) exited non-zero on ‘SIP/66.23.129.253-0000000f’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 190, 1) exited non-zero on ‘SIP/66.23.129.253-0000000f’

This is worrying. It indicates that you are accepting calls from all comers. Although SIP can be used that way, you have to get the security right, and most people don’t do it. Unless you have some upstream firewalling, except to get attacked 100s of times a day, by people trying to make toll calls through you!

You need to set allowguest to no, and make sure there are sip.conf entries that match legitimate peers, if you don’t want such an open system.

I can’t further interpret the CLI without the dialplan source code of at least all the lines that evaluate expressions, particularly GoToIf lines.

You really need to find who wrote the dialplan and consult them (they may be distributors of Asterisk GUIs).