<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 03/14/2011 05:06 PM, Steven Howes wrote:
<blockquote
 cite="mid:3AD1FBBE-2833-4BF5-BF8D-9E4773E398F5@geekinter.net"
 type="cite"><br>
  <div>
  <div>On 14 Mar 2011, at 15:58, Jonas Kellens wrote:</div>
  <blockquote type="cite">
    <div text="#000000" bgcolor="#ffffff"><font
 face="Helvetica, Arial, sans-serif">dialplan :<br>
    <br>
exten =&gt; 67121212,1,NoOp()<br>
exten =&gt; 67121212,n,Set(CALLERID(all)="32596666" &lt;32596666&gt;)<br>
exten =&gt; 67121212,n,SIPAddHeader(P-Preferred-Identity: <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="sip:32596666/;user=phone">&lt;sip:32596666\;user=phone&gt;</a>)<br>
exten =&gt; 67121212,n,SIPAddHeader(Privacy: id)<br>
exten =&gt; 67121212,n,Dial(SIP/32596666/</font><font
 face="Helvetica, Arial, sans-serif">67121212</font><font
 face="Helvetica, Arial, sans-serif">)<br>
    <br>
    <br>
CLI :<br>
    <br>
INVITE <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="sip:67121212@sip.voip.tld">sip:67121212@sip.voip.tld</a> SIP/2.0<br>
Via: SIP/2.0/UDP 192.168.1.106:5063;branch=z9hG4bK-1b5cdb51<br>
From: "VC" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="sip:voip2@sip.voip.tld">&lt;sip:voip2@sip.voip.tld&gt;</a>;tag=cb415736707fb109o2<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="sip:67121212@sip.voip.tld">&lt;sip:67121212@sip.voip.tld&gt;</a><br>
Remote-Party-ID: "VC" <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="sip:voip2@sip.voip.tld">&lt;sip:voip2@sip.voip.tld&gt;</a>;screen=yes;party=calling<br>
Call-ID: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:2a80707a-bdb7c895@192.168.1.106">2a80707a-bdb7c895@192.168.1.106</a><br>
CSeq: 101 INVITE<br>
Max-Forwards: 70<br>
Contact: "VC" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="sip:voip2@192.168.1.106:5063">&lt;sip:voip2@192.168.1.106:5063&gt;</a><br>
Expires: 240<br>
User-Agent: Linksys/SPA941-5.1.8<br>
Content-Length: 399<br>
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER<br>
Supported: replaces<br>
Content-Type: application/sdp<br>
    </font></div>
  </blockquote>
  </div>
  <br>
  <div>That's the invite from the phone, not from Asterisk... no?</div>
  <div><br>
  </div>
  <div>S</div>
</blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
Indeed !<br>
<br>
This is the correct INVITE :<br>
<br>
</font>
<font face="Helvetica, Arial, sans-serif"><small><i>INVITE <a
 class="moz-txt-link-freetext" href="sip:32473775006@80.245.47.67">sip:67121212@ip_itsp</a>
SIP/2.0<br>
Via: SIP/2.0/UDP ip_asterisk:5060;branch=z9hG4bK533e235b;rport<br>
Max-Forwards: 70<br>
From: "32596666" <a class="moz-txt-link-rfc2396E"
 href="sip:3293959600@89.31.97.186">&lt;sip:32596666@ip_asterisk&gt;</a>;tag=as2c4d672e<br>
To: <a class="moz-txt-link-rfc2396E"
 href="sip:32473775006@80.245.47.67">&lt;sip:67121212@ip_itsp&gt;</a><br>
Contact: <a class="moz-txt-link-rfc2396E"
 href="sip:3293959600@89.31.97.186">&lt;sip:32596666@ip_asterisk&gt;</a><br>
Call-ID: <a class="moz-txt-link-abbreviated"
 href="mailto:60a418e909842287111a1a403498d11b@89.31.97.186">60a418e909842287111a1a403498d11b@ip_asterisk</a><br>
CSeq: 102 INVITE<br>
User-Agent: Asterisk PBX 1.6.2.16.1<br>
Remote-Party-ID: "32596666"
<a class="moz-txt-link-rfc2396E" href="sip:3293959600@89.31.97.186">&lt;sip:32596666@ip_asterisk&gt;</a>;privacy=off;screen=no<br>
Date: Mon, 14 Mar 2011 16:25:13 GMT<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br>
Supported: replaces, timer<br>
Privacy: id<br>
Content-Type: application/sdp<br>
Content-Length: 266<br>
<br>
v=0<br>
o=voip 108024060 108024060 IN IP4 ip_asterisk<br>
s=Asterisk PBX 1.6.2.16.1<br>
c=IN IP4 ip_asterisk<br>
t=0 0<br>
m=audio 11574 RTP/AVP 8 3 101<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:3 GSM/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=ptime:20<br>
a=sendrecv</i></small><br>
<br>
<br>
I notice the presence of the "Privacy: id" SIP header, which is OK !<br>
<br>
I also notice the presence of a "Remote-Party-ID" SIPheader... Where
does this come from ?! Not from my dialplan...<br>
<br>
<br>
<br>
Kind regards,<br>
Jonas.</font>
<br>
</body>
</html>