[Spce-user] anonymous.invalid

Andrew Pogrebennyk apogrebennyk at sipwise.com
Tue Mar 4 09:06:13 EST 2014


Martin,
Forgot to say - this is in config
/etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2
If you don't have this file just do
cp /etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.tt2
/etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2

On 03/04/2014 03:00 PM, Andrew Pogrebennyk wrote:
> search for comment "override previous settings in case of CLIR"
> a few lines below we set:
> $var(caller_uri) = "sip:anonymous at anonymous.invalid";
> feel free to change it to whatever you want..
> 
> E.g. if you have anonymous call coming from PSTN, you can hardcode the
> target domain, use $rd for Request-URI domain or $avp(s:callee_domain):
> $var(caller_uri) = "sip:anonymous@" + $avp(s:callee_domain);
> 
> If you have anonymous calls coming only from local users you can use
> $avp(s:caller_domain_netprov) for caller's domain:
> $var(caller_uri) = "sip:anonymous@" + $avp(s:caller_domain_netprov);
> 
> Andrew
> 




More information about the Spce-user mailing list