Caller ID Saga: Stopped by a bug.

"Daniel Swan" (daniel@my-dejanews.com)
Sun, 16 May 1999 22:08:32 -0700


The files you sent were useful:  They showed that I had been doing more or less the right things all along... Thus, I had to look deeper for the cause, so I turned to the logs:

05/16 22:33:02 yS1   CND: program "/usr/local/bin/program.cnd ttyS1 'none' '' 0 '' >/dev/console 2>&1 </dev/null" 

This told me that my proggie WAS being called... but wasn't executing.. then the obvious hit me:  Files default to non-user executable, and I forgot to change the perms.

The above log statement also tells another tale:  That caller ID isn't working right.  So I went into the log file,  and made a list of ALL AT commands send to the modem .  Using minicom, I manually entered each command, calling each time to see which one was breaking the caller ID.  Finally, after "at#CLS=0", Caller ID stopped working.

Searching dejanews, I see that others have encountered this as well, but solutions are only hinted at.

I have looked at the source code, and figured out how it COULD be fixed, with some changes to the following line:

sprintf(buffer, "%s%s", voice_modem->switch_mode_cmnd, mode);

Rambo could probably do a better job, but this is the best I can come up with.  Has anyone figured out a more elegant solution to this problem? 


A determined man with a headache,
Dan.



-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums