Inbound Calls not working/3 bad destinations

Hello All,

I have been facing this issue for over two weaks now. I updated my freepbx and aint receiving inbound calls since then. When i dial it says something ‘you are first caller in the queue…’ but agents dont receive calls.
I checked freepbx admin page and it shows 3 bad destinations listing all three queues i have created on freepbx.

I tried adding a new one but same issue on there as well.

Kindly help me here!

regards/

so no help here?

You didn’t provide any useful information. Someone didn’t have the opportunity to point that out.

With the details you have provided the best we can tell you is something is broken… Provide some call logs and it will be easier for the experts on the forum to help you diagnose the problem. If it’s been down for two weeks and it’s critical to your business you could consider purchasing support as well http://www.freepbx.org/support-and-professional-services

Hi,
thanks for your reply, i set sip debug on and here is what i get when i call inbound:

<— SIP read from UDP:216.52.221.181:5060 —>
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 216.52.221.181:5060;branch=z9hG4bK99fcbe17aab8862-30-7a278e8
From: “TollFreeForwarding” sip:216.52.221.149;tag=182AEB04-820
To: sip:[email protected];tag=as69f38a62
Max-Forwards: 70
Call-ID: [email protected]
User-Agent: TollFreeForwarding.com rev.348.2
CSeq: 101 ACK
Content-Length: 0

<------------->
— (9 headers 0 lines) —
Really destroying SIP dialog ‘[email protected]’ Method: ACK

<— SIP read from UDP:216.52.221.182:5060 —>
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 216.52.221.182:5060;branch=z9hG4bK9713bc0b71f6f2d9-30-22a865cc
From: “TollFreeForwarding” sip:216.52.221.149;tag=182AEEF4-66D
To: sip:[email protected];tag=as6ee4937c
Max-Forwards: 70
Call-ID: [email protected]
User-Agent: TollFreeForwarding.com rev.348.2
CSeq: 101 ACK
Content-Length: 0

and this is tail -f /var/log/asterisk/full logs:

<------------->
[Aug 7 14:21:34] VERBOSE[3522] chan_sip.c: — (9 headers 0 lines) —
[Aug 7 14:21:34] VERBOSE[3522] chan_sip.c:
<— SIP read from UDP:216.52.221.149:61319 —>
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 216.52.221.149:61319;branch=z9hG4bK4102025D5
From: “TollFreeForwarding” sip:216.52.221.149;tag=1830AE4C-1A70
To: sip:[email protected];tag=as05440e4e
Date: Wed, 07 Aug 2013 08:51:31 GMT
Call-ID: [email protected]
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: kpml, telephone-event
Reason: Q.850;cause=47
Content-Length: 0

<------------->
[Aug 7 14:21:34] VERBOSE[3522] chan_sip.c: — (11 headers 0 lines) —
[Aug 7 14:21:34] VERBOSE[3522] chan_sip.c:
<— SIP read from UDP:216.52.221.149:61319 —>
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 216.52.221.149:61319;branch=z9hG4bK4102025D5
From: “TollFreeForwarding” sip:216.52.221.149;tag=1830AE4C-1A70
To: sip:[email protected];tag=as05440e4e
Date: Wed, 07 Aug 2013 08:51:31 GMT
Call-ID: [email protected]
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: kpml, telephone-event
Content-Length: 0

Kindly help! :confused:

Here are few more logs:

tail -f /var/log/asterisk/full

[Aug 14 14:30:53] VERBOSE[3265] pbx.c: == Registered custom function ‘QUEUE_MEMBER_COUNT’
[Aug 14 14:30:53] VERBOSE[3265] pbx.c: == Registered custom function ‘QUEUE_MEMBER_LIST’
[Aug 14 14:30:53] VERBOSE[3265] pbx.c: == Registered custom function ‘QUEUE_WAITING_COUNT’
[Aug 14 14:30:53] VERBOSE[3265] pbx.c: == Registered custom function ‘QUEUE_MEMBER_PENALTY’
[Aug 14 14:30:53] VERBOSE[3265] loader.c: app_queue.so => (True Call Queueing)
[Aug 14 14:30:53] VERBOSE[3265] config.c: == Parsing ‘/etc/asterisk/cli_permissions.conf’: Found
[Aug 14 14:30:53] VERBOSE[3265] asterisk.c: Asterisk Ready.
[Aug 14 14:30:53] VERBOSE[3265] config.c: == Parsing ‘/etc/asterisk/cli.conf’: Found
[Aug 14 14:31:08] VERBOSE[3291] asterisk.c: – Remote UNIX connection
[Aug 14 14:31:23] VERBOSE[3579] asterisk.c: – Remote UNIX connection disconnected
[Aug 14 14:31:36] VERBOSE[3522][C-00000000] netsock2.c: == Using SIP RTP TOS bits 184
[Aug 14 14:31:36] VERBOSE[3522][C-00000000] netsock2.c: == Using SIP RTP CoS mark 5
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:1] Set(“SIP/inbound-00000000”, “__FROM_DID=8081891182”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:2] Gosub(“SIP/inbound-00000000”, “app-blacklist-check,s,1”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/inbound-00000000”, “0?blacklisted”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:2] Set(“SIP/inbound-00000000”, “CALLED_BLACKLIST=1”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:3] Return(“SIP/inbound-00000000”, “”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/inbound-00000000”, “0 ?Set(CALLERID(name)=)”) in new stack
[Aug 14 14:31:36] WARNING[3581][C-00000000] func_callerid.c: CALLERPRES is deprecated. Use CALLERID(name-pres) or CALLERID(num-pres) instead.
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:4] Set(“SIP/inbound-00000000”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:5] Set(“SIP/inbound-00000000”, “CALLERPRES()=allowed_not_screened”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:6] Goto(“SIP/inbound-00000000”, “ext-queues,3003,1”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Goto (ext-queues,3003,1)
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:1] Macro(“SIP/inbound-00000000”, “user-callerid,”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:1] Set(“SIP/inbound-00000000”, “AMPUSER=”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/inbound-00000000”, “0?report”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/inbound-00000000”, “1?Set(REALCALLERIDNUM=)”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:4] Set(“SIP/inbound-00000000”, “AMPUSER=”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:5] Set(“SIP/inbound-00000000”, “AMPUSERCIDNAME=”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:6] GotoIf(“SIP/inbound-00000000”, “1?report”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-user-callerid,s,10)
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:10] GotoIf(“SIP/inbound-00000000”, “0?continue”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:11] Set(“SIP/inbound-00000000”, “__TTL=64”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:12] GotoIf(“SIP/inbound-00000000”, “1?continue”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-user-callerid,s,19)
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:19] Set(“SIP/inbound-00000000”, “CALLERID(number)=”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:20] Set(“SIP/inbound-00000000”, “CALLERID(name)=TollFreeForwarding”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:21] NoOp(“SIP/inbound-00000000”, “Using CallerID “TollFreeForwarding” <>”) in new stack
[Aug 14 14:31:36] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:2] Answer(“SIP/inbound-00000000”, “”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:3] Set(“SIP/inbound-00000000”, “__BLKVM_OVERRIDE=BLKVM/3003/SIP/inbound-00000000”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:4] Set(“SIP/inbound-00000000”, “__BLKVM_BASE=3003”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:5] Set(“SIP/inbound-00000000”, “DB(BLKVM/3003/SIP/inbound-00000000)=TRUE”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:6] ExecIf(“SIP/inbound-00000000”, “1?Set(_DIAL_OPTIONS=trM(auto-blkvm))”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:7] Set(“SIP/inbound-00000000”, “__NODEST=3003”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:8] Set(“SIP/inbound-00000000”, “MONITOR_FILENAME=/var/spool/asterisk/monitor/q3003-20130814-143137-1376470896.0”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:9] Set(“SIP/inbound-00000000”, “__MOHCLASS=none”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:10] Set(“SIP/inbound-00000000”, “__CWIGNORE=TRUE”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:11] Set(“SIP/inbound-00000000”, “__CFIGNORE=TRUE”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:12] Set(“SIP/inbound-00000000”, “__FORWARD_CONTEXT=block-cf”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:13] Queue(“SIP/inbound-00000000”, “3003,t,”) in new stack
[Aug 14 14:31:37] WARNING[3581][C-00000000] app_queue.c: Unable to join queue ‘3003’
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:14] NoOp(“SIP/inbound-00000000”, “Deleting: BLKVM/3003/SIP/inbound-00000000 TRUE”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:15] Set(“SIP/inbound-00000000”, “__NODEST=”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:16] Set(“SIP/inbound-00000000”, “__CWIGNORE=”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:17] Set(“SIP/inbound-00000000”, “__CFIGNORE=”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:18] Set(“SIP/inbound-00000000”, “__FORWARD_CONTEXT=from-internal”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:19] Goto(“SIP/inbound-00000000”, “”) in new stack
[Aug 14 14:31:37] WARNING[3581][C-00000000] pbx.c: Goto requires an argument ([[context,]extension,]priority)
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: == Spawn extension (ext-queues, 3003, 19) exited non-zero on ‘SIP/inbound-00000000’
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:1] Macro(“SIP/inbound-00000000”, “hangupcall,”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/inbound-00000000”, “1?endmixmoncheck”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-hangupcall,s,9)
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:9] NoOp(“SIP/inbound-00000000”, “End of MIXMON check”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:10] GotoIf(“SIP/inbound-00000000”, “1?nomeetmemon”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-hangupcall,s,28)
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:28] NoOp(“SIP/inbound-00000000”, “End of MEETME check”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:29] GotoIf(“SIP/inbound-00000000”, “1?noautomon”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-hangupcall,s,34)
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:34] NoOp(“SIP/inbound-00000000”, “TOUCH_MONITOR_OUTPUT=”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:35] GotoIf(“SIP/inbound-00000000”, “0?noautomon2”) in new stack
[Aug 14 14:31:37] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:36] System(“SIP/inbound-00000000”, “test -e /var/spool/asterisk/monitor/q3003-20130814-143137-1376470896.0*”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:37] NoOp(“SIP/inbound-00000000”, “SYSTEMSTATUS = APPERROR”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:38] GotoIf(“SIP/inbound-00000000”, “1?errornoautomon”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-hangupcall,s,40)
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:40] NoOp(“SIP/inbound-00000000”, “End of MONITOR QUEUE check”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:41] NoOp(“SIP/inbound-00000000”, “MONITOR_FILENAME=/var/spool/asterisk/monitor/q3003-20130814-143137-1376470896.0”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:42] GotoIf(“SIP/inbound-00000000”, “1?skiprg”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-hangupcall,s,45)
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:45] GotoIf(“SIP/inbound-00000000”, “0?skipblkvm”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:46] NoOp(“SIP/inbound-00000000”, “Cleaning Up Block VM Flag: BLKVM/3003/SIP/inbound-00000000”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:47] NoOp(“SIP/inbound-00000000”, "Deleting: BLKVM/3003/SIP/inbound-00000000 ") in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:48] GotoIf(“SIP/inbound-00000000”, “1?theend”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Goto (macro-hangupcall,s,50)
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:50] AGI(“SIP/inbound-00000000”, “hangup.agi”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] res_agi.c: – Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] res_agi.c: – <SIP/inbound-00000000>AGI Script hangup.agi completed, returning 0
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: – Executing [[email protected]:51] Hangup(“SIP/inbound-00000000”, “”) in new stack
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] app_macro.c: == Spawn extension (macro-hangupcall, s, 51) exited non-zero on ‘SIP/inbound-00000000’ in macro ‘hangupcall’
[Aug 14 14:31:59] VERBOSE[3581][C-00000000] pbx.c: == Spawn extension (ext-queues, h, 1) exited non-zero on ‘SIP/inbound-00000000’

[1]+ Stopped tail -f /var/log/asterisk/full

so no response here?

this really can’t be that hard. you can’t join the queue - is there no one logged into the queue?

You also have 3 broken destinations. You should hover over them in the dashboard and figure out what the error is. We don’t need to see sip debug or asterisk log messages until you fix your broken destinations