<font color='black' size='2' face='arial'>>>>> 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_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>
>>>> compile but need to be tested to verify that they work. I have the<br>
>>>> 1.6.2.9 version in production and plan to put the 1.6.1.20 version in<br>
>>>> sometime this weekend.<br>
>>>><br>
>>>> In you are just using Asterisk in the dialplan you can set the called<br>
>>>> remote party id with something like below. Otherwise check out the<br>
>>>> previous FreePBX 2.7 patch.<br>
>>>><br>
>>>> exten =><br>
>>>><br>
>>>><br>
>>>><br>
>>>> 100,1,SIPCalledRPID(${SIPPEER(${EXTEN}:callerid_name)},${SIPPEER(${EXTEN}:callerid_num)<br>
> })<br>
>>>><br>
>>>> Ryan<br>
>>><br>
>>> If you installed Asterisk from source you just need to patch and<br>
>>> recompile / install.<br>
>>><br>
>>> cd asterisk-version<br>
>>> patch -p1 < ../asterisk-verson-called-<br>
>>> rpid.patch<br>
>>> make install<br>
>>><br>
>>> Otherwise if your using trixbox, etc you would probably want to grab<br>
>>> their SRPMS, add the patch to the spec file, and rebuild them. However<br>
>>> that is outside of the scope of this mailing list.<br>
>>><br>
>>> Ryan<br>
>><br>
>> Which version of Asterisk? The patches were made against the latest<br>
>> releases. If you are running an earlier version you might need to<br>
>> manually patch your install.<br>
>><br>
>> Ryan<br>
>><br>
>> --<br>
>><br>
>> Version 1.6.1.20<br>
>><br>
>> But it was my individual problem. Installing from scratch solved the<br>
>> patching issue.<br>
>><br>
>> Now the application SIPCalledRPID is active and gets executed but i still<br>
>> don't get the name of the called person<br>
>><br>
>> on my display. Maybe this is client dependent? I am using 3CX Softphone.<br>
>> Or<br>
>> is somethins else missing?<br>
>><br>
><br>
> The client needs to support the Remote-Party-ID SIP header. If you<br>
> want to verify the header is being added run tcpdump and analyze it<br>
> with Wireshark. I know that Polycom phones have support for this. I<br>
> just put a modified version of the Asterisk 1.6.1 patch into<br>
> production for 25 Polycom phones, soon to be 150 phones. I changed the<br>
> return -1 to return 0 so that the call continues even if they<br>
> SIPCalledRPID args are invalid.<br>
><br>
> Ryan<br>
><br>
> --<br>
> Just to make sure that we are talking about the same issue.<br>
><br>
> What I want is that when two users are registered at the same peer that<br>
><br>
> when user A calls user B user A gets the name of user B displayed on his<br>
> client.<br>
><br>
> Is this what you are trying to fix with the patch?<br>
><br>
> Because from my understanding as an absolute newbie to SIP and Asterisk, the<br>
> header<br>
><br>
> should already contain the let's call it "displayname" and look something<br>
> like<br>
><br>
> INVITE sip:<a href="mailto:2000@192.168.1.10">2000@192.168.1.10</a>:5060 SIP/2.0<br>
> Via: SIP/2.0/TCP<br>
> 192.168.1.149:3822;branch=z9hG4bK-d8754z-9f01b74a4b708b04-1---d8754z-;rport<br>
> Max-Forwards: 70<br>
> Contact:<br>
> <sip:<a href="mailto:1000@192.168.1.149">1000@192.168.1.149</a>:3823;rinstance=8f3067c0aac0abc4;transport=TCP><br>
> To: "Callee Name" <sip:<a href="mailto:2000@192.168.1.10">2000@192.168.1.10</a>:5060><br>
> From: "Caller Name" <sip:<a href="mailto:1000@192.168.1.10">1000@192.168.1.10</a>:5060>;tag=cf41cd30<br>
><br>
> according to SIP rfc 3261 <a href="http://tools.ietf.org/html/rfc3261" target="_blank">http://tools.ietf.org/html/rfc3261</a><br>
><br>
<br>
Yes that is what the patch addresses. The phones will only display the<br>
name of the called extension if Remote-Party-ID or P-Asserted-Identity<br>
is set.<br>
<br>
Ryan<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>
It can not be checked by using "sip set debug on" in Asterisk. Correct?<br>
Because there I cannot see anything added.<br>
</tt></pre>
</div>
<!-- end of AOLMsgPart_0_8d2f02cc-74d6-4be9-8736-b2ee2c613ddc -->
</div>
</font></font>