okli wrote:Leads in hopper would be passed to agent screen after that lead was dialled and call was passed to the agent. You need to figure out whether it was dialled, and if it was, why wasn't it passed to agent.
I left the guide at home, but so far, in the log, see:
- Code: Select all
SIP/202-00000003 answered SIP/201-00000002
full log:
- Code: Select all
linux-k7qk:~ #
linux-k7qk:~ # tail -n 99 /var/log/asterisk/messages
[Apr 1 15:36:06] VERBOSE[8104] manager.c: [Apr 1 15:36:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:37:01] VERBOSE[8205] manager.c: [Apr 1 15:37:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:37:01] VERBOSE[8205] manager.c: [Apr 1 15:37:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:37:06] VERBOSE[8217] manager.c: [Apr 1 15:37:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:37:06] VERBOSE[8217] manager.c: [Apr 1 15:37:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:38:01] VERBOSE[8307] manager.c: [Apr 1 15:38:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:38:01] VERBOSE[8307] manager.c: [Apr 1 15:38:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:38:06] VERBOSE[8321] manager.c: [Apr 1 15:38:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:38:06] VERBOSE[8321] manager.c: [Apr 1 15:38:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:38:58] VERBOSE[3886] dnsmgr.c: [Apr 1 15:38:58] > Refreshing DNS lookups.
[Apr 1 15:38:58] VERBOSE[3886] srv.c: [Apr 1 15:38:58] > ast_get_srv: SRV lookup for '_sip._udp.nat5.babytel.ca' mapped to host nat5.babytel.ca, port 5065
[Apr 1 15:39:01] VERBOSE[8417] manager.c: [Apr 1 15:39:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:39:01] VERBOSE[8417] manager.c: [Apr 1 15:39:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:39:06] VERBOSE[8437] manager.c: [Apr 1 15:39:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:39:06] VERBOSE[8437] manager.c: [Apr 1 15:39:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:40:01] VERBOSE[8525] manager.c: [Apr 1 15:40:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:40:01] VERBOSE[8525] manager.c: [Apr 1 15:40:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:40:06] VERBOSE[8545] manager.c: [Apr 1 15:40:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:40:06] VERBOSE[8545] manager.c: [Apr 1 15:40:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:41:01] VERBOSE[8640] manager.c: [Apr 1 15:41:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:41:01] VERBOSE[8640] manager.c: [Apr 1 15:41:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:41:06] VERBOSE[8653] manager.c: [Apr 1 15:41:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:41:06] VERBOSE[8653] manager.c: [Apr 1 15:41:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:42:01] VERBOSE[8742] manager.c: [Apr 1 15:42:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:42:01] VERBOSE[8742] manager.c: [Apr 1 15:42:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:42:06] VERBOSE[8763] manager.c: [Apr 1 15:42:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:42:06] VERBOSE[8763] manager.c: [Apr 1 15:42:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:43:01] VERBOSE[8866] manager.c: [Apr 1 15:43:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:43:01] VERBOSE[8866] manager.c: [Apr 1 15:43:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:43:06] VERBOSE[8878] manager.c: [Apr 1 15:43:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:43:06] VERBOSE[8878] manager.c: [Apr 1 15:43:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:43:58] VERBOSE[3886] dnsmgr.c: [Apr 1 15:43:58] > Refreshing DNS lookups.
[Apr 1 15:43:58] VERBOSE[3886] srv.c: [Apr 1 15:43:58] > ast_get_srv: SRV lookup for '_sip._udp.nat5.babytel.ca' mapped to host nat5.babytel.ca, port 5065
[Apr 1 15:44:01] VERBOSE[9205] manager.c: [Apr 1 15:44:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:44:01] VERBOSE[9205] manager.c: [Apr 1 15:44:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:44:06] VERBOSE[9219] manager.c: [Apr 1 15:44:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:44:06] VERBOSE[9219] manager.c: [Apr 1 15:44:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:45:01] VERBOSE[9332] manager.c: [Apr 1 15:45:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:45:01] VERBOSE[9332] manager.c: [Apr 1 15:45:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:45:06] VERBOSE[9355] manager.c: [Apr 1 15:45:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:45:06] VERBOSE[9355] manager.c: [Apr 1 15:45:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:46:01] VERBOSE[9451] manager.c: [Apr 1 15:46:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:46:01] VERBOSE[9451] manager.c: [Apr 1 15:46:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:46:06] VERBOSE[9462] manager.c: [Apr 1 15:46:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:46:06] VERBOSE[9462] manager.c: [Apr 1 15:46:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:47:01] VERBOSE[9558] manager.c: [Apr 1 15:47:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:47:01] VERBOSE[9558] manager.c: [Apr 1 15:47:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:47:03] VERBOSE[3948] chan_sip.c: [Apr 1 15:47:03] -- Registered SIP '201' at 192.168.0.16:5060
[Apr 1 15:47:03] VERBOSE[3948] chan_sip.c: [Apr 1 15:47:03] > Saved useragent "YATE/4.0.1" for peer 201
[Apr 1 15:47:06] VERBOSE[9572] manager.c: [Apr 1 15:47:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:47:06] VERBOSE[9572] manager.c: [Apr 1 15:47:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:47:25] VERBOSE[3948] netsock2.c: [Apr 1 15:47:25] == Using SIP RTP CoS mark 5
[Apr 1 15:47:25] VERBOSE[9595] pbx.c: [Apr 1 15:47:25] -- Executing [202@default:1] Dial("SIP/201-00000002", "SIP/202,60,") in new stack
[Apr 1 15:47:25] VERBOSE[9595] netsock2.c: [Apr 1 15:47:25] == Using SIP RTP CoS mark 5
[Apr 1 15:47:25] VERBOSE[9595] app_dial.c: [Apr 1 15:47:25] -- Called SIP/202
[Apr 1 15:47:31] VERBOSE[9595] app_dial.c: [Apr 1 15:47:31] -- SIP/202-00000003 answered SIP/201-00000002
[Apr 1 15:47:31] DEBUG[9595] channel.c: setting peeraccount to 201 for SIP/202-00000003 from data on channel SIP/201-00000002
[Apr 1 15:47:31] DEBUG[9595] channel.c: setting peeraccount to 201 for SIP/201-00000002 from data on channel SIP/202-00000003
[Apr 1 15:47:31] VERBOSE[9595] rtp_engine.c: [Apr 1 15:47:31] -- Locally bridging SIP/201-00000002 and SIP/202-00000003
[Apr 1 15:47:31] WARNING[9595] res_rtp_asterisk.c: RTP Read too short
[Apr 1 15:48:02] VERBOSE[9673] manager.c: [Apr 1 15:48:02] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:48:02] VERBOSE[9673] manager.c: [Apr 1 15:48:02] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:48:07] VERBOSE[9685] manager.c: [Apr 1 15:48:07] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:48:07] VERBOSE[9685] manager.c: [Apr 1 15:48:07] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:48:12] VERBOSE[9595] pbx.c: [Apr 1 15:48:12] -- Executing [h@default:1] AGI("SIP/201-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----47-----41") in new stack
[Apr 1 15:48:12] VERBOSE[9595] res_agi.c: [Apr 1 15:48:12] -- <SIP/201-00000002>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----47-----41 completed, returning 0
[Apr 1 15:48:12] VERBOSE[9595] pbx.c: [Apr 1 15:48:12] == Spawn extension (default, 202, 1) exited non-zero on 'SIP/201-00000002'
[Apr 1 15:48:39] VERBOSE[9730] manager.c: [Apr 1 15:48:39] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:48:39] VERBOSE[9730] netsock2.c: [Apr 1 15:48:39] == Using SIP RTP CoS mark 5
[Apr 1 15:48:47] VERBOSE[9730] pbx.c: [Apr 1 15:48:47] > Channel SIP/201-00000004 was answered.
[Apr 1 15:48:47] VERBOSE[9748] pbx.c: [Apr 1 15:48:47] -- Executing [8600051@default:1] MeetMe("SIP/201-00000004", "8600051,F") in new stack
[Apr 1 15:48:47] VERBOSE[9748] config.c: [Apr 1 15:48:47] == Parsing '/etc/asterisk/meetme.conf': [Apr 1 15:48:47] VERBOSE[9748] config.c: [Apr 1 15:48:47] == Found
[Apr 1 15:48:47] VERBOSE[9748] config.c: [Apr 1 15:48:47] == Parsing '/etc/asterisk/meetme-vicidial.conf': [Apr 1 15:48:47] VERBOSE[9748] config.c: [Apr 1 15:48:47] == Found
[Apr 1 15:48:47] VERBOSE[9748] app_meetme.c: [Apr 1 15:48:47] -- Created MeetMe conference 1023 for conference '8600051'
[Apr 1 15:48:47] VERBOSE[9748] file.c: [Apr 1 15:48:47] -- <SIP/201-00000004> Playing 'conf-onlyperson.gsm' (language 'en')
[Apr 1 15:48:47] WARNING[9748] res_rtp_asterisk.c: RTP Read too short
[Apr 1 15:48:48] VERBOSE[9730] manager.c: [Apr 1 15:48:48] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:48:58] VERBOSE[3886] dnsmgr.c: [Apr 1 15:48:58] > Refreshing DNS lookups.
[Apr 1 15:48:58] VERBOSE[3886] srv.c: [Apr 1 15:48:58] > ast_get_srv: SRV lookup for '_sip._udp.nat5.babytel.ca' mapped to host nat5.babytel.ca, port 5065
[Apr 1 15:49:01] VERBOSE[9786] manager.c: [Apr 1 15:49:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:49:01] VERBOSE[9786] manager.c: [Apr 1 15:49:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:49:06] VERBOSE[9802] manager.c: [Apr 1 15:49:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:49:06] VERBOSE[9802] manager.c: [Apr 1 15:49:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:50:01] VERBOSE[9897] manager.c: [Apr 1 15:50:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:50:01] VERBOSE[9897] manager.c: [Apr 1 15:50:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:50:06] VERBOSE[9916] manager.c: [Apr 1 15:50:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:50:06] VERBOSE[9916] manager.c: [Apr 1 15:50:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:50:09] VERBOSE[3884] asterisk.c: [Apr 1 15:50:09] -- Remote UNIX connection
[Apr 1 15:50:12] VERBOSE[10403] asterisk.c: [Apr 1 15:50:12] -- Remote UNIX connection disconnected
[Apr 1 15:50:51] VERBOSE[3948] chan_sip.c: [Apr 1 15:50:51] -- Registered SIP '201' at 192.168.0.15:45489
[Apr 1 15:50:51] VERBOSE[3948] chan_sip.c: [Apr 1 15:50:51] > Saved useragent "CSipSimple_v1-16/r2457" for peer 201
[Apr 1 15:51:01] VERBOSE[10495] manager.c: [Apr 1 15:51:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:51:01] VERBOSE[10495] manager.c: [Apr 1 15:51:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:51:06] VERBOSE[10511] manager.c: [Apr 1 15:51:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:51:06] VERBOSE[10511] manager.c: [Apr 1 15:51:06] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:52:01] VERBOSE[10637] manager.c: [Apr 1 15:52:01] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:52:01] VERBOSE[10637] manager.c: [Apr 1 15:52:01] == Manager 'sendcron' logged off from 127.0.0.1
[Apr 1 15:52:06] VERBOSE[10658] manager.c: [Apr 1 15:52:06] == Manager 'sendcron' logged on from 127.0.0.1
[Apr 1 15:52:06] VERBOSE[10658] manager.c: [Apr 1 15:52:06] == Manager 'sendcron' logged off from 127.0.0.1
linux-k7qk:~ #
the lead, as before, shows in the hopper, but the agent doesn't see it.
Ok, if the lead was
never dialed, then it won't get passed to the agent? And, if the connection to the peer, Babytel, isn't happening, then the lead will never get dialed?
Vicidial will never
attempt to dial until the connection to the SIP provider is working?