Regarding two different DID number inbound setup

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Regarding two different DID number inbound setup

Postby spectabil » Sat May 17, 2014 7:47 pm

i have question . this is our configuration in our 1st setup to add new extension exten=> _(DID number set 1),1,AGI(agi-DID_route.agi) and to add another extension also like this ? is it ok to use that same extension route? im pointing to that 1 if is it ok to use same extension route.. this is my new DID config exten=> _(DID number set 2),1,AGI(agi-DID_route.agi)

because were planning to separate two different number of DID in each campaign..
GOautodial CE 3.0 from 2.1 | Asterisk 1.8.26.1-vici | Single-Server | No Digium/Sangoma Hardware | No Extra Software After Installation |
spectabil
 
Posts: 11
Joined: Sat May 17, 2014 7:40 pm

Re: Regarding two different DID number inbound setup

Postby spectabil » Sat May 17, 2014 10:46 pm

when I test to dial thru agent gui interface, manual call

here is the log:
Code: Select all
Verbosity is at least 21
[May 17 23:36:28]   == Parsing '/etc/asterisk/manager.conf': [May 17 23:36:28] Found
[May 17 23:36:28]   == Manager 'sendcron' logged on from 127.0.0.1
[May 17 23:36:28]     -- Executing [8600051@default:1] MeetMe("Local/8600051@default-b2d2,2", "8600051|F") in new stack
[May 17 23:36:28]        > Channel Local/8600051@default-b2d2,1 was answered.
[May 17 23:36:28]     -- Executing [1XXXXXXXXXX@default:1] AGI("Local/8600051@default-b2d2,1", "agi://127.0.0.1:4577/call_log") in new stack
[May 17 23:36:28]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 17 23:36:28]     -- Executing [91XXXXXXXXXX@default:2] Dial("Local/8600051@default-b2d2,1", "SIP/1XXXXXXXXXX@VOIPProvider||tTo") in new stack
[May 17 23:36:28]     -- Called 1XXXXXXXXXX@VOIPProvider
[May 17 23:36:28]   == Parsing '/etc/asterisk/manager.conf': [May 17 23:36:28] Found
[May 17 23:36:28]   == Manager 'sendcron' logged on from 127.0.0.1
[May 17 23:36:28]     -- Executing [58600051@default:1] MeetMe("Local/58600051@default-4331,2", "8600051|Fmq") in new stack
[May 17 23:36:28]        > Channel Local/58600051@default-4331,1 was answered.
[May 17 23:36:28]     -- Executing [8309@default:1] Answer("Local/58600051@default-4331,1", "") in new stack
[May 17 23:36:28]     -- Executing [8309@default:2] Monitor("Local/58600051@default-4331,1", "wav|20140518-113627_XXXXXXXXXX") in new stack
[May 17 23:36:28]     -- Executing [8309@default:3] Wait("Local/58600051@default-4331,1", "3600") in new stack
[May 17 23:36:29] NOTICE[3285]: chan_sip.c:15566 handle_request_invite: Call from 'VOIPProvider' to extension '1XXXXXXXXXX' rejected because extension not found.
[May 17 23:36:30]   == Manager 'sendcron' logged off from 127.0.0.1
[May 17 23:36:30] NOTICE[3285]: chan_sip.c:15566 handle_request_invite: Call from 'VOIPProvider' to extension '1XXXXXXXXXX' rejected because extension not found.
[May 17 23:36:30]   == Manager 'sendcron' logged off from 127.0.0.1
[May 17 23:36:32] NOTICE[3285]: chan_sip.c:15566 handle_request_invite: Call from 'VOIPProvider' to extension '1XXXXXXXXXX' rejected because extension not found.
[May 17 23:36:34] NOTICE[3285]: chan_sip.c:15566 handle_request_invite: Call from 'VOIPProvider' to extension '1XXXXXXXXXX' rejected because extension not found.
[May 17 23:36:35] NOTICE[3285]: chan_sip.c:15566 handle_request_invite: Call from 'VOIPProvider' to extension '1XXXXXXXXXX' rejected because extension not found.
go*CLI>
Disconnected from Asterisk server
[root@go ~]# nano /etc/asterisk/extensions.conf



my inbound extensions dial plan
Code: Select all
[trunkinbound]
; DID call routing process
exten => _X.,1,AGI(agi-DID_route.agi)
exten => _"2XXXXXXXXXX,1,AGI(agi-DID_route.agi)
exten => _"1XXXXXXXXXX,1,AGI(agi-DID_route.agi)
; 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})

GOautodial CE 3.0 from 2.1 | Asterisk 1.8.26.1-vici | Single-Server | No Digium/Sangoma Hardware | No Extra Software After Installation |
spectabil
 
Posts: 11
Joined: Sat May 17, 2014 7:40 pm

Re: Regarding two different DID number inbound setup

Postby striker » Wed May 21, 2014 7:20 am

what context you set in you carrier

remove " from ur dialplan
exten => _"2XXXXXXXXXX,1,AGI(agi-DID_route.agi)
exten => _"1XXXXXXXXXX,1,AGI(agi-DID_route.agi)
as your call landing in default context
"chan_sip.c:15566 handle_request_invite: Call from 'VOIPProvider' to extension '1XXXXXXXXXX' rejected because extension not found."

enter ur DID in the [default] context

[default]

exten => _2XXXXXXXXXX,1,AGI(agi-DID_route.agi)
exten => _1XXXXXXXXXX,1,AGI(agi-DID_route.agi)
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Regarding two different DID number inbound setup

Postby spectabil » Wed May 21, 2014 8:06 am

hi Striker,

this is my dial plan for default also were using this for our outbound campaign setup
Code: Select all
[default]
include => vicidial-auto
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,Dial(SIP/${EXTEN:1}@VOIPPRovider,,tTo)
exten => _91NXXNXXXXXX,n,Hangup


what im trying to point is our two different number for inbound DID must be enable in each campaign to route into trunkinbound
Is is ok if im going to set those 2 did numbers under trunkinbound dial plan context?

also my current 2 DID numbers was set to "default" in the extension context..What do I need to change in the settings/dial plan context?
GOautodial CE 3.0 from 2.1 | Asterisk 1.8.26.1-vici | Single-Server | No Digium/Sangoma Hardware | No Extra Software After Installation |
spectabil
 
Posts: 11
Joined: Sat May 17, 2014 7:40 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 43 guests