Frank Sautter
2005-Jul-28 08:44 UTC
[Asterisk-Users] delay on pri dialling when asterisk is spliced between E1-Pri and legacy pbx
hello everybody,
one of our customers which wants a soft transfer between his old pbx to
asterisk and sip. the setup is as follows:
telco <---pri---> asterisk <---pri---> legacy pbx
everything is fine exept that when dialling from the legacy pbx it takes
about 3 seconds before the asterisk start to dial.
where does this delay come from?
has it to do with 'overlapdial=yes'?
here is an excerpt from the logfile (i assume the number is dialled
enbloc as it come with the redial function of the legacy pbx):
2005-07-28 17:23:37 VERBOSE[13873] logger.c: -- Accepting overlap
call from '070314161XXX' to '<unspecified>' on channel
0/1, span 2
2005-07-28 17:23:37 VERBOSE[13997] logger.c: -- Starting simple
switch on 'Zap/32-1'
2005-07-28 17:23:40 VERBOSE[13997] logger.c: -- Executing
Dial("Zap/32-1", "ZAP/g1/0172XXXXXXX") in new stack
2005-07-28 17:23:40 VERBOSE[13997] logger.c: -- Requested transfer
capability: 0x00 - SPEECH
2005-07-28 17:23:40 VERBOSE[13997] logger.c: -- Called g1/0172XXXXXXX
2005-07-28 17:23:41 DEBUG[13872] chan_zap.c: Queuing frame from
PRI_EVENT_PROCEEDING on channel 0/1 span 1
2005-07-28 17:23:41 VERBOSE[13997] logger.c: -- Zap/1-1 is
proceeding passing it to Zap/32-1
2005-07-28 17:23:41 DEBUG[13997] chan_zap.c: Requested indication 15 on
channel Zap/32-1
2005-07-28 17:23:41 DEBUG[13997] chan_zap.c: Received
AST_CONTROL_PROCEEDING on Zap/32-1
regards
frank
Maik Schmitt
2005-Jul-28 10:18 UTC
[Asterisk-Users] delay on pri dialling when asterisk is spliced between E1-Pri and legacy pbx
> one of our customers which wants a soft transfer between his old pbx to > asterisk and sip. the setup is as follows: > telco <---pri---> asterisk <---pri---> legacy pbx > everything is fine exept that when dialling from the legacy pbx it takes > about 3 seconds before the asterisk start to dial. > where does this delay come from? > has it to do with 'overlapdial=yes'?This is normal behaviour if you use '.' in your extensions.conf. Use '!' instead and Asterisk will start dialing immediately. Maik Schmitt
Peter Svensson
2005-Jul-28 11:41 UTC
[Asterisk-Users] delay on pri dialling when asterisk is spliced between E1-Pri and legacy pbx
On Thu, 28 Jul 2005, Frank Sautter wrote:> one of our customers which wants a soft transfer between his old pbx to > asterisk and sip. the setup is as follows: > telco <---pri---> asterisk <---pri---> legacy pbx > everything is fine exept that when dialling from the legacy pbx it takes > about 3 seconds before the asterisk start to dial. > where does this delay come from? > has it to do with 'overlapdial=yes'? > > here is an excerpt from the logfile (i assume the number is dialled > enbloc as it come with the redial function of the legacy pbx):The three second delay sounds like the dial timeout - i.e. asterisk is for some reason waiting for mor digits. One cause can be that the dialplan contains a wildcard match "." which can match any number of digits, or the dialplan can be ambigous (e.g. containing both 345 and 3456 as extensions). Instead of using "." in the dialplan (and if the outgoing leg can handle overlap digits) you can use "!" instead of ".". The exclamation point is a different wildcard that matches immediatly if it is the only possible extension remaining. Normally the "no more digits" marker from the incoming leg would trigger a "." wildcard to match immediatly. Perhaps the pbx sends the number as overlap digits, or at least does not set the end of number marker? Things are much easier to diagnose with a pri intense debug log. Peter
Maybe Matching Threads
- Busy - problem with Asterisk spliced between Arcor E1-PRI and Ericsson BP250
- Slow dialling from PBX into * via E1
- Problems splicing Asterisk with a TE405P between Arcor E1 PRI and Ericsson Business Phone 250
- Pri HDLC aborts and choppy audio when dialling into pri, caused by BIOS option ["CPU enhanced halt" c1e]
- PBX -> PRI -> * -> Telco not working