[SR-Users] Replacing Caller ID
Fred Posner
fred at palner.com
Sun Aug 18 19:42:18 CEST 2019
On 8/18/19 1:34 PM, Pete Kay wrote:
> Hi
>
> Could anyone tell me if there is a module for replacing the caller ID in
> the SIP messages?
>
> I need to replace the caller ID when the call comes in and leaves Kamailio.
>
> When the egress sends back any response, I need to revert the caller ID
> back to its normal form.
>
Depends on how caller id is used... if it's a simple use of the FROM,
then use:
https://www.kamailio.org/docs/modules/stable/modules/uac.html#uac.f.uac_replace_from
> I have a long list of numbers to be used as caller-ID, and I need to
> keep modifying them without having to restart Kamailio.
>
> Do I need to write my own modules for maintaining the list of numbers to
> be used as caller-id?
Sounds like a good use of sqlops, htable, redis, etc.
>
> I am running at 2000 CPS, so I think I need to implement some sort of
> hash table in order for the caller id to be retrieved in round roubin
> fashion very quickly.
>
> Is there any modules for this purpose or I need to write a cusom one?
>
>
>
> Pete
>
Fred Posner
fred at qxork.com
https://qxork.com
Direct/SMS: +1 (224) 334-3733
Direct/SMS: +1 (336) 439-3733
Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com
More information about the sr-users
mailing list