[Asterisk-Users] hunt groups

2006-03-20 Thread Jordan Novak








What I would like to do is



exten = 1000,1,Dial(sip/1000)(zap/g1,97837560)

exten= 1000,2,Voicemail(u1000)



Basically a follow me app that rings numerous interfaces and
allows me to answer or it to time out and go to vmail. I didnt include the
time out here as I am hoping someone can tell me where that needs to be. I
really dont want to make the caller ring one interface and then the
other. Ideally I would be able to press pound after answering so that it didnt
continue to ring the other interface. Most of the apps that I saw do this are
basically the same as forwarding the extension, any system can do that and I
know asterisk is better than that.



Jordan Novak

Communications Technician

Logistics Health Inc.

1319 Saint Andrews Street 

La Crosse WI 54603








___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] hunt groups

2006-03-20 Thread Adam Moffett



What I would like to do is…

exten = 1000,1,Dial(sip/1000)(zap/g1,97837560)

exten= 1000,2,Voicemail(u1000)

Basically a follow me app that rings numerous interfaces and allows me 
to answer or it to time out and go to vmail. I didn’t include the time 
out here as I am hoping someone can tell me where that needs to be. I 
really don’t want to make the caller ring one interface and then the 
other. Ideally I would be able to press pound after answering so that 
it didn’t continue to ring the other interface. Most of the apps that 
I saw do this are basically the same as forwarding the extension, any 
system can do that and I know asterisk is better than that.


Either put the Dial commands in sequence with a short timeout, or put 
multiple arguments to the dial command separated by 

Option 1)
exten = 1000,1,Dial(SIP/1000|15)
exten = 1000,2,Dial(Zap/g1,97837560|15)
rings each extension for 15 seconds

option 2)
exten = 1000,1,Dial(SIP/1000Zip/g1,97837560)
rings both extensions at oncefirst one to answer is the winner.
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Hunt Groups

2004-08-18 Thread Chris A. Icide


On 11:15 AM 8/17/2004, Chris Modesitt wrote:
I have
a question about how Asterisk Parses the Dial Plan. To create a
hunt-group which would be the appropriate dial plan:
[CompanyABC]
exten = 722,1,Dial(SIP/801722,60,r)
exten = 722,102,Dial(SIP/8014361234,60,r)
exten = 722,203,Dial(SIP/8014362345,60,r)
exten = 722,304,Dial(SIP/8014363456,60,r)
exten = 722,405,Dial(SIP/8014364567,60,r)
exten = 722,506,Dial(SIP/8014365678,60,r)
exten = 722,607,Dial(SIP/8014366789,60,r)
exten = 722,708,Dial(SIP/8014369876,60,r)
exten = 722,809,Dial(SIP/8014368765,60,r)
exten = 722,910,Congestion
exten = 722,1011,Hangup

If extensions extension is busy or fails do you always increment by +100
or just the first time?

If the line you are trying is busy (in use and has an incomming-limit of
1, or the soft/hard phone reports back busy), then you increment by 101,
however if the phone times out (60 seconds in your example) then the plan
only increments by 1.
so if you placed a call to 722 in your example which I kept
above, the first sip phone would ring if it was available (dynamic and
unregistered shows up as not available). If no one answers the
call, then the dial plan would try to move to priority 2. However
if the phone is busy (according to asterisk), then you would jump to
priority 102.
So, while it's not as technically 'clean' as using queues, the idea you
have above will work as long as you add logic to handle a phone not being
answered for 60 seconds. It will make for alot of entries under
this exten as well. Use of Goto will allow you to limit the number
of lines to about twice as many as you have above...
exten = 722,1,Dial(SIP/801722,60,r)
exten = 722,2,Goto(102)
exten = 722,102,Dial(SIP/8014361234,60,r)
exten = 722,103,Goto(203)
... etc



[Asterisk-Users] Hunt Groups

2004-08-17 Thread Chris Modesitt








I have a question about how Asterisk Parses the Dial Plan.
To create a hunt-group which would be the appropriate dial plan:



[CompanyABC]

exten = 722,1,Dial(SIP/801722,60,r)

exten = 722,102,Dial(SIP/8014361234,60,r)

exten = 722,103,Dial(SIP/8014362345,60,r)

exten = 722,104,Dial(SIP/8014363456,60,r)

exten = 722,105,Dial(SIP/8014364567,60,r)

exten = 722,106,Dial(SIP/8014365678,60,r)

exten = 722,107,Dial(SIP/8014366789,60,r)

exten = 722,108,Dial(SIP/8014369876,60,r)

exten = 722,109,Dial(SIP/8014368765,60,r)

exten = 722,110,Congestion

exten = 722,111,Hangup



OR



[CompanyABC]

exten = 722,1,Dial(SIP/801722,60,r)

exten = 722,102,Dial(SIP/8014361234,60,r)

exten = 722,203,Dial(SIP/8014362345,60,r)

exten = 722,304,Dial(SIP/8014363456,60,r)

exten = 722,405,Dial(SIP/8014364567,60,r)

exten = 722,506,Dial(SIP/8014365678,60,r)

exten = 722,607,Dial(SIP/8014366789,60,r)

exten = 722,708,Dial(SIP/8014369876,60,r)

exten = 722,809,Dial(SIP/8014368765,60,r)

exten = 722,910,Congestion

exten = 722,1011,Hangup



If extensions extension is busy or fails do you always
increment by +100 or just the first time?



Thanks



Chris.










RE: [Asterisk-Users] Hunt Groups

2004-08-17 Thread Robert Jackson

-Original Message-
From: Chris Modesitt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 17, 2004 3:01 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] Hunt Groups


Chris Modesitt wrote: 
 If extensions extension is busy or fails do you always increment by
+100 or just the first time?

Yes I believe that on timeout the next priority executed is the current
priority plus 101.  Theoretically
what you are suggesting would work, but if you truly want the call to
hunt between those extensions why 
not actually use an ACD (Also known as a Hunt Group).  Asterisk has
excelent ACD support and should be able to 
Provide your application with much more functionality.  

You can set it up via the agents.conf and queues.conf.  Here are a few
relavent links:

  *  http://www.voip-info.org/wiki-Asterisk 
  *  http://www.voip-info.org/wiki-asterisk+config+queues.conf
  *  http://www.voip-info.org/wiki-Asterisk+config+agents.conf
  *  http://www.voip-info.org/wiki-Asterisk+agents
  *  http://www.voip-info.org/wiki-Asterisk+call+queues
  *
http://www.voip-info.org/wiki-Asterisk+-+documentation+of+application+co
mmands (Under Queue and ACD management)

Hope this helps,

Robert Jackson
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Hunt Groups

2004-08-17 Thread Chris Shaw
I don't think this will work... In fact I'm almost positive it wouldn't
You should consider looking at queues like Robert suggested... When looking
at queues.conf remember that you don't need to use Agents, you can use any
technology such as SIP or ZAP.  Correct me if I'm wrong guys...

If you don't want to use queues, you could ring all of the extensions
simultaneously with no timeout like this:

exten 1234,1,Dial(SIP/5551212SIP/5551213SIP/5551214SIP/5551215)

Just to answer your question, yes, the dial() command will increment by 1 on
a timeout (i.e. the person doesn't answer in the specified time) and 100 on
a busy or in the case of a SIP channel, when the device isn't registered...

-Chris

http://www.voip-info.org/wiki-Asterisk+config+queues.conf
http://www.voip-info.org/wiki-Asterisk+cmd+dial

- Original Message -
From: Robert Jackson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 4:54 PM
Subject: RE: [Asterisk-Users] Hunt Groups



 -Original Message-
 From: Chris Modesitt [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 17, 2004 3:01 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Hunt Groups


 Chris Modesitt wrote:
  If extensions extension is busy or fails do you always increment by
 +100 or just the first time?

 Yes I believe that on timeout the next priority executed is the current
 priority plus 101.  Theoretically
 what you are suggesting would work, but if you truly want the call to
 hunt between those extensions why
 not actually use an ACD (Also known as a Hunt Group).  Asterisk has
 excelent ACD support and should be able to
 Provide your application with much more functionality.

 You can set it up via the agents.conf and queues.conf.  Here are a few
 relavent links:

   *  http://www.voip-info.org/wiki-Asterisk
   *  http://www.voip-info.org/wiki-asterisk+config+queues.conf
   *  http://www.voip-info.org/wiki-Asterisk+config+agents.conf
   *  http://www.voip-info.org/wiki-Asterisk+agents
   *  http://www.voip-info.org/wiki-Asterisk+call+queues
   *
 http://www.voip-info.org/wiki-Asterisk+-+documentation+of+application+co
 mmands (Under Queue and ACD management)

 Hope this helps,

 Robert Jackson
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Hunt groups and SIP?

2003-11-17 Thread James Sizemore
I would like to setup a hunt group, not a group ring, using sip phones.
Anyone done this with sip devices?  Comments suggestions?
I have not had much luck with the outgoinglimit=1,  incominglimit=1
stuff that I would need to get busy extinctions to work right, which is
why I'm asking on the list. 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Hunt groups and SIP?

2003-11-17 Thread David Gomillion
Look at the Queue application... it will probably fulfill your needs.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of James Sizemore
 Sent: Monday, November 17, 2003 2:25 PM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Hunt groups and SIP?
 
 I would like to setup a hunt group, not a group ring, using sip
phones.
 Anyone done this with sip devices?  Comments suggestions?
 
 I have not had much luck with the outgoinglimit=1,  incominglimit=1
 stuff that I would need to get busy extinctions to work right, which
is
 why I'm asking on the list.
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Hunt groups and SIP?

2003-11-17 Thread Sean P. Robertson
- Original Message - 
From: James Sizemore [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:24 PM
Subject: [Asterisk-Users] Hunt groups and SIP?


 I would like to setup a hunt group, not a group ring, using sip phones.
 Anyone done this with sip devices?  Comments suggestions?
 
 I have not had much luck with the outgoinglimit=1,  incominglimit=1
 stuff that I would need to get busy extinctions to work right, which is
 why I'm asking on the list. 
 

Basically you need to disable call waiting on your SIP device (if it
supports call waiting to begin with).  When the second call comes into the
SIP device with call waiting disabled, it should send a 486 SIP message
(mine says 486 Busy Here) back to the Asterisk. You can see this in sip
debug mode on the console.

Then setup your extensions.conf to take the appropriate action on Busy like
any other extension.

Sean

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Hunt groups and SIP?

2003-11-17 Thread Paul Liew
Also, check my patch http://bugs.digium.com/bug_view_page.php?bug_id=408
which does fix incominglimit/outgoinglimit. Stops callwaiting on sip phones.
Hope that helps.

Paul
- Original Message - 
From: David Gomillion [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 7:29 AM
Subject: RE: [Asterisk-Users] Hunt groups and SIP?


 Look at the Queue application... it will probably fulfill your needs.

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:asterisk-users-
  [EMAIL PROTECTED] On Behalf Of James Sizemore
  Sent: Monday, November 17, 2003 2:25 PM
  To: [EMAIL PROTECTED]
  Subject: [Asterisk-Users] Hunt groups and SIP?
 
  I would like to setup a hunt group, not a group ring, using sip
 phones.
  Anyone done this with sip devices?  Comments suggestions?
 
  I have not had much luck with the outgoinglimit=1,  incominglimit=1
  stuff that I would need to get busy extinctions to work right, which
 is
  why I'm asking on the list.
 
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users