nophone login
Posted: Sun Feb 11, 2018 12:01 pm
I have looked through the manual, and didn't find any instructions on completely setting up a nophone phone for testing. Looking through the forums, I found a few posts and did configure a nophone [Phone with dialplan&voicemail of 8300 set to Protocol EXTERNAL].
It sort of works when I login to the Agent UI, as it doesn't present the error about no agent in the conference. But when I make a mock call, it still goes to WAITING FOR RING, followed by DIAL TIMED OUT (campaign setting). I have also setup an IAX carrier for nophone with the dialplan below, and using 71 as a prefix to mock dial, but I still get the "Waiting For Ring" and the Agent UI messages below. I'm not sure whether this is the expected behavior, but as we will use this for training, my preference would be for it to make it appear as though the call is connected to the Agent.
CARRIERS
exten => _71NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _71NXXNXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _71NXXNXXXXXX,n,Hangup
AGENT UI
STATUS: Calling: (407)345-8100 Name: Test Lead UID: M2111052520000000008 Lead: 8 Waiting for Ring... 59 seconds
Followed By
Agent Alert! Dial timed out, contact your system administrator
ASTERISK CLI
-- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000002;2", "8600051,Fmq") in new stack
> Channel Local/58600051@default-00000002;1 was answered
-- Executing [8309@default:1] Answer("Local/58600051@default-00000002;1", "") in new stack
-- Executing [8309@default:2] Monitor("Local/58600051@default-00000002;1", "wav,20180211-115252_M2111052520000000008_8645562569_100000_") in new stack
-- Executing [8309@default:3] Wait("Local/58600051@default-00000002;1", "3600") in new stack
No further messages after pressing OK on the Agent Alert.
When I press HANGUP CUSTOMER, I get the following in Asterisk CLI
-- Hungup 'DAHDI/pseudo-202076869'
== Spawn extension (default, 58600051, 1) exited non-zero on 'Local/58600051@default-00000002;2'
-- Executing [h@default:1] AGI("Local/58600051@default-00000002;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- <Local/58600051@default-00000002;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@default-00000002;1'
-- Executing [h@default:1] AGI("Local/58600051@default-00000002;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- <Local/58600051@default-00000002;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
It sort of works when I login to the Agent UI, as it doesn't present the error about no agent in the conference. But when I make a mock call, it still goes to WAITING FOR RING, followed by DIAL TIMED OUT (campaign setting). I have also setup an IAX carrier for nophone with the dialplan below, and using 71 as a prefix to mock dial, but I still get the "Waiting For Ring" and the Agent UI messages below. I'm not sure whether this is the expected behavior, but as we will use this for training, my preference would be for it to make it appear as though the call is connected to the Agent.
CARRIERS
exten => _71NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _71NXXNXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _71NXXNXXXXXX,n,Hangup
AGENT UI
STATUS: Calling: (407)345-8100 Name: Test Lead UID: M2111052520000000008 Lead: 8 Waiting for Ring... 59 seconds
Followed By
Agent Alert! Dial timed out, contact your system administrator
ASTERISK CLI
-- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000002;2", "8600051,Fmq") in new stack
> Channel Local/58600051@default-00000002;1 was answered
-- Executing [8309@default:1] Answer("Local/58600051@default-00000002;1", "") in new stack
-- Executing [8309@default:2] Monitor("Local/58600051@default-00000002;1", "wav,20180211-115252_M2111052520000000008_8645562569_100000_") in new stack
-- Executing [8309@default:3] Wait("Local/58600051@default-00000002;1", "3600") in new stack
No further messages after pressing OK on the Agent Alert.
When I press HANGUP CUSTOMER, I get the following in Asterisk CLI
-- Hungup 'DAHDI/pseudo-202076869'
== Spawn extension (default, 58600051, 1) exited non-zero on 'Local/58600051@default-00000002;2'
-- Executing [h@default:1] AGI("Local/58600051@default-00000002;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- <Local/58600051@default-00000002;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@default-00000002;1'
-- Executing [h@default:1] AGI("Local/58600051@default-00000002;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- <Local/58600051@default-00000002;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0