trunkinbound i new stack

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

trunkinbound i new stack

Postby iboam » Mon Feb 29, 2016 5:59 pm

I friends installed a ViciBox_v.7.x86_64-7.0.0 | Vicidial 2.12-538a Build 160122-1401 | Asterisk 11 | Single Server | Intel Core i7-3770 8GB-RAM | 1TB Hard Drive

on friday finally i was able to make inbounds/outbound calls. changing extensions.conf from

[trunkinbound]
; DID call routing process
;exten => _XXXXXXXXXX,1,AGI(agi-DID_route.agi) ; use this one instead of the one below if you are having delay issues, and match to number of received digits

exten => _+1XXXXXXXXXX.,1,AGI(agi-DID_route.agi)
exten => _+1XXXXXXXXXX.,n,Hangup()

; If you have DIDs that arrive with a plus sign at the beginning then uncomment
;exten => _+X.,1,AGI(agi-DID_route.agi)
;exten => _+X.,n,Hangup()

; If you have DIDs that arrive with a plus and 1 at the beginning that you want to filter out, then uncomment
exten => _+1X.,1,Goto(trunkinbound,${EXTEN:2},1)

; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses ... DEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})


to

[trunkinbound]
; DID call routing process
;exten => _X.,1,AGI(agi-DID_route.agi)
exten => _+1X.,1,Goto(trunkinbound,${EXTEN},1)

; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses ... DEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})


but today ... since i start the server im getting this error

[Feb 29 17:29:09] NOTICE[1523]: chan_sip.c:28451 handle_request_register: Registration from '"8888" <sip:8888@10.1.100.221:5060>' failed for '173.208.213.196:5094' - Wrong password
[Feb 29 17:29:16] NOTICE[1523]: chan_sip.c:28451 handle_request_register: Registration from '"6700" <sip:6700@10.1.100.221:5060>' failed for '173.208.213.196:5068' - Wrong password
[Feb 29 17:29:30] NOTICE[1523]: chan_sip.c:28451 handle_request_register: Registration from '"3611" <sip:3611@10.1.100.221:5060>' failed for '173.208.213.196:5087' - Wrong password
[Feb 29 17:29:44] NOTICE[1523]: chan_sip.c:28451 handle_request_register: Registration from '"1611" <sip:1611@10.1.100.221:5060>' failed for '173.208.213.196:5061' - Wrong password
[Feb 29 17:29:48] NOTICE[1523]: chan_sip.c:28451 handle_request_register: Registration from '"5802" <sip:5802@10.1.100.221:5060>' failed for '173.208.213.196:5081' - Wrong password
[Feb 29 17:29:54] NOTICE[1523]: chan_sip.c:28451 handle_request_register: Registration from '"808" <sip:808@10.1.100.221:5060>' failed for '173.208.213.196:5089' - Wrong password


i'm thinking that someone is trying to use my dialer since i have only 2 users/agent registered. I played a little bit with the iptables with no luck.

Since i modified the iptables, everytime i make a test Inbound calls asterisk says:.

[Feb 29 17:28:34] -- Goto (trunkinbound,7864751890,1)
[Feb 29 17:28:34] -- Executing [7864751890@trunkinbound:1] Goto("SIP/SIPProvider-0000003a", "trunkinbound,7864751890,1") in new stack


My did it's like +1XXXXXXXXXX

Please any help ????
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 257
Joined: Mon Feb 08, 2016 2:35 pm

Re: trunkinbound i new stack

Postby iboam » Mon Feb 29, 2016 6:16 pm

i just found this

Postby williamconley » Fri May 09, 2014 12:44 pm

your asterisk command line interface should indicate the DID that was called when an inbound call arrives. that DID is the one you will need to configure.

NEVER delete the default DID. If you did, you'll need to perform a db restore to get the old one back to be sure it's "perfect". the default did is "special" and should never be deleted.


in my case i deleted the default did .... :cry: no .... if i create the default did it will work ?? how do i perform a db restore to get the old one back ??
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 257
Joined: Mon Feb 08, 2016 2:35 pm

Re: trunkinbound i new stack

Postby williamconley » Sat Mar 05, 2016 6:21 pm

iboam wrote:i just found this
...
in my case i deleted the default did .... :cry: no .... if i create the default did it will work ?? how do i perform a db restore to get the old one back ??

How to perform a db restore is covered in several posts. Plus I think there's a Vicidial Wiki entry for it. Another method is to edit the .sql file in the backup and find the entry that created the default did in the first place. You can also get this entry from the trunk SVN folder "extras" which has all the sql files used to build the system in the first place. That would give you the original sql code to generate the did table with that single entry in it.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 60 guests