[Asterisk-Users] Use buttons (other than #) after call is bridged?

Mickey Binder mickey at comflex.dk
Tue May 11 03:19:09 MST 2004


That should be pretty easy if you already have the interface to the DPIN I/O
port. Then it would be just a matter of some system() calls on different
extensions which communicate with your DPIN I/O port program.

e.x.:

exten => 99910,1,system(io_prog 1 0) ;turn port 1 off
exten => 99911,1,system(io_prog 1 1) ;turn port 1 on
exten => 99920,1,system(io_prog 2 0) ;turn port 2 off
exten => 99921,1,system(io_prog 2 1) ;turn port 2 on
exten => 99930,1,system(io_prog 3 0) ;turn port 3 off
exten => 99931,1,system(io_prog 3 1) ;turn port 3 on

I don't know if this is the optimal solution, but I would implement it that
way if is was my project.

Regards,
Mickey

> -----Original Message-----
> From: Dean Collins [mailto:dean at collins.net.pr]
> Sent: 11. maj 2004 12:09
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] Use buttons (other than #) after call is
> bridged?
> 
> Is there some way of driving external contacts with Asterisk?
> 
> I've seen something running on windows that allowed a Dpin I/O port to
> drive up to 15 contacts, is there someway to get asterisk to do the
> same?
> 
> 
> Cheers,
> Dean
> 
> 
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Andreas
> Anderson
> Sent: Tuesday, 11 May 2004 7:52 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Use buttons (other than #) after call is
> bridged?
> 
> Hi,
> 
> can i somehow use the other buttons to execute some apps, *without*
> hanging
> up the call?
> Something like:
> 
> exten => s,1,Dial/SIP(1234)|4,5,7,9
> exten => 4,1,Monitor(wav)
> exten => 5,1,SIPDtmfMode(inband)
> exten => 7,1,AGI(turnoncoffeemachine.agi)
> exten => 9,1,System(smbnuke boss)
> 
> 
> Regards,
> 
> AA
> 
> _________________________________________________________________
> Watch movie trailers online with the Xtra Broadband Channel
> http://xtra.co.nz/broadband
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list