Re: [Asterisk-Users] delay before dial on TDM04B

2005-08-29 Thread Samy Kamkar

Jerry Geis wrote:

I am searching for a way to add a 2 second delay before calling out 
with Dial().

Sometimes I get the message you must first dial a 1 to place this call.
I presume the phone company is missing the first digit pulsed out 
sometimes.


How do I put a 2 second delay after coming offhook and before dialing 
the digits?


Thanks,

jerry

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

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


You can prepend a 'w' for a half-second wait which will resolve this 
problem.


e.g., Zap/1/w19007529269
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] delay before dial on TDM04B

2005-08-29 Thread Samy Kamkar

Jerry Geis wrote:



 Samy,


Thanks for the suggestion - however I am confused on the wiki the
'w' stands for:

*w*: Allow the /called/ user to start recording after pressing *1 or 
what defined in features.conf (Asterisk  v1.0.x)


This is not a delay of any kind.

Jerry



 [Asterisk-Users] delay before dial on TDM04B

*Samy Kamkar* samy at fonality.com 
mailto:asterisk-users%40lists.digium.com?Subject=%5BAsterisk-Users%5D%20delay%20before%20dial%20on%20TDM04BIn-Reply-To=43134CDA.4020408%40pagestation.com 


/Mon Aug 29 13:07:05 CDT 2005/

   * Previous message: [Asterisk-Users] delay before dial on TDM04B
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/123436.html 


   * Next message: [Asterisk-Users] New astGUIclient version released
 1.1.6
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/123437.html 


   * *Messages sorted by:* [ date ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/date.html#123438 


 [ thread ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/thread.html#123438 


 [ subject ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/subject.html#123438 


 [ author ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/author.html#123438 






Jerry Geis wrote:

/ I am searching for a way to add a 2 second delay before calling out 


// with Dial().
// Sometimes I get the message you must first dial a 1 to place this 
call.
// I presume the phone company is missing the first digit pulsed out 
// sometimes.

//
// How do I put a 2 second delay after coming offhook and before 
dialing // the digits?

//
// Thanks,
//
// jerry
//
// ___
// --Bandwidth and Colocation sponsored by Easynews.com --
//
// Asterisk-Users mailing list
// Asterisk-Users at lists.digium.com 
http://lists.digium.com/mailman/listinfo/asterisk-users

// http://lists.digium.com/mailman/listinfo/asterisk-users
// To UNSUBSCRIBE or update options visit:
//   http://lists.digium.com/mailman/listinfo/asterisk-users
/
You can prepend a 'w' for a half-second wait which will resolve this 
problem.


e.g., Zap/1/w19007529269

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

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


Hi Jerry,

Check out: 
http://www.voip-info.org/tiki-index.php?page=Asterisk+Zap+channels


Note this line on the page:
/phonenumber/, if present, specifies which telephone number you wish to 
be connected with. Note that this makes sense only when you are dialing 
a telephone line (an FXO or PRI interface), not an internal extension. 
Within the phone number, you may use the special modifier *w* to 
indicate a half-second pause. You might want to use this to wait for a 
dialtone or for a pause while dialing digits. You may also use the 
special modifier *c* to allow for clear channel connections between PRI 
ports.


w = half-a-second wait

So, Zap/1/13105551212 would be a 2 second wait. However, I've dealt 
with a lot of phone providers and none have ever required more than a 
single half-a-second wait for them to begin detecting the DTMF tones, so 
you should be good with one 'w'.


-samy
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] delay before dial on TDM04B

2005-08-29 Thread John Novack

Samy Kamkar wrote:


Jerry Geis wrote:


 Samy,


Thanks for the suggestion - however I am confused on the wiki the
'w' stands for:

*w*: Allow the /called/ user to start recording after pressing *1 or 
what defined in features.conf (Asterisk  v1.0.x)


This is not a delay of any kind.

Jerry



 [Asterisk-Users] delay before dial on TDM04B

*Samy Kamkar* samy at fonality.com 
mailto:asterisk-users%40lists.digium.com?Subject=%5BAsterisk-Users%5D%20delay%20before%20dial%20on%20TDM04BIn-Reply-To=43134CDA.4020408%40pagestation.com 


/Mon Aug 29 13:07:05 CDT 2005/

   * Previous message: [Asterisk-Users] delay before dial on TDM04B
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/123436.html 


   * Next message: [Asterisk-Users] New astGUIclient version released
 1.1.6
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/123437.html 


   * *Messages sorted by:* [ date ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/date.html#123438 


 [ thread ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/thread.html#123438 


 [ subject ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/subject.html#123438 


 [ author ]
 
http://lists.digium.com/pipermail/asterisk-users/2005-August/author.html#123438 






Jerry Geis wrote:

/ I am searching for a way to add a 2 second delay before calling out 



// with Dial().
// Sometimes I get the message you must first dial a 1 to place 
this call.
// I presume the phone company is missing the first digit pulsed out 
// sometimes.

//
// How do I put a 2 second delay after coming offhook and before 
dialing // the digits?

//
// Thanks,
//
// jerry
//
// ___
// --Bandwidth and Colocation sponsored by Easynews.com --
//
// Asterisk-Users mailing list
// Asterisk-Users at lists.digium.com 
http://lists.digium.com/mailman/listinfo/asterisk-users

// http://lists.digium.com/mailman/listinfo/asterisk-users
// To UNSUBSCRIBE or update options visit:
//   http://lists.digium.com/mailman/listinfo/asterisk-users
/
You can prepend a 'w' for a half-second wait which will resolve this 
problem.


e.g., Zap/1/w19007529269



Hi Jerry,

Check out: 
http://www.voip-info.org/tiki-index.php?page=Asterisk+Zap+channels


Note this line on the page:
/phonenumber/, if present, specifies which telephone number you wish 
to be connected with. Note that this makes sense only when you are 
dialing a telephone line (an FXO or PRI interface), not an internal 
extension. Within the phone number, you may use the special modifier 
*w* to indicate a half-second pause. You might want to use this to 
wait for a dialtone or for a pause while dialing digits. You may also 
use the special modifier *c* to allow for clear channel connections 
between PRI ports.


w = half-a-second wait

So, Zap/1/13105551212 would be a 2 second wait. However, I've 
dealt with a lot of phone providers and none have ever required more 
than a single half-a-second wait for them to begin detecting the DTMF 
tones, so you should be good with one 'w'.


-samy


Also be advised that w ONLY seems to work with DTMF.

For those who require pulse output, there is no way to delay the blind 
dialing. Any number of w's are ignored, so misdialing  is probable if 
for any reason the Co isn't ready.


John Novack


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

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] delay before dial on TDM04B

2005-08-29 Thread Rich Adamson
 I am searching for a way to add a 2 second delay before calling out with 
 Dial().
 Sometimes I get the message you must first dial a 1 to place this call.
 I presume the phone company is missing the first digit pulsed out sometimes.
 
 How do I put a 2 second delay after coming offhook and before dialing 
 the digits?

Come on guy, did you do any research or reading at all? That question
has been answered many many times in the last 60 days.

Hint: insert a w in the dial string. Each w adds about 250 milliseconds
of delay. Example:
 exten = _9XXX,1,Dial(Zap/4/w${EXTEN}) 



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

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] delay before dial on TDM04B

2005-08-29 Thread John Novack



Rich Adamson wrote:


I am searching for a way to add a 2 second delay before calling out with Dial().
Sometimes I get the message you must first dial a 1 to place this call.
I presume the phone company is missing the first digit pulsed out sometimes.
How do I put a 2 second delay after coming offhook and before dialing the 
digits?
   



Come on guy, did you do any research or reading at all? That question has been 
answered many many times in the last 60 days.

Hint: insert a w in the dial string. Each w adds about 250 milliseconds of 
delay. Example:
exten = _9XXX,1,Dial(Zap/4/w${EXTEN}) 

Again, ONLY when dialing DTMF. There is no way to delay dialing pulse, 
which, oh by the way, is still used in a number of places around the world!


What is the correct amount of delay?
I have read 1 second, 1/2 second, now 1/4 second. Which is correct?

John Novack

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

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] delay before dial on TDM04B

2005-08-29 Thread Rich Adamson
 I am searching for a way to add a 2 second delay before calling out with 
 Dial().
 Sometimes I get the message you must first dial a 1 to place this call.
 I presume the phone company is missing the first digit pulsed out sometimes.
 How do I put a 2 second delay after coming offhook and before dialing the 
 digits?
 
 
 
 Come on guy, did you do any research or reading at all? That question has 
 been answered 
many many times in the last 60 days.
 
 Hint: insert a w in the dial string. Each w adds about 250 milliseconds 
 of delay. 
Example:
  exten = _9XXX,1,Dial(Zap/4/w${EXTEN}) 
 
 Again, ONLY when dialing DTMF. There is no way to delay dialing pulse, 
 which, oh by the way, is still used in a number of places around the world!
 
 What is the correct amount of delay?
 I have read 1 second, 1/2 second, now 1/4 second. Which is correct?

Don't know, but in most dtmf CO's, a single w is more then adequate.
Once in a great while a second might be needed.

The issue is that some CO's have to attach an internal receiver to
accept the dtmf (or dialpulse), and some CO's are rather slow to do
that. The slowness is very likely to vary by a small amount on each
call, therefore inserting a couple of ww's really doesn't hurt.

If you really need dial pulse, then open a bug on this as the w should
be applied to dtmf and dialpulse equally. They are both exactly the same
issue and should have been treated the same. But, I'm fairly certain
the dialpulse logic was added to asterisk after the w, therefore
whoever did the dialpulse probably forgot all about that piece.

Are you attaching asterisk to your x-y switch? If so, opening a bug is
likely to be the only way to resolve the linefinder delay, or, dig
through the w code and copy the process into the dialpulse code.

Rich


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

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] delay before dial on TDM04B - continued

2005-08-29 Thread John Novack



Jerry Geis wrote:

I tried adding  to my dial string... It appears to not made any 
differnece.

I see by watching show channels that the w's are there in the dial.

I have this box connected to bell south down in georgia.
I have an identical box connected in indiana. The box in indiana works 
fine

when dialing out.

It would be helpful to know a couple of things, as this has been my 
experience also, though others insist it works, though there is some 
disagreement as to how much delay aw inserts

.
1: what version of Asterisk are you using? One of the so called Stable 
versions? Or HEAD, and from what date?

2: Are you dialing DTMF or pulse?
3: Analog, through a X100P or TDM400 FXO module?

When in GA dialout is getting you must first dial a 1 to place this 
call.

show channels tels me the 1 is present in the dial.
Or the other situation is it just rings and rings and rings

I have changed the zapata and zaptel files from fxs_ks to fxs_gs and 
fxs_ls

thinking something is differnet in GA. However nothing seems to affect
the calling out.


Ground start supposedly isn't supported in the X100P and TDM400 FXO modules.

John Novack




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

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] delay before dial on TDM04B - continued

2005-08-29 Thread Rich Adamson
 I tried adding  to my dial string... It appears to not made any 
 differnece.
 I see by watching show channels that the w's are there in the dial.
 
 I have this box connected to bell south down in georgia.
 I have an identical box connected in indiana. The box in indiana works fine
 when dialing out.
 
 When in GA dialout is getting you must first dial a 1 to place this call.
 show channels tels me the 1 is present in the dial.
 Or the other situation is it just rings and rings and rings
 
 I have changed the zapata and zaptel files from fxs_ks to fxs_gs and fxs_ls
 thinking something is differnet in GA. However nothing seems to affect
 the calling out.
 
 Calls coming in seems to be ok.
 
 Any ideas on something to try?

Show us the exact exten= entry that is causing the problem in GA
with the w's included. Copy/paste the CLI for a sample call as well.


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

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] delay before dial on TDM04B

2005-08-29 Thread John Novack



Rich Adamson wrote:


snip

Don't know, but in most dtmf CO's, a single w is more then adequate.
Once in a great while a second might be needed.

The issue is that some CO's have to attach an internal receiver to accept the 
dtmf (or dialpulse), and some CO's are rather slow to do that. The slowness is very 
likely to vary by a small amount on each call, therefore inserting a couple of ww's 
really doesn't hurt.

 

Agreed, but it seems, from results by others that it doesn't work all 
the time even in DTMF



If you really need dial pulse, then open a bug on this as the w should be applied to 
dtmf and dialpulse equally. They are both exactly the same issue and should have been treated the 
same. But, I'm fairly certain the dialpulse logic was added to asterisk after the w, 
therefore whoever did the dialpulse probably forgot all about that piece.

 

And of course the problem would seldom even appear if detection of 
dialtone  were present.

See references to REALLY slow dialtone posted in the last day or less.


Are you attaching asterisk to your x-y switch?

I and quite a few  other collectors are using Asterisk as an interface 
to our legacy switches in a private network. We may have lost one 
today in New Orleans though! I have both XY, SXS and electronic SXS 
switches, as well as the option to use an incoming selector if necessary.



If so, opening a bug is likely to be the only way to resolve the linefinder 
delay,

I suppose you are correct, though I have doubts that this will be 
considered very important. It seems there is much more interest in new 
hot features, rather than fixing what MOSTLY works.
There is also a problem with DETECTION of dial pulses  through an FXS 
interface. It is too intolorant of slight variations in dial speed. I'll 
see if someone knows how to let that be known. I sure don't



or, dig through the w code and copy the process into the dialpulse code.

 


That is not likely to happen, at least by me!
First the problem needs to be defined,

John Novack

 


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

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] delay before dial on TDM04B

2005-08-29 Thread Rich Adamson

 Don't know, but in most dtmf CO's, a single w is more then adequate.
 Once in a great while a second might be needed.
 
 
 Agreed, but it seems, from results by others that it doesn't work all 
 the time even in DTMF

Every one that I've helped with inserting the w worked just fine
assuming they inserted it in the proper place. Even did some research
with internal Sprint folks to identify the type of CO in use. No
exceptions thus far.

 And of course the problem would seldom even appear if detection of 
 dialtone  were present.  See references to REALLY slow dialtone 
 posted in the last day or less.

Yes, its my professional opinion that dialtone detection is a
requirement, but probably a low priority in the scheam of things.

 Are you attaching asterisk to your x-y switch?
 
 I and quite a few  other collectors are using Asterisk as an interface 
 to our legacy switches in a private network. We may have lost one 
 today in New Orleans though! I have both XY, SXS and electronic SXS 
 switches, as well as the option to use an incoming selector if necessary.
 
  If so, opening a bug is likely to be the only way to resolve the linefinder 
  delay,
 
 I suppose you are correct, though I have doubts that this will be 
 considered very important. It seems there is much more interest in new 
 hot features, rather than fixing what MOSTLY works.
 There is also a problem with DETECTION of dial pulses  through an FXS 
 interface. It is too intolorant of slight variations in dial speed. I'll 
 see if someone knows how to let that be known. I sure don't

I'd really suggest opening the bug. It should be relatively easy to
fix given the current dtmf code. (Sure wish I were a proficient programmer.)
 

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

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