QueueMetrics forum
QueueMetrics => General Asterisk configuration => Topic started by: jeandn23 on February 29, 2008, 09:07:24
-
I have followed the lasted queue metrics trixbox guide.
When i try to call 298 to log in, it asks for agent then extension.
I enter 444101# then 444101# , then it says agent logged in.
And then it will that your extension can not be dialed.
I was watching the Asterisk CLI and it looks like it is trying to play "silence"
Here is the CLI messages:
Feb 29 01:54:51 VERBOSE[15048] logger.c: -- Executing NoCDR("SIP/444101-0874f2f0", "") in new stack
Feb 29 01:54:51 NOTICE[15048] cdr.c: CDR on channel 'SIP/444101-0874f2f0' not posted
Feb 29 01:54:51 NOTICE[15048] cdr.c: CDR on channel 'SIP/444101-0874f2f0' lacks end
Feb 29 01:54:51 VERBOSE[15048] logger.c: -- Executing Wait("SIP/444101-0874f2f0", "1") in new stack
Feb 29 01:54:52 VERBOSE[15048] logger.c: -- Executing Playback("SIP/444101-0874f2f0", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
Feb 29 01:54:52 VERBOSE[15048] logger.c: -- Playing 'silence/1' (language 'en')
Feb 29 01:54:53 VERBOSE[15048] logger.c: -- Playing 'cannot-complete-as-dialed' (language 'en')
Feb 29 01:54:56 VERBOSE[15048] logger.c: -- Playing 'check-number-dial-again' (language 'en')
Feb 29 01:54:58 VERBOSE[15048] logger.c: -- Executing Wait("SIP/444101-0874f2f0", "1") in new stack
Feb 29 01:54:59 VERBOSE[15048] logger.c: == Spawn extension (from-internal, 298, 5) exited non-zero on
Any ideas how to resolve this?
Thanks
-
try enteruing 444 then 101 listeing to the voice prompts.... I am not sure what it means by cannot-complete-as-dialed
-
agents.conf:
; This section contains the agent definitions, in the form:
;
; agent => agentid,agentpassword,name
;
autologoff=15
wrapuptime=5000
ackcall=no
group=1
agent => 444101,,Ben
I have create extension 444101 from the freepbx.
So when i dial 298, it asks for " please enter your agent number followed by #" i have entered 444101#, then it will ask for the extension, i have entered 444101#
I am using trixbox 2.2.8
Then it will agent logged in , then say " your call can not be completed as dialed, then hang up"
Any idea?
-
Does extrension 444101 exist?
did you reload Asterisk after each change?
-
Hi
Yes, It does exist.
Created from freepbx, of course Asterisk was restated, when applying changes from freepbx.
Thanks
-
This is strange because the number appears to be called. Which default context did you use for agents?
-
Hello,
You need comment on extensions.conf the next line:
[from-internal]
include => from-internal-xfer
;include => bad-number <--- comment
Regards.
Vlad
-
Thanks for the solution, Vlad! +1.