[Asterisk-Users] Can we dial agents from extensions.conf

vivek at staff.ownmail.com vivek at staff.ownmail.com
Fri Dec 30 07:34:38 MST 2005


Thanks a lot Mr. Alexander Lopez for your prompt attension.
I tried the same thing but it wouldnot happen. I use it as:-

exten => 12,1,Dial(Agent/12)
exten => 12,2,Hangup

where agent 12 is configured as :-

agent => 12,12, vivek

After the agent is logged in on extension no>12 as follows
Callback Agent '12' logged in on 12

I try to dial 12 from another sip phone and get this:-
-- Executing Dial("SIP/62-c24e", "Agent/12") in new stack
    -- outgoing agentcall, to agent '12', on 'Local/12 at default-ef51,1'
    -- Called 12
    -- Executing Dial("Local/12 at default-ef51,2", "Agent/12") in new stack
Dec 30 14:26:54 NOTICE[13289]: app_dial.c:1011 dial_exec_full: Unable to create channel of type 'Agent' (cause 17 - User busy)
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing Hangup("Local/12 at default-ef51,2", "") in new stack
  == Spawn extension (default, 12, 2) exited non-zero on 'Local/12 at default-ef51,2'
    -- Executing Hangup("Local/12 at default-ef51,2", "") in new stack
  == Spawn extension (default, h, 1) exited non-zero on 'Local/12 at default-ef51,2'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("SIP/62-c24e", "") in new stack
  == Spawn extension (inoffice, 12, 2) exited non-zero on 'SIP/62-c24e'
    -- Executing Hangup("SIP/62-c24e", "") in new stack
  == Spawn extension (inoffice, h, 1) exited non-zero on 'SIP/62-c24e'


I am unable to figure out why it is happening like this. They are all in the same context. Also, the agent is not busy. Also, I wonder why it says "Unable to creat0e chanel of type 'Agent' cause user busy".
Do you have any idea why is it happening so?
I tried to tweak in but was not successful. 


With warm regards.

Vivek J. Joshi.

vivek at staff.ownmail.com
Trikon electronics Pvt. Ltd.

--Optimism is a mania for saying things are well when one is in hell.



Alexander Lopez wrote:
> There are options for queues.conf to not allow callers to join a queue
> if no members are logged in, also you can 'call an agent' with the agent
> channel, (IE agent/100)
> 
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com 
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> > vivek at staff.ownmail.com
> > Sent: Friday, December 30, 2005 7:17 AM
> > To: asterisk-users at lists.digium.com
> > Subject: [Asterisk-Users] Can we dial agents from extensions.conf 
> > 
> > Hello friends,
> >    I wanted to ask if we can dial agents like the way we dial 
> > extensions. I wanted to try this because the  users can login 
> > and others can dial them. If a person has not logged in, he 
> > isnt avalaible. I dont want to put people in a queue. Has 
> > anyone tried this before? I was trying to do it but was unsuccessful. 
> > 
> > Please tell me if there is a tweak or a workaround for this. 
> > 
> > 
> > With warm regards.
> > 
> > Vivek J. Joshi.
> > 
> > vivek at staff.ownmail.com
> > Trikon electronics Pvt. Ltd.
> > 
> > --Optimism is a mania for saying things are well when one is in hell.
> > 
> > `
> > 



More information about the asterisk-users mailing list