Re: [Asterisk-Users] asterisk tries to dial out on lines already in use.

2005-01-31 Thread Jon Gabrielson
I started a small bounty for it at:
http://www.voip-info.org/wiki-Dialtone+and+line-in-use+detection+on+a+ZAP+channel
Hopefully other people will add to it and make it grow.



Jon.

On Monday 31 January 2005 12:02 am, Paradise Dove wrote:
 On Sun, 30 Jan 2005 18:14:38 -0600, Jon Gabrielson

 [EMAIL PROTECTED] wrote:
  Asterisk should be able to do this, there are several cases
  when this is essential.  The first is a shared/party line where
  asterisk cannot have guaranteed access for whatever reason.
  In our case, that reason happens to be because we also use
  our outgoing lines for faxing.
  The second is that without dialtone detection, if for some
  reason the line is down, asterisk needs to know so that it can
  try a different outgoing line.  If the first line is down, asterisk
  shouldn't hang, it should wait a few seconds and try to dial
  out on the next line.

 this is the feature which other PBXs have.  the ability to detect out
 of order lines (no dialtone - used by others) .
 btw, as i said before a feature request about this is submitted to bug
 tracker at http://bugs.digium.com/bug_view_page.php?bug_id=0002612.
 suppose that any followups could be done there. maybe setting bounty
 on this issue speedup the process!

 thanks,
 Paradise Dove

  Jon.
 
  On Sunday 30 January 2005 04:13 pm, Steven Critchfield wrote:
   On Sun, 2005-01-30 at 13:40 -0600, Jon Gabrielson wrote:
Can't asterisk look for a dialtone?  Even a $5 modem
can detect whether or not there is a dialtone.
  
   Maybe you should just use your $5 modem and write your own software.
  
   Asterisk is a PBX. PBXs shouldn't have to deal with your bastardized
   setup that doesn't respect the normal way in which a PBX is set up. A
   PBX sits between the PSTN and ALL other access to the PSTN. In doing
   so, asterisk can know ahead of time that the line is available. If you
   wait for dialtone detection, then you have to also make code to
   understand all international dialtones as well. Then you have to delay
   dial till you are certain it is the tone you are expecting.
  
On Sunday 30 January 2005 10:37 am, Wilson Pickett wrote:
  When I place a call with asterisk, asterisk will try to dial
  out on the first line even if the first line is already being
  used by someone else.  Any ideas on what I'm doing
  wrong?

 My question would be, how would asterisk know the line is in use if
 it isn't controlling it?
 
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  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
 Asterisk-Users@lists.digium.com
 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
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-30 Thread Wilson Pickett
 When I place a call with asterisk, asterisk will try to dial
 out on the first line even if the first line is already being
 used by someone else.  Any ideas on what I'm doing
 wrong?

My question would be, how would asterisk know the line is in use if it
isn't controlling it?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-30 Thread Jon Gabrielson
Can't asterisk look for a dialtone?  Even a $5 modem
can detect whether or not there is a dialtone.

Thanks,


Jon.


On Sunday 30 January 2005 10:37 am, Wilson Pickett wrote:
  When I place a call with asterisk, asterisk will try to dial
  out on the first line even if the first line is already being
  used by someone else.  Any ideas on what I'm doing
  wrong?

 My question would be, how would asterisk know the line is in use if it
 isn't controlling it?
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 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
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-30 Thread Paradise Dove
i have the same problem...
i've also added a feature request to bug tracker
(http://bugs.digium.com/bug_view_page.php?bug_id=0002612) regarding
this issue.



On Sun, 30 Jan 2005 13:40:06 -0600, Jon Gabrielson
[EMAIL PROTECTED] wrote:
 Can't asterisk look for a dialtone?  Even a $5 modem
 can detect whether or not there is a dialtone.
 
 Thanks,
 
 
 Jon.
 
 
 On Sunday 30 January 2005 10:37 am, Wilson Pickett wrote:
   When I place a call with asterisk, asterisk will try to dial
   out on the first line even if the first line is already being
   used by someone else.  Any ideas on what I'm doing
   wrong?
 
  My question would be, how would asterisk know the line is in use if it
  isn't controlling it?
  ___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  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
 Asterisk-Users@lists.digium.com
 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
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-30 Thread Steven Critchfield
On Sun, 2005-01-30 at 13:40 -0600, Jon Gabrielson wrote:
 Can't asterisk look for a dialtone?  Even a $5 modem
 can detect whether or not there is a dialtone.

Maybe you should just use your $5 modem and write your own software. 

Asterisk is a PBX. PBXs shouldn't have to deal with your bastardized
setup that doesn't respect the normal way in which a PBX is set up. A
PBX sits between the PSTN and ALL other access to the PSTN. In doing so,
asterisk can know ahead of time that the line is available. If you wait
for dialtone detection, then you have to also make code to understand
all international dialtones as well. Then you have to delay dial till
you are certain it is the tone you are expecting.  

 On Sunday 30 January 2005 10:37 am, Wilson Pickett wrote:
   When I place a call with asterisk, asterisk will try to dial
   out on the first line even if the first line is already being
   used by someone else.  Any ideas on what I'm doing
   wrong?
 
  My question would be, how would asterisk know the line is in use if it
  isn't controlling it?
 
-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-30 Thread Jon Gabrielson
Asterisk should be able to do this, there are several cases
when this is essential.  The first is a shared/party line where 
asterisk cannot have guaranteed access for whatever reason.
In our case, that reason happens to be because we also use
our outgoing lines for faxing.
The second is that without dialtone detection, if for some 
reason the line is down, asterisk needs to know so that it can
try a different outgoing line.  If the first line is down, asterisk 
shouldn't hang, it should wait a few seconds and try to dial
out on the next line.



Jon.


On Sunday 30 January 2005 04:13 pm, Steven Critchfield wrote:
 On Sun, 2005-01-30 at 13:40 -0600, Jon Gabrielson wrote:
  Can't asterisk look for a dialtone?  Even a $5 modem
  can detect whether or not there is a dialtone.

 Maybe you should just use your $5 modem and write your own software.

 Asterisk is a PBX. PBXs shouldn't have to deal with your bastardized
 setup that doesn't respect the normal way in which a PBX is set up. A
 PBX sits between the PSTN and ALL other access to the PSTN. In doing so,
 asterisk can know ahead of time that the line is available. If you wait
 for dialtone detection, then you have to also make code to understand
 all international dialtones as well. Then you have to delay dial till
 you are certain it is the tone you are expecting.

  On Sunday 30 January 2005 10:37 am, Wilson Pickett wrote:
When I place a call with asterisk, asterisk will try to dial
out on the first line even if the first line is already being
used by someone else.  Any ideas on what I'm doing
wrong?
  
   My question would be, how would asterisk know the line is in use if it
   isn't controlling it?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-30 Thread Paradise Dove
On Sun, 30 Jan 2005 18:14:38 -0600, Jon Gabrielson
[EMAIL PROTECTED] wrote:
 Asterisk should be able to do this, there are several cases
 when this is essential.  The first is a shared/party line where
 asterisk cannot have guaranteed access for whatever reason.
 In our case, that reason happens to be because we also use
 our outgoing lines for faxing.
 The second is that without dialtone detection, if for some
 reason the line is down, asterisk needs to know so that it can
 try a different outgoing line.  If the first line is down, asterisk
 shouldn't hang, it should wait a few seconds and try to dial
 out on the next line.

this is the feature which other PBXs have.  the ability to detect out
of order lines (no dialtone - used by others) .
btw, as i said before a feature request about this is submitted to bug
tracker at http://bugs.digium.com/bug_view_page.php?bug_id=0002612.
suppose that any followups could be done there. maybe setting bounty
on this issue speedup the process!

thanks,
Paradise Dove

 
 
 Jon.
 
 
 On Sunday 30 January 2005 04:13 pm, Steven Critchfield wrote:
  On Sun, 2005-01-30 at 13:40 -0600, Jon Gabrielson wrote:
   Can't asterisk look for a dialtone?  Even a $5 modem
   can detect whether or not there is a dialtone.
 
  Maybe you should just use your $5 modem and write your own software.
 
  Asterisk is a PBX. PBXs shouldn't have to deal with your bastardized
  setup that doesn't respect the normal way in which a PBX is set up. A
  PBX sits between the PSTN and ALL other access to the PSTN. In doing so,
  asterisk can know ahead of time that the line is available. If you wait
  for dialtone detection, then you have to also make code to understand
  all international dialtones as well. Then you have to delay dial till
  you are certain it is the tone you are expecting.
 
   On Sunday 30 January 2005 10:37 am, Wilson Pickett wrote:
 When I place a call with asterisk, asterisk will try to dial
 out on the first line even if the first line is already being
 used by someone else.  Any ideas on what I'm doing
 wrong?
   
My question would be, how would asterisk know the line is in use if it
isn't controlling it?
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 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
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-29 Thread Steven Critchfield
On Sat, 2005-01-29 at 10:36 -0600, Jon Gabrielson wrote:
 I have asterisk connected to an adit 600 with fxo ports.
 When I place a call with asterisk, asterisk will try to dial
 out on the first line even if the first line is already being
 used by someone else.  Any ideas on what I'm doing
 wrong?  

Any ideas what kind of information you forgot to include in this
message?
-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
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] asterisk tries to dial out on lines already in use.

2005-01-29 Thread Jon Gabrielson
No, not really, what information do you need?
I have no idea whether it is an asterisk problem, 
and adit 600 problem, etc...  I was hoping someone
would be able to give me an idea of which config 
file to look into, etc... so I wouldn't have to attach
20 config files to my email.


Jon.


On Saturday 29 January 2005 11:11 am, Steven Critchfield wrote:
 On Sat, 2005-01-29 at 10:36 -0600, Jon Gabrielson wrote:
  I have asterisk connected to an adit 600 with fxo ports.
  When I place a call with asterisk, asterisk will try to dial
  out on the first line even if the first line is already being
  used by someone else.  Any ideas on what I'm doing
  wrong?

 Any ideas what kind of information you forgot to include in this
 message?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users