Author Topic: Queue login error  (Read 4982 times)

jeandn23

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
    • Email
Queue login error
« 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

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue login error
« Reply #1 on: February 29, 2008, 19:07:41 »
try enteruing 444 then 101 listeing to the voice prompts.... I am not sure what it means by cannot-complete-as-dialed

jeandn23

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
    • Email
Re: Queue login error
« Reply #2 on: February 29, 2008, 20:37:08 »
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?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue login error
« Reply #3 on: March 01, 2008, 18:10:15 »
Does extrension 444101 exist?
did you reload Asterisk after each change?

jeandn23

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
    • Email
Re: Queue login error
« Reply #4 on: March 03, 2008, 07:14:27 »
Hi

Yes, It does exist.

Created from freepbx, of course Asterisk was restated, when applying changes from freepbx.

Thanks

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue login error
« Reply #5 on: March 03, 2008, 11:49:00 »
This is strange because the number appears to be called. Which default context did you use for agents?

vlad.dc

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Queue login error
« Reply #6 on: April 21, 2008, 20:39:56 »
Hello,

You need comment on extensions.conf the next line:

[from-internal]
include => from-internal-xfer
;include => bad-number                   <--- comment


Regards.

Vlad

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue login error
« Reply #7 on: April 22, 2008, 10:16:33 »
Thanks for the solution, Vlad! +1.