Page 1 of 1

Calls from outbound campaign rejected

PostPosted: Tue Nov 23, 2021 2:17 pm
by worseo
Hello team,
I am still struggling to get my outbound campaign to call out.I was about to get inbound blended to work but outbound is not working. Please see my dial plan in /etc/asterisk/extension.conf below. So I need to add any line for the outbound campaign?

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,n,Dial(DAHDI/g0/${EXTEN:1},,tTo)
exten => _9X.,n,Hangup()

Re: Calls from outbound campaign rejected

PostPosted: Fri Nov 26, 2021 8:03 pm
by carpenox
are you using PRI?

Re: Calls from outbound campaign rejected

PostPosted: Mon Nov 29, 2021 6:46 am
by worseo
carpenox wrote:are you using PRI?


Yes, I am using pri, digium TE235 card two E1 lines from Telco all on a single DID number.

Re: Calls from outbound campaign rejected

PostPosted: Tue Nov 30, 2021 9:37 pm
by ambiorixg12
With no Asterisk console logs, impossible to help you

Re: Calls from outbound campaign rejected

PostPosted: Wed Dec 01, 2021 5:15 am
by worseo
Below is the log while calling 0886004178

Re: Calls from outbound campaign rejected

PostPosted: Wed Dec 01, 2021 5:15 am
by worseo
Below is the log while calling 0886004178

Started music on hold, class 'default', on channel 'DAHDI/i2/888686786-19d'
[Dec 1 10:17:48] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 1 10:17:48] -- Called 8600053@default
[Dec 1 10:17:48] -- Executing [8600053@default:1] MeetMe("Local/8600053@default-00000123;2", "8600053,F") in new stack
[Dec 1 10:17:48] -- Local/8600053@default-00000123;1 answered
[Dec 1 10:17:48] -- Executing [910886004178@default:1] AGI("Local/8600053@default-00000123;1", "agi://127.0.0.1:4577/call_log") in new stack
[Dec 1 10:17:48] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=4002))
[Dec 1 10:17:48] -- <Local/8600053@default-00000123;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Dec 1 10:17:48] -- Executing [910886004178@default:2] Dial("Local/8600053@default-00000123;1", "DAHDI/g0/10886004178,,tTo") in new stack
[Dec 1 10:17:48] -- Requested transfer capability: 0x00 - SPEECH
[Dec 1 10:17:48] -- Called DAHDI/g0/10886004178
[Dec 1 10:17:48] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 1 10:17:48] -- Called 58600053@default
[Dec 1 10:17:48] -- Executing [58600053@default:1] MeetMe("Local/58600053@default-00000124;2", "8600053,Fmq") in new stack
[Dec 1 10:17:48] -- Local/58600053@default-00000124;1 answered
[Dec 1 10:17:48] -- Executing [8309@default:1] Answer("Local/58600053@default-00000124;1", "") in new stack
[Dec 1 10:17:48] -- Executing [8309@default:2] Monitor("Local/58600053@default-00000124;1", "wav,20211201-101748_0886004178") in new stack
[Dec 1 10:17:48] -- Executing [8309@default:3] Wait("Local/58600053@default-00000124;1", "3600") in new stack
[Dec 1 10:17:48] -- Span 1: Channel 0/1 got hangup request, cause 31
[Dec 1 10:17:48] -- Hungup 'DAHDI/i1/10886004178-1d'
[Dec 1 10:17:48] == Everyone is busy/congested at this time (1:0/0/1)
[Dec 1 10:17:48] -- Executing [910886004178@default:3] Hangup("Local/8600053@default-00000123;1", "") in new stack
[Dec 1 10:17:48] == Spawn extension (default, 910886004178, 3) exited non-zero on 'Local/8600053@default-00000123;1'
[Dec 1 10:17:48] -- Executing [h@default:1] AGI("Local/8600053@default-00000123;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----31-----CHANUNAVAIL---------------PRI PRI_EVENT_HANGUP_REQ (31))") in new stack
[Dec 1 10:17:48] -- <Local/8600053@default-00000123;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -------PRI PRI_EVENT_HANGUP_REQ (31)) completed, returning 0
[Dec 1 10:17:48] == Spawn extension (default, 8600053, 1) exited non-zero on 'Local/8600053@default-00000123;2'
[Dec 1 10:17:48] WARNING[20919][C-000003e1]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Dec 1 10:17:48] -- Executing [h@default:1] AGI("Local/8600053@default-00000123;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----31--------------------)") in new stack
[Dec 1 10:17:48] -- <Local/8600053@default-00000123;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0

Re: Calls from outbound campaign rejected

PostPosted: Wed Dec 01, 2021 7:56 am
by carpenox
Is your pri card in ready status?

Re: Calls from outbound campaign rejected

PostPosted: Wed Dec 01, 2021 10:52 pm
by ambiorixg12
Have you verified with your carrier, the hangup cause doesn't show any error

Cause No. 31 - normal. unspecified.
This cause is used to report a normal event only when no other cause in the normal class applies.

Re: Calls from outbound campaign rejected

PostPosted: Thu Dec 02, 2021 12:32 am
by striker
Called DAHDI/g0/10886004178

are you dialing right no?

is that your local numbers start with " 1 "
or you want to dial 0886004178?

if Prefix/phone code 1 is not required , then in campaign set OMIT Phone Code to Y and dial
post back the output here.

Re: Calls from outbound campaign rejected

PostPosted: Mon Dec 06, 2021 7:04 am
by worseo
Thanks to you all for the support.

I change the dial method from manual to inbound_man and I am able to dial out manually but not with dial next number for which I will look at the lead list. However, other agents are not able to make calls at all even though they can call from the inbound campaign. Below is the log.

[Dec 6 11:39:35] Connected to Asterisk 13.38.2-vici currently running on dialer01 (pid = 14819)
[Dec 6 11:39:40] > 0x7f9614017a80 -- Strict RTP learning after remote address set to: 10.10.191.30:4020
[Dec 6 11:39:40] -- SIP/120-0000000e answered
[Dec 6 11:39:40] -- Executing [8600054@default:1] MeetMe("SIP/120-0000000e", "8600054,F") in new stack
[Dec 6 11:39:40] -- Created MeetMe conference 1020 for conference '8600054'
[Dec 6 11:39:40] -- <SIP/120-0000000e> Playing 'conf-onlyperson.gsm' (language 'en')
[Dec 6 11:39:40] > 0x7f9614017a80 -- Strict RTP switching to RTP target address 10.10.191.30:4020 as source
[Dec 6 11:39:41] == Manager 'sendcron' logged off from 127.0.0.1
[Dec 6 11:39:45] > 0x7f9614017a80 -- Strict RTP learning complete - Locking on source address 10.10.191.30:4020
[Dec 6 11:40:01] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 6 11:40:01] == Manager 'sendcron' logged off from 127.0.0.1
[Dec 6 11:40:02] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 6 11:40:02] -- Called 8600054@default
[Dec 6 11:40:02] -- Executing [8600054@default:1] MeetMe("Local/8600054@default-000000ef;2", "8600054,F") in new stack
[Dec 6 11:40:02] -- Local/8600054@default-000000ef;1 answered
[Dec 6 11:40:02] -- Executing [90886004178@default:1] AGI("Local/8600054@default-000000ef;1", "agi://127.0.0.1:4577/call_log") in new stack
[Dec 6 11:40:02] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=4002))
[Dec 6 11:40:02] -- <Local/8600054@default-000000ef;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Dec 6 11:40:02] -- Executing [90886004178@default:2] Dial("Local/8600054@default-000000ef;1", "DAHDI/g0/0886004178,,Tto") in new stack
[Dec 6 11:40:02] WARNING[36179][C-0000024b]: app_dial.c:2589 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
[Dec 6 11:40:02] -- No devices or endpoints to dial (technology/resource)
[Dec 6 11:40:02] -- Executing [90886004178@default:3] Hangup("Local/8600054@default-000000ef;1", "") in new stack
[Dec 6 11:40:02] == Spawn extension (default, 90886004178, 3) exited non-zero on 'Local/8600054@default-000000ef;1'
[Dec 6 11:40:02] WARNING[36179][C-0000024b]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Dec 6 11:40:02] -- Executing [h@default:1] AGI("Local/8600054@default-000000ef;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CHANUNAVAIL---------------)") in new stack
[Dec 6 11:40:02] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 6 11:40:02] -- Called 58600054@default
[Dec 6 11:40:02] -- Executing [58600054@default:1] MeetMe("Local/58600054@default-000000f0;2", "8600054,Fmq") in new stack
[Dec 6 11:40:02] -- Local/58600054@default-000000f0;1 answered
[Dec 6 11:40:02] -- Executing [8309@default:1] Answer("Local/58600054@default-000000f0;1", "") in new stack
[Dec 6 11:40:02] -- Executing [8309@default:2] Monitor("Local/58600054@default-000000f0;1", "wav,20211206-114002_0886004178") in new stack
[Dec 6 11:40:02] -- Executing [8309@default:3] Wait("Local/58600054@default-000000f0;1", "3600") in new stack
[Dec 6 11:40:02] -- <Local/8600054@default-000000ef;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Dec 6 11:40:02] == Spawn extension (default, 8600054, 1) exited non-zero on 'Local/8600054@default-000000ef;2'
[Dec 6 11:40:02] WARNING[36180][C-0000024a]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Dec 6 11:40:02] -- Executing [h@default:1] AGI("Local/8600054@default-000000ef;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Dec 6 11:40:02] -- <Local/8600054@default-000000ef;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[Dec 6 11:40:03] == Manager 'sendcron' logged off from 127.0.0.1

Re: Calls from outbound campaign rejected

PostPosted: Mon Dec 06, 2021 11:12 pm
by carpenox
type dahdi_cfg -v

Re: Calls from outbound campaign rejected

PostPosted: Wed Dec 08, 2021 8:23 pm
by ambiorixg12
Unable to create channel of type 'DAHDI' (Cause 0 - Unknown)
This is most commonly caused by the absence of chan_dahdi module Run the command module load chan_dahdi.so within the Asterisk CLI to correct the problem. In the event that the module cannot be loaded, you will need to confirm if the module exist or check the module configuration for any issues.


https://support.digium.com/s/article/Un ... %20problem.