<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1649" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Olli
Heiskanen<BR><B>Sent:</B> 03 January 2015 08:04<BR><B>To:</B> Asterisk Users
Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> [asterisk-users]
Asterisk removes a charachter from sip peer name<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT><BR>
<DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV>Hello all,</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV>Just wondering on a behavior I noticed while testing with realtime sip
peers with names like <A
href="mailto:111.222@mydomain.com">111.222@mydomain.com</A>. Using Kamailio as
outbound proxy, it sends Asterisk a sip message where To header value is <<A
href="mailto:sip%3A111.222@mydomain.com">sip:111.222@mydomain.com</A>> and
>From header has value "username" <<A
href="mailto:sip%3A111.333@mydomain.com">sip:111.333@mydomain.com</A>;transport=UDP>;tag=fc609171.
When Asterisk sends out the sip message, the To header is as it was but as for
>From header, Asterisk removes the "." charachter from the user part of the sip
uri, thus resulting in 111333. Also the Contact header is affected the same
way.</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV>I was wondering what might be causing this? Does Asterisk not allow dots in
the peer names? The call itself connects so it's not much of an issue but it
would be good to know about this, as of course there's a chance I've just missed
something relevant.</DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV>cheers,</DIV>
<DIV>Olli<SPAN class=890171313-05012015><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=890171313-05012015></SPAN> </DIV>
<DIV><SPAN class=890171313-05012015><FONT face=Arial color=#0000ff size=2>Sounds
a bit like </FONT> </SPAN></DIV>
<DIV><SPAN class=890171313-05012015><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=890171313-05012015><FONT face=Arial color=#0000ff size=2>From
sip.conf</FONT></SPAN></DIV>
<DIV><SPAN class=890171313-05012015><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=890171313-05012015><FONT face=Arial color=#0000ff size=2>; The
shrinkcallerid function removes '(', ' ', ')', non-trailing '.', and '-'
not<BR>; in square brackets. For example, the caller id value 555.5555
becomes 5555555<BR>; when this option is enabled. Disabling this option
results in no modification<BR>; of the caller id value, which is necessary when
the caller id represents something<BR>; that must be preserved. This
option can only be used in the [general] section.<BR>; By default this option is
on.<BR>;<BR>;shrinkcallerid=yes ; on by
default<BR></FONT></SPAN></DIV>
<DIV><SPAN class=890171313-05012015><FONT face=Arial color=#0000ff
size=2>Paddy</FONT></SPAN></DIV>
<DIV><SPAN class=890171313-05012015><FONT face=Arial color=#0000ff
size=2> </DIV></FONT></SPAN></DIV></BODY></HTML>