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@your.domain.com>;...");
-Atle
* Zac Amsler <zamsler(a)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(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users