[asterisk-users] WaitExten() always times out
mmolina at millenium.com.co
Wed Aug 18 15:57:20 CDT 2010
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.
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center
PBX: (+57 1)6500800 ext. 1201
Fax: (+57 1)6500816
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
> 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
> >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.
> >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.
> >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)
> 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:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users