I did another little patch to chan_ss7: this implement the busy
indication. In our setup, when a PSTN caller reached a off-hook ATA, it
went silent for around 30 seconds before giving a busy tone to the
caller. This fixes that.
It's just five lines, but what the netherworld...
This patch is GPL v2 and (C) Instant Solutions Ltda. of Brazil.
Juan Carlos Castro y Castro
Instant Solutions Ltda. <http://www.instant.com.br/>
Rio de Janeiro - Brazil
--- l4isup.c.orig 2007-11-27 07:18:05.000000000 -0200
+++ l4isup.c 2008-05-13 19:16:21.000000000 -0300
@@ -898,6 +899,12 @@
res = 0;
break;
+ case AST_CONTROL_BUSY:
+ chan->_softhangup |= AST_SOFTHANGUP_DEV;
+ initiate_release_circuit(pvt, AST_CAUSE_BUSY);
+ res = 0;
+ break;
+
default:
/* Not supported. */
res = - !pvt->has_inband_ind; /* If there is no indication of in-band information, tell asterisk to generate ringing indication tone */
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-ss7