<font color='black' size='2' face='arial'>&gt;&gt;&gt;&gt; The Asterisk 1.6.1.20 and 1.4.33.1 patches are almost identical. Both<br>


<font color="black" face="arial" size="2">
<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">
<div id="AOLMsgPart_3_8698ae03-1b57-4a52-a059-2603286f0297"><font color="black" face="arial" size="2"><font color="black" face="arial" size="2">


<div style="font-family: arial,helvetica; font-size: 10pt; color: black;">


<div id="AOLMsgPart_0_8d2f02cc-74d6-4be9-8736-b2ee2c613ddc" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><pre style="font-size: 9pt;"><tt><br>

&gt;&gt;&gt;&gt; compile but need to be tested to verify that they work. I have the<br>

<br>

<br>

&gt;&gt;&gt;&gt; 1.6.2.9 version in production and plan to put the 1.6.1.20 version in<br>

<br>

<br>

&gt;&gt;&gt;&gt; sometime this weekend.<br>

<br>

<br>

&gt;&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt;&gt; In you are just using Asterisk in the dialplan you can set the called<br>

<br>

<br>

&gt;&gt;&gt;&gt; remote party id with something like below. Otherwise check out the<br>

<br>

<br>

&gt;&gt;&gt;&gt; previous FreePBX 2.7 patch.<br>

<br>

<br>

&gt;&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt;&gt; exten =&gt;<br>

<br>

<br>

&gt;&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt;&gt; 100,1,SIPCalledRPID(${SIPPEER(${EXTEN}:callerid_name)},${SIPPEER(${EXTEN}:callerid_num)<br>

<br>

<br>

&gt; })<br>

<br>

<br>

&gt;&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt;&gt; Ryan<br>

<br>

<br>

&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt; If you installed Asterisk from source you just need to patch and<br>

<br>

<br>

&gt;&gt;&gt; recompile / install.<br>

<br>

<br>

&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt; cd asterisk-version<br>

<br>

<br>

&gt;&gt;&gt; patch -p1 &lt; ../asterisk-verson-called-<br>

<br>

<br>

&gt;&gt;&gt; rpid.patch<br>

<br>

<br>

&gt;&gt;&gt; make install<br>

<br>

<br>

&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt; Otherwise if your using trixbox, etc you would probably want to grab<br>

<br>

<br>

&gt;&gt;&gt; their SRPMS, add the patch to the spec file, and rebuild them. However<br>

<br>

<br>

&gt;&gt;&gt; that is outside of the scope of this mailing list.<br>

<br>

<br>

&gt;&gt;&gt;<br>

<br>

<br>

&gt;&gt;&gt; Ryan<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;&gt; Which version of Asterisk? The patches were made against the latest<br>

<br>

<br>

&gt;&gt; releases. If you are running an earlier version you might need to<br>

<br>

<br>

&gt;&gt; manually patch your install.<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;&gt; Ryan<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;&gt; --<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;&gt; Version 1.6.1.20<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;&gt; But it was my individual problem. Installing from scratch solved the<br>

<br>

<br>

&gt;&gt; patching issue.<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;&gt; Now the application SIPCalledRPID is active and gets executed but i still<br>

<br>

<br>

&gt;&gt; don't get the name of the called person<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;&gt; on my display. Maybe this is client dependent? I am using 3CX Softphone.<br>

<br>

<br>

&gt;&gt; Or<br>

<br>

<br>

&gt;&gt; is somethins else missing?<br>

<br>

<br>

&gt;&gt;<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; The client needs to support the Remote-Party-ID SIP header. If you<br>

<br>

<br>

&gt; want to verify the header is being added run tcpdump and analyze it<br>

<br>

<br>

&gt; with Wireshark. I know that Polycom phones have support for this. I<br>

<br>

<br>

&gt; just put a modified version of the Asterisk 1.6.1 patch into<br>

<br>

<br>

&gt; production for 25 Polycom phones, soon to be 150 phones. I changed the<br>

<br>

<br>

&gt; return -1 to return 0 so that the call continues even if they<br>

<br>

<br>

&gt; SIPCalledRPID args are invalid.<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; Ryan<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; --<br>

<br>

<br>

&gt; Just to make sure that we are talking about the same issue.<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; What I want is that when two users are registered at the same peer that<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; when user A calls user B user A gets the name of user B displayed on his<br>

<br>

<br>

&gt; client.<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; Is this what you are trying to fix with the patch?<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; Because from my understanding as an absolute newbie to SIP and Asterisk, the<br>

<br>

<br>

&gt; header<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; should already contain the let's call it "displayname" and look something<br>

<br>

<br>

&gt; like<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; INVITE sip:<a href="mailto:2000@192.168.1.10">2000@192.168.1.10</a>:5060 SIP/2.0<br>

<br>

<br>

&gt; Via: SIP/2.0/TCP<br>

<br>

<br>

&gt; 192.168.1.149:3822;branch=z9hG4bK-d8754z-9f01b74a4b708b04-1---d8754z-;rport<br>

<br>

<br>

&gt; Max-Forwards: 70<br>

<br>

<br>

&gt; Contact:<br>

<br>

<br>

&gt; &lt;sip:<a href="mailto:1000@192.168.1.149">1000@192.168.1.149</a>:3823;rinstance=8f3067c0aac0abc4;transport=TCP&gt;<br>

<br>

<br>

&gt; To: "Callee Name" &lt;sip:<a href="mailto:2000@192.168.1.10">2000@192.168.1.10</a>:5060&gt;<br>

<br>

<br>

&gt; From: "Caller Name" &lt;sip:<a href="mailto:1000@192.168.1.10">1000@192.168.1.10</a>:5060&gt;;tag=cf41cd30<br>

<br>

<br>

&gt;<br>

<br>

<br>

&gt; according to SIP rfc 3261 <a target="_blank" href="http://tools.ietf.org/html/rfc3261">http://tools.ietf.org/html/rfc3261</a><br>

<br>

<br>

&gt;<br>

<br>

<br>

<br>

<br>

<br>

Yes that is what the patch addresses. The phones will only display the<br>

<br>

<br>

name of the called extension if Remote-Party-ID or P-Asserted-Identity<br>

<br>

<br>

is set.<br>

<br>

<br>

<br>

<br>

<br>

Ryan<br>

<br>

<br>

<br>

<br>

<br>

-- <br>

<br>

<br>

But if the Remote-Party-ID is set or not can only be checked by sniffing with Wireshark or another sniffer.<br>

<br>

It can not be checked by using "sip set debug on" in Asterisk. Correct?<br>

<br>

Because there I cannot see anything added.<br>

<br>

</tt></pre>
</div>



 

</div>



</font></font>

</div>

 <!-- end of AOLMsgPart_3_8698ae03-1b57-4a52-a059-2603286f0297 -->



<div id="AOLMsgPart_4_8698ae03-1b57-4a52-a059-2603286f0297" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">

<pre style="font-size: 9pt;"><tt>-- <br>

I am sorry, my fault. It is added and I can see it in Asterisk sip debug.<br>
<br>
But comparing the Remote-Party-ID Header of a (displayed) caller and a (not displayed) callee looks a bit different.<br>
<br>
<br>
<br>
Remote-Party-ID: "Callee" &lt;sip:2000@192.168.1.10:5060&gt;;party=called;id-type=subscriber;screen=yes<br>
Remote-Party-ID: "Caller" &lt;sip:1000@192.168.1.10&gt;;privacy=off;screen=yes<br>
<br>
Could maybe this be the reason why it does not work for me?<br>
Sorry if I ask stupid questions but this feature is quite important for me.<br>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_4_8698ae03-1b57-4a52-a059-2603286f0297 -->

</div>

</font></font>