[Spce-user] anonymous.invalid
Martin Stix
ms at pluteus.at
Tue Mar 4 09:58:23 EST 2014
Thanks!
Exactly what I was looking for!
mit freundlichen Grüßen
best regards
Martin Stix
CEO
pluteus communication solutions
ms at pluteus.at
www.pluteus.at
Dampfsägestraße 17
3300 Amstetten
Austria
tel.: +43 7472 28165 20
fax.: +43 7472 28165 22
-----Ursprüngliche Nachricht-----
Von: Andrew Pogrebennyk [mailto:apogrebennyk at sipwise.com]
Gesendet: Dienstag, 04. März 2014 15:01
An: Spce-user
Cc: Martin Stix
Betreff: Re: [Spce-user] anonymous.invalid
Martin,
On 03/04/2014 10:58 AM, Martin Stix wrote:
> Hi!
>
> Where can I define that anonymous incoming calls are not forwarded to
> clients as anonymous at anonymous.invalid
> <mailto:anonymous at anonymous.invalid>, instead as
> anonymous at sipdomain.com <mailto:anonymous at sipdomain.com>?
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