[Users] Callerid Rewrite
Atle Samuelsen
clona at cyberhouse.no
Tue Sep 19 10:05:57 CEST 2006
Hi Zac,
Does your provider support remote-party-id? if so,
you could do something like :
if(search("From:[0-9]{10}@.*"){
append_rpid("",";privacy=full.. etc");
};
or just change append_rpid with a simple
append_hf("remote-party-id:<sip:1234567890 at your.domain.com>;...");
-Atle
* Zac Amsler <zamsler at netiqsys.net> [060919 09:59]:
> Hi all!
>
> Noob question that needs advanced help.
>
> One of my providers will reject calls if valid US callerid is not presented to them.
>
> I need to find a way to have openSER rewrite bad callerid info. ( If the user sends valid callerID I would like to preserver
> that)
> To keep it simple.. I would want to rewrite any callerid that is less than 10 digits.
> Could someone point me in the right directions?
>
> TIA!
>
> Cheers,
> --
> Zac Amsler, Network Operations
> NetIQ Systems, LLC www.netiqsys.net <http://www.netiqsys.net>
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list