Hi,

this seems to be a bug in chan_sip.c (asterisk-1.0.3).

Whenever a column "restrictcid" is defined, the
variable restrictcid was set to 1 in chan_sip.

Now I changed line 1067 to

u->restrictcid = *(rowval[x])-'0';

Now restrictcid really reads the value from the database.
Thus setting this value in sipfriends to 0 lets this var
to 0

=> callerid is send to the remote sip end.


Roger.

_______________________________________________
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