[Asterisk-Users] X100P CallerID issue solved for my PSTN connection
Dan
dtoma at fx.ro
Wed Aug 6 10:26:54 MST 2003
Hi all,
With a great help from Richard Alexander (thanks Richard!) I have now a
functional CallerID on my X100P.
This is what I have done:
- update to the latest CVS (as today at 5:00pm GMT)
- modify the callerid.c file in the asterisk source like that.
original :
/* MDMF */
/* Go through each element and
process */
for (x=0;x< cid->pos;) {
switch(cid->rawdata[x++]) {
case 1:
/* Date */
break;
case 2: /* Number */
case 3: /*Number (for
Zebble) */
case 4: /*Number */
modified:
/* MDMF */
/* Go through each element and
process */
for (x=0;x< cid->pos;) {
switch(cid->rawdata[x++]) {
case 1:
/* Date */
break;
case 2: /* Number */
/*case 3: Number (for
Zebble) */
/*case 4: Number */
In a few words, just comment the case:3 and case:4 lines.
Now the caller ID is correctly displayed (just the caller number, not mine).
Maybe this help some others too.
Best regards,
Dan
More information about the asterisk-users
mailing list