-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can the Dial() command tell the difference between busy and congestion? At the moment it seems to be treating them both the same on my server. I want to route the calls out via a SIP gateway unless that is congested, in which case dial out through my POTS line (using an X100P). It seems a bit pointless to try dialling the POTS line when the SIP dial is busy instead of congested. (I expected Dial() to treat congestion like other network error conditions such as a timeout) - Steve Jabber: steve@nexusuk.org Web: http://www.nexusuk.org/ Servatis a periculum, servatis a maleficum - Whisper, Evanescence -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Public key available at http://www.nexusuk.org/pubkey.txt iD8DBQFCDKQQ5zUOsIV3bqERArs+AKCndMZ5x/mKdv36ifwKP7eI7LczOgCbB0Zn hl6fBlPDAPJ7FOKxWvG0hCo=g8j+ -----END PGP SIGNATURE-----
Hi!> Can the Dial() command tell the difference between busy and congestion? > At the moment it seems to be treating them both the same on my server.With bristuff 0.1.0 and later a patch to Dial() is included as follows: "app_dial modification (jumps to +201 if channel is unavailable)" Apart from the above you might want to look here for ${HANGUPCAUSE}: http://www.voip-info.org/tiki- index.php?page=Asterisk%20variable%20hangupcause Cheers, Philipp
Philipp von Klitzing wrote:> Hi! > > >>Can the Dial() command tell the difference between busy and congestion? >>At the moment it seems to be treating them both the same on my server.Yes, but not on analog ports.
Hi folks, very stupid question, how do I setup a Dial with multiple Zap choises? I've setup this, but maybe is wrong: ------------------------------------------------ exten => _7653.,1,SetCallerID(${CALLERID(number)}) exten => _7653.,2,Dial(Zap/g2/${EXTEN}) exten => _7653.,3,Dial(Zap/g4/${EXTEN}) exten => _7653.,101,Congestion ------------------------------------------------ what I want to do is that as soon as lines are not available on g2, all others outgoing calls must go to g4. Should be very easy, but it do not work. If the configuration is correct, then I must check the PRI. Thanks again -- .:FaberK:. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060222/e7c9eeda/attachment.htm