NO INBOUND CALLS - EXTENSION NOT FOUND

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

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

NO INBOUND CALLS - EXTENSION NOT FOUND

Postby iboam » Thu Feb 25, 2016 3:46 pm

Hi friends have the managers manual every outbound campaign runs very good but i'm not able to get any inbound call.

I setup vicidial as:
-> Carrier
-> Phones
-> User Group
-> User
-> Inbound Groups
-> DID
-> Inbound Campaign

but ... every time i call the DID asterisk says:

Call from 'XXXXXX' (XXX.XXX.XXX.XXX) to extension '+1XXXXXXXXXXX' rejected because extension not found in context=trunkinbound


There is any missing setting before settings above ??

Thanks in Advance ...

Local Server with 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
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

NO INBOUND CALLS - TRUNKINBOUND

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

[Feb 29 17:19:55] -- Goto (trunkinbound,+1XXXXXXXXXX,1)
[Feb 29 17:19:55] -- Executing [+1XXXXXXXXXX@trunkinbound:1] Goto("SIP/SIPProvider-00000039", "trunkinbound,+1XXXXXXXXXX,1") in new stack

[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,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--PRI----- NODEBUG -----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})



HEEEEELP
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: NO INBOUND CALLS - EXTENSION NOT FOUND

Postby williamconley » Mon Feb 29, 2016 6:27 pm

Your system is failing because your carrier is sending a + in front of the DID inbound. Either tell your carrier to remove the plus, or change your [trunkinbound] context in extensions.conf to this:

Code: Select all
[trunkinbound]
; DID call routing process
; use this one instead of the one below if you are having delay issues, and match to number of received digits
; exten => _XXXXXXXXXX,n,AGI(agi-DID_route.agi)
; For even more speed, you can put in the real DIDs instead of XXXXXXXXXX (remove the _ in that case)
exten => _X.,1,NoOp(X,${EXTEN},${CALLERID(NUM)})
exten => _X.,n,AGI(agi-DID_route.agi)
; Catch all even with unexpected first digits (will show in CLI for troubleshooting)
exten => _!,1,Noop(!,${EXTEN},${CALLERID(NUM)})
exten => _!,n,AGI(agi-DID_route.agi)
exten => s,1,NoOp(${EXTEN},${CALLERID(NUM)})
exten => s,n,AGI(agi-DID_route.agi)
; removal of Leading Plus Sign from the the phone
exten => _+X!,1,Noop(Stripping + from start of number, for annoying carriers who insist)
exten => _+X!,n,Goto(trunkinbound,${EXTEN:1},1)
; removal of Leading 1 from the the phone (US numbers only, for annoying carriers who insist)
exten => _1!,1,Noop(Stripping 1 from start of number)
exten => _1!,n,Goto(trunkinbound,${EXTEN:1},1)

; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: NO INBOUND CALLS - EXTENSION NOT FOUND

Postby iboam » Thu Mar 03, 2016 2:03 pm

Code: Select all
[Mar  3 14:01:12]     -- Goto (trunkinbound,17864751890,1)
[Mar  3 14:01:12]     -- Executing [17864751890@trunkinbound:1] NoOp("SIP/Provider-00000b4b", "X,17864751890,+17863251053") in new stack
[Mar  3 14:01:12]     -- Executing [17864751890@trunkinbound:2] AGI("SIP/Provider-00000b4b", "agi-DID_route.agi") in new stack
[Mar  3 14:01:12]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Mar  3 14:01:12]     -- <SIP/Provider-00000b4b>AGI Script agi-DID_route.agi completed, returning 0
[Mar  3 14:01:12]     -- Executing [9998811112@default:1] Wait("SIP/Provider-00000b4b", "2") in new stack
[Mar  3 14:01:14]     -- Executing [9998811112@default:2] Answer("SIP/Provider-00000b4b", "") in new stack
[Mar  3 14:01:14]        > 0x25de880 -- Probation passed - setting RTP source address to 54.172.60.91:16512
[Mar  3 14:01:14]     -- Executing [9998811112@default:3] Playback("SIP/Provider-00000b4b", "ss-noservice") in new stack
[Mar  3 14:01:14]     -- <SIP/Provider-00000b4b> Playing 'ss-noservice.gsm' (language 'en')
[Mar  3 14:01:15] NOTICE[1533]: chan_sip.c:28451 handle_request_register: Registration from '"1202" <sip:1202@10.1.100.221:5060>' failed for '212.83.157.118:5062' - Wrong password
[Mar  3 14:01:17]   == Spawn extension (default, 9998811112, 3) exited non-zero on 'SIP/Provider-00000b4b'
[Mar  3 14:01:17]     -- Executing [h@default:1] AGI("SIP/Provider-00000b4b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Mar  3 14:01:17]     -- <SIP/Provider-00000b4b>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0


The number is not in service ... but this DID is active !!! ...
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: NO INBOUND CALLS - EXTENSION NOT FOUND

Postby iboam » Thu Mar 03, 2016 2:15 pm

Nevermind .... It Works i change the did to 1XXXXXXXXXX ....
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


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 68 guests