Stefan Agethen wrote:
Hi,
i am searching for a solution to my problem in my Asterisk and mISDN.
I am using 0.3.1 rc 23 and if a caller calls me on my isdn ptp line and
he use an pots "block" dial , this means the number is dialed in one
block, the last digit fails.
It happens 3 or 4 times a day, people who wants to call an extension
like <basenumber><msn etc 20> reach <base><msn 2>.
I have tried to use wait4digits but it seems not to work as well as i
think.
I need help in this case , i can not call it stable working...
Best Wishes - Stefan
Try to use waitfordigits(|||3000) for waiting 3sec, but how can that
works sometimes, and sometimes dont?
Hi Igor,
i have tried it with that, but the problem cant be solved with it.
Here is the testing :
exten => _12345X,1,Waitfordigits(6000,7,addexten)
exten => _12345X,2,Verbose(* * Waited4Digits von ${CALLERIDNUM} und die
Nummer ${EXTEN} kam heraus)
exten => _12345X,3,Goto(isdn2,,1)
; Syntax : waitfordigits([milliseconds]|[maxnum]|addexten|<control>)
and here is the output i get :
Nov 9 11:26:22 VERBOSE[13234] logger.c: -- Executing
waitfordigits("mISDN/2-1", "6000|7|addexten") in new stack
Nov 9 11:26:22 VERBOSE[13234] logger.c: You passed timeout:6000
maxnum:7 addexten:0 control:0
Nov 9 11:26:28 VERBOSE[13234] logger.c: Not Overwriting
extension:12345-6 with new Number: 12345-6
Nov 9 11:26:28 VERBOSE[13234] logger.c: Not Sending any control to
Channel 12345-6 state is 5
Nov 9 11:26:28 VERBOSE[13234] logger.c: -- Executing
Verbose("mISDN/2-1", "* * Waited 4 Digits von <<ANRUFER>> und die Nummer
12345-6 kam heraus") in new st$
I can reproduce the problem as follows :
--> Call with an analog phone and use a phone which sends all the digits
as a block. The last digit fails.
--> Call with the same line and use a phone which sends all the digits
by pressing and NOT as block, all the digits pass.
I have asked the question in german here :
http://www.ip-phone-forum.de/showthread.php?t=118939
And here is (in german, too) the whole problem of "Cutted the last
digit" : http://www.ip-phone-forum.de/showthread.php?t=110173
I would be very happy if you or someone in here can help.
Best wishes,
Stefan
Sorry my mistake, i want to say waitfordigits(3000).
How do you have a "-" on the ${EXTEN} dialed from a analog phone?
I have edited - so i can show it better. The "-" is only for your
information where the msn begins.
Best wishes and thanks for your help,
Stefan
_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk