If you doubt about WaitExten(), you should also check whether you have set the autofallthough = yes in the general section under extensions.conf. They have close relationship with each other after Asterisk version greater than 1.2
Notes
WaitExten does not work in a Macro!
The autofallthrough setting was introduced in Asterisk 1.2 now defaults to 'yes' in Asterisk 1.4; if your dialplan relies on the ability to 'run off the end' of an extension and wait for a new extension without using WaitExten() to accomplish that, you will need set autofallthrough to 'no' in your extensions.conf file. If you want to set autofallthrough to 'no', you must go through your dialplan and add WaitExten() at every place where execute would run off the end of an extension and wait for another one to be dialed.
An examination of the source code seems to suggest that TIMEOUT(response) and TIMEOUT(digit) do not have any effect on WaitExten.
For info., I have my autofallthrough set to yes from the very first beginning when setting up my server.作者: ckleea 時間: 2011-10-5 22:49
To my understanding, the command Answer() is set to 0.5 seconds by default when picking up the line. If the same rule is also applied for WaitExten(), only 0.5 seconds is not enough for the caller to input all 8 to 10 digits before it expires.
Hence, I have set WaitExten(10) in my IVR to allow adequate input time. I found that yours is just using default WaitExten(). You may try to set longer time to accommodate all 8 - 10 digits instead of just 2 as you encountered.作者: ckleea 時間: 2011-10-6 05:57
In fact I have tried various option within WaitExten()作者: 角色 時間: 2011-10-7 07:19
本帖最後由 角色 於 2011-10-7 09:10 編輯
I do not know whether your gain setting is correct or not?
You may use analogue method by making voice call from your mobile phone to your extension directly and observe the voice volume. In fact, we need a spectrum analysis which would be useful.
My set up is to use HKBN 2b for incoming and then go out via PSTN connect via ATA.
HKBN 2b per se is a VOIP connection in my understanding though other people may think it is a PSTN because they can dial in via any physical phone they have.
I suggest you also try to put up 2b into your asterisk 1.8 to test run. I do encounter a few problem now after iphone apps for 2b is available.
Sometimes: registered but cannot dial in or out. Dialing in will ring my iphone despite the apps has been turned off
Sometimes: registered but go to 2b voicemail
Sometimes: dial out always failed.作者: ckleea 時間: 2011-10-14 06:35
Thanks ckleea c-hing. This new dialplan is even neater than the one (also using macro) that I am using. I will replace mine with this one if it can run smoothly after test.作者: bubblestar 時間: 2011-10-14 10:14
It seems a new improvement has been made on this code. I will go through the details later tonight but could you briefly highlight the differences between this one with our existing macro super dial ?作者: ckleea 時間: 2011-10-15 00:13
I have moved all my macro into another conf file to make my extensions.conf nice and tidy.
I will follow this direction to clean up all the unnecessary and clumsy ordering of different labels.作者: bubblestar 時間: 2011-10-15 00:22
That's a good idea and towards a right direction. Our dialplan file size is getting larger and it is time to re-organize them in a systematic, manageable and easier way.作者: ckleea 時間: 2011-10-15 07:18
This is the beginning.
I have defined two users for sip and iax connections using template approach. Few trunks that allow me to use resources. Other being setup in progress.