[Asterisk-Users] Send HookFlash after answering a ZAP(analog) channel

Michael Collins mcollins at fcnetwork.biz
Mon Feb 13 16:46:54 MST 2006


Curious: Why did you need the wait times to be so long - was it because of your PBX or is that simply what you wanted?

-MC

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Hans-Juergen Brand
Sent: Monday, February 13, 2006 2:12 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Cc: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Send HookFlash after answering a ZAP(analog) channel

Found solution:

exten => s,1,Wait(10)
exten => s,2,Answer()
exten => s,3,Wait(5)
exten => s,4,Flash()
exten => s,5,Wait(2)
exten => s,6,SendDTMF(200)
exten => s,7,Wait(5)
exten => s,8,Hangup()                     



> --- Ursprüngliche Nachricht ---
> Von: "Hans-Juergen Brand" <hans-juergen.brand at gmx.net>
> An: asterisk-users at lists.digium.com
> Betreff: [Asterisk-Users] Send HookFlash after answering a ZAP
> (analog)	channel
> Datum: Mon, 13 Feb 2006 19:16:23 +0100 (MET)
> 
> My hardware configuration looks like this:
> 
> public network --->>other PBX ---analog line (ext 100) ---> FXO,Asterisk
>                       |
>                       |--- extension
>                              (200)
> 
> by calling extension 100 from public network I can call Asterisk. Now I
> would like to answer the call, SayNumber and the transer back to the
> extension 200 in the other pbx. When I put a telephone instead of Asterisk
> on the line 100 I can do the transfer by pressing Hookflash and the dial
> 200
> and then hookon. The call is no at 200.
> 
> ---- extension.conf ---
> 
> exten => s,1,Answer
> exten => s,2,Wait(1)
> exten => s,3,SayNumber(101)
> exten => s,4,Wait(2)
> exten => s,5,Transfer(**51)
> exten => s,6,Wait(40)       
> 
> ------
> 
> I trie something, but it is not working.
> 
> kinds regards.
> 
> HJB
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list