[asterisk-users] WaitExten() always times out

Kathryn Jones kathrynster at gmail.com
Wed Aug 18 16:52:38 CDT 2010


I must not be receiving them properly, since I can't make it work. I just
can't see why :P.

My asterisk version is 1.6.2.6. Like I said before, for outgoing .call files
WaitExten works fine, it's on incoming calls that I cannot receive the
number I need.

I had not checked my dtmf mode, this is new to me. So I was using asterisk
default rfc2833. I am making pstn calls from regular telephones, through
asterisk. What dtmfmode should I use? Could that be my problem?


On Wed, Aug 18, 2010 at 2:57 PM, Miguel Molina <mmolina at millenium.com.co>wrote:

>  Hi,
>
> Are you sure asterisk is receiving and processing DMTF correctly? Are you
> using rfc2833, SIP INFO or inband DMTF? What is your asterisk version? I use
> WaitExten(5) all the time, no matter if they are single-digit or
> multiple-digit extensions.
>
> Regards,
>
> --
> Ing. Miguel Molina
> Grupo de Tecnología
> Millenium Phone Center
> PBX: (+57 1)6500800 ext. 1201
> Fax: (+57 1)6500816
> Móvil: (+57)3138873587
>
>
> El 18/08/10 15:39, Kathryn Jones escribió:
>
> Thanks for you reply :).
>
> I thought of that and tried replacing _X with a numbers it should match
> (9), and it didn't work. It still times out as if no number was entered.
>
>
>
>
> On Wed, Aug 18, 2010 at 2:11 PM, Danny Nicholas <danny at debsinc.com> wrote:
>
>>   *From:* asterisk-users-bounces at lists.digium.com [mailto:
>> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Kathryn Jones
>> *Subject:* [asterisk-users] WaitExten() always times out
>>
>>
>> >Hi,
>>
>> >My WaitExten() is not working as I expect it to. This is the relevant
>> part of my context. It is meant to receive incoming calls.
>>
>> >[incoming]
>> >exten => xxx,1,Background(hello-world)
>> >exten => xxx,2,WaitExten(7)
>>
>> >exten => _X,1,AGI(myAGI.php)
>>
>> >When I send the call from a .call, it works perfect, but when receiving
>> an incoming call WaitExten() times out no matter what.
>>  <snip>
>>
>> >I experimented changing autofallthrough to no and got the same result.
>> Any ideas about this strange behavior?
>>
>>
>>
>> My best guess is that your problem is that _X isn’t happy for whatever
>> reason.  Generally I use Waitexten for single digit processing like this
>>
>> Exten => 1234,1,goto(waitdtmf,s,1)
>>
>>
>>
>> [waitdtmf]
>>
>> Exten => s,1,background(hello-world)
>>
>> Exten => s,n,waitexten(7)
>>
>> Exten => 1,1,AGI(myAGI.php)
>>
>> Exten => 2,1,AGI(myAGI.php)
>>
>> Exten => I,1,playback(invalid)
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100818/dee188c1/attachment-0001.htm 


More information about the asterisk-users mailing list