[Users] uac_replace_from() not work for Linksys ATA
Howard Tang
howard615 at gmail.com
Wed Feb 7 11:31:39 CET 2007
HI All,
I have a problem with uac_replace_from() function not working for Linksys Unit.
This is what i have in the route[1],
if (search("From:.*<sip:900*")) {
uac_replace_from("anonymous","sip:anonymous at x.x.x.x");
}
I have 0900xx as internal sip account, then I have to remove the
0900xx callerid before i send the call to PSTN gateway. Because 0900xx
is not a valid number, Mobile phone providers block the call because
of that, as a result, I need to replace the callerid to anonymous.
I have tested with many other ATA and X-Lite without problem. The
problem only ocurrs when i use Linksys ata. I have monitored the SIP
message, the first request will change to anonymous then back to the
original username.
Anyone have an idea on how i can fix this ?
--
Howard Tang
ICQ : 259083
MSN : howard615 at hotmail.com
More information about the sr-users
mailing list