[asterisk-users] WaitExten() always times out

Miguel Molina mmolina at millenium.com.co
Wed Aug 18 15:57:20 CDT 2010


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 
> <mailto:danny at debsinc.com>> wrote:
>
>     *From:* asterisk-users-bounces at lists.digium.com
>     <mailto:asterisk-users-bounces at lists.digium.com>
>     [mailto: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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100818/eee6b3dc/attachment.htm 


More information about the asterisk-users mailing list