-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Floyd wrote: > Hi everyone: > > I've searching for a while and haven't found what i > need. > The thing is that i have a tdm422p with the two fxo > ports connected to the pstn. I want my sip users to be > able to call other numbers(any number) in the pstn > through my zap fxo channels. I have a big number of > sip users so as you can imagine there will be > congestion when some of them(more than two!!) want to > call outside, that is why i want to be able to put > those outgoing calls in a queue. For example if i want > to call someone in the pstn and the fxo port is > already in use, i want to be placed in a queue and > when the channel is free my call is routed to the > aproppiated destination. As far as i have read the > queues are not for this kind of stuffs, there are > just agents or extensions that attend the calls in the > queue and nothing more. am i wrong??? > Any help will be useful. > thanks in advance!!
You could probably do this using the Local channel. You'd create a context, say outbound, to take calls from the queue and connect them to a Zap channel, with 2 extensions in that context--one for each channel. Then you add each of those extensions as members of the queue: member => Local/[EMAIL PROTECTED]/n member => Local/[EMAIL PROTECTED]/n Make sure your dialplan in outbound returns Busy if the Zap channel is busy. The tricky part would be passing the dialed number through... But if you set an inheriting channel var, it should go through the queue and into the Local channel to your outbound extension. Sorry I don't have any code for you... I haven't done it yet; I'm just putting the idea out there. Hope this helps! Good luck. - -- C. Chad Wallace, B.Sc. The Lodging Company http://www.skihills.com/ OpenPGP Public Key ID: 0x262208A0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGjWCTKeSNHCYiCKARAtdgAKCVUs6OF2KIpjbpwQFrwr2E4NatVACfWh6I 9XwYqQ7cc5gwVznybIglBGs= =miEL -----END PGP SIGNATURE----- _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users