(http://bugs.digium.com/bug_view_page.php?bug_id=0000456)
Hi Mark et al,
Please, if you have a moment, can you answer this one:
Was it your intention that the ability to set/override a callerid by using a
parameter in iax.conf DOES NOT APPLY if the incoming call sent a NULL
callerid?
If not, then the fix is easy, remove the if (strlen) bit from:
if (strlen(iaxs[callno]->callerid)) {
if (user->hascallerid)
strncpy(iaxs[callno]->callerid, user->callerid,
sizeof(iaxs[callno]->callerid)-1);
strncpy(iaxs[callno]->ani, user->callerid, sizeof(iaxs[callno]->ani)-1);
}
If it was your intent, please say so, and we can make a note to manually
patch it our end each time we checkout as we need the callerid= bit to
always work.
Linus
_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev