-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 30 January 2004 13:31, CW_ASN - Gus wrote:
>> HANGUPCAUSE is working fine here (cvs).
> How? Is written in CDR?

CDRs contain BUSY when busy and NO ANSWER on the rest.

extensions.conf:

[provider-out]
...
exten => _XX.,7,Dial(ZAP/g1/${calledid}|120|r)
exten => _XX.,8,Goto(provider-out-failed|c${HANGUPCAUSE}|1)

[provider-out-failed]
exten => c1,1,Hangup()

exten => c2,1,Busy()

exten => c3,1,Answer()
exten => c3,2,ResetCDR()
exten => c3,3,Playtones(info)
exten => c3,4,Wait(60)
exten => c3,5,Hangup()

exten => c4,1,Congestion()

- -- 
Regards,
Tais M. Hansen
ComX Networks
Tel: +45-70257474
Fax: +45-70257374
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAGlKy2TEAILET3McRAv7gAKCREpAN3kVvbEuTDAQkU9kb6IrZiQCdEXlR
3FroTgPgWQmBrqGwjwktmvc=
=yyxo
-----END PGP SIGNATURE-----

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

Reply via email to