Rhino CallerID patch

If you're having problems about CallerID being passed properly through a Rhino channel bank, you may need to patch the callerid.c file within the Asterisk source code. This was recommended by Bryce Chidester from Rhino:

"Our fix for this issue was to simply patch the asterisk code to "move" when the CID signal was sent. We have no idea why this happens to begin with, but this simple patch seems to have resolved it. (Note this is the patch against the 1.07 code, it shouldn't be too hard to adapt it to a recent version)"

Index: callerid.c
RCS file: /usr/cvsroot/asterisk/callerid.c,v
retrieving revision 1.31
diff -u -r1.31 callerid.c
--- callerid.c 22 Apr 2005 13:11:34 -0000 1.31
+++ callerid.c 12 May 2005 22:21:07 -0000
@@ -543,7 +543,7 @@
len = callerid_genmsg(msg, sizeof(msg), number, name, flags);
if (!callwaiting) {
/* Wait a half a second */
- for (x=0;x<4000;x++)
+ for (x=0;x<7000;x++)
/* Transmit 30 0x55's (looks like a square wave) for channel seizure */
for (x=0;x<30;x++)

Update: This patch is extremely old, and as stated, was originally intended/needed for the Asterisk 1.0 series. This patch has not been necessary for time. It is left up on this page simply for archival purposes.
Created by: el_flynn, Last modification: Wed 20 of Jan, 2010 (15:37 UTC) by brycec
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+