vivek@staff.ownmail.com
2005-Dec-30 05:16 UTC
[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@staff.ownmail.com Trikon electronics Pvt. Ltd. --Optimism is a mania for saying things are well when one is in hell. `
Alexander Lopez
2005-Dec-30 05:40 UTC
[Asterisk-Users] Can we dial agents from extensions.conf
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@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > vivek@staff.ownmail.com > Sent: Friday, December 30, 2005 7:17 AM > To: asterisk-users@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@staff.ownmail.com > Trikon electronics Pvt. Ltd. > > --Optimism is a mania for saying things are well when one is in hell. > > ` >
vivek@staff.ownmail.com
2005-Dec-30 07:34 UTC
[Asterisk-Users] Can we dial agents from extensions.conf
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@default-ef51,1' -- Called 12 -- Executing Dial("Local/12@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@default-ef51,2", "") in new stack == Spawn extension (default, 12, 2) exited non-zero on 'Local/12@default-ef51,2' -- Executing Hangup("Local/12@default-ef51,2", "") in new stack == Spawn extension (default, h, 1) exited non-zero on 'Local/12@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@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@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > > vivek@staff.ownmail.com > > Sent: Friday, December 30, 2005 7:17 AM > > To: asterisk-users@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@staff.ownmail.com > > Trikon electronics Pvt. Ltd. > > > > --Optimism is a mania for saying things are well when one is in hell. > > > > ` > >
Alexander Lopez
2005-Dec-30 14:31 UTC
[Asterisk-Users] Can we dial agents from extensions.conf
Can you tell me how agent 12 is logging in, Zap, Iax, SIP???> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > vivek@staff.ownmail.com > Sent: Friday, December 30, 2005 9:35 AM > To: asterisk-users@lists.digium.com > Subject: RE: [Asterisk-Users] Can we dial agents from extensions.conf > > 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@default-ef51,1' > -- Called 12 > -- Executing Dial("Local/12@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@default-ef51,2", "") in new stack > == Spawn extension (default, 12, 2) exited non-zero on > 'Local/12@default-ef51,2' > -- Executing Hangup("Local/12@default-ef51,2", "") in new stack > == Spawn extension (default, h, 1) exited non-zero on > 'Local/12@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@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@lists.digium.com > > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > > > vivek@staff.ownmail.com > > > Sent: Friday, December 30, 2005 7:17 AM > > > To: asterisk-users@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@staff.ownmail.com > > > Trikon electronics Pvt. Ltd. > > > > > > --Optimism is a mania for saying things are well when one > is in hell. > > > > > > ` > > > > >
vivek@staff.ownmail.com
2005-Dec-30 23:34 UTC
[Asterisk-Users] Can we dial agents from extensions.conf
Hello Mr. Lopez, I am using 5 Welltech fxs boxes which are configured on SIP. These are connected in lan with my asterisk server. I have configured these boxes with sip as follows: [62] type=friend username=62 secret=1234 context=inoffice host=dynamic dtmfmode=info canreinvite=no callgroup=1 pickupgroup=1 All others are configured in a similar fashion. I am able to dial to a particular SIP phone using exten => 30,1,Dial(SIP/62) ; 62 is the username above. The extensions.conf registers users as follows:- exten => 111,1,AgentCallBackLogin The person goes on any telephone instrument connected to one of these boxes and dials 111. He then enters the digits as:- User=12 Password=12 Extension=12 And the agent logs in on a SIP phone. The basic idea is that I want everyone to have an extension and to sit wherever they like. Irrespective of their location, they can be reached by their extension. Also, I want a call centre type calling system and thats why I am using agents. In extensions.conf, the extension 12 was tried as follows:- exten => 12,1,Dial(Agent/12) and then I got the error message I posted. In agents.conf, I have configured the agent 12 as follows:- agent => 12,12,vivek I am not able to figure out why would not it dial agent 12. With warm regards. Vivek J. Joshi. vivek@staff.ownmail.com Trikon electronics Pvt. Ltd. --Optimism is a mania for saying things are well when one is in hell. Alexander Lopez wrote:> Can you tell me how agent 12 is logging in, Zap, Iax, SIP??? > > > -----Original Message----- > > From: asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > > vivek@staff.ownmail.com > > Sent: Friday, December 30, 2005 9:35 AM > > To: asterisk-users@lists.digium.com > > Subject: RE: [Asterisk-Users] Can we dial agents from extensions.conf > > > > 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@default-ef51,1' > > -- Called 12 > > -- Executing Dial("Local/12@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@default-ef51,2", "") in new stack > > == Spawn extension (default, 12, 2) exited non-zero on > > 'Local/12@default-ef51,2' > > -- Executing Hangup("Local/12@default-ef51,2", "") in new stack > > == Spawn extension (default, h, 1) exited non-zero on > > 'Local/12@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@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@lists.digium.com > > > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > > > > vivek@staff.ownmail.com > > > > Sent: Friday, December 30, 2005 7:17 AM > > > > To: asterisk-users@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@staff.ownmail.com > > > > Trikon electronics Pvt. Ltd. > > > > > > > > --Optimism is a mania for saying things are well when one > > is in hell. > > > > > > > > ` > > > > > > > >