On Thu, Jul 1, 2010 at 3:26 PM, <unsero...@aol.com> wrote: > > > > > -----Original Message----- > From: Ryan Wagoner <rswago...@gmail.com> > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Sent: Thu, Jul 1, 2010 6:19 pm > Subject: Re: [asterisk-users] Update the LCD with the callee's name after > dialing > > On Thu, Jul 1, 2010 at 11:52 AM, <unsero...@aol.com> wrote: >> Thanks a lot. >> >> Applying the patch gives me a >> >> Hunk #5 failed at 9881 >> >> >> >> -----Original Message----- >> From: Ryan Wagoner <rswago...@gmail.com> >> To: Asterisk Users Mailing List - Non-Commercial Discussion >> <asterisk-users@lists.digium.com> >> Sent: Thu, Jul 1, 2010 5:37 pm >> Subject: Re: [asterisk-users] Update the LCD with the callee's name after >> dialing >> >> On Thu, Jul 1, 2010 at 11:29 AM, <unsero...@aol.com> wrote: >>> Sounds great. >>> >>> Could you please give me a hint how to install the patch? >>> Sorry for my stupid question but I'm a newbie to Asterisk. >>> >>> Thanks. >>> >>> >>> >>> -----Original Message----- >>> From: Ryan Wagoner <rswago...@gmail.com> >>> To: Asterisk Users Mailing List - Non-Commercial Discussion >>> <asterisk-users@lists.digium.com> >>> Sent: Thu, Jul 1, 2010 5:06 pm >>> Subject: Re: [asterisk-users] Update the LCD with the callee's name after >>> dialing >>> >>> On Thu, Jul 1, 2010 at 8:41 AM, Doug Lytle <supp...@drdos.info> wrote: >>>> Ryan Wagoner wrote: >>>>> >>>>> together one for 1.4 that compiles. I'll post both to the list >>>>> hopefully later today. >>>>> >>>>> >>>> >>>> Thank you! >>>> >>>> Doug >>>> >>>> -- >>>> >>> >>> The Asterisk 1.6.1.20 and 1.4.33.1 patches are almost identical. Both >>> compile but need to be tested to verify that they work. I have the >>> 1.6.2.9 version in production and plan to put the 1.6.1.20 version in >>> sometime this weekend. >>> >>> In you are just using Asterisk in the dialplan you can set the called >>> remote party id with something like below. Otherwise check out the >>> previous FreePBX 2.7 patch. >>> >>> exten => >>> >>> >>> 100,1,SIPCalledRPID(${SIPPEER(${EXTEN}:callerid_name)},${SIPPEER(${EXTEN}:callerid_num)}) >>> >>> Ryan >> >> If you installed Asterisk from source you just need to patch and >> recompile / install. >> >> cd asterisk-version >> patch -p1 < ../asterisk-verson-called- >> rpid.patch >> make install >> >> Otherwise if your using trixbox, etc you would probably want to grab >> their SRPMS, add the patch to the spec file, and rebuild them. However >> that is outside of the scope of this mailing list. >> >> Ryan > > Which version of Asterisk? The patches were made against the latest > releases. If you are running an earlier version you might need to > manually patch your install. > > Ryan > > -- > > Version 1.6.1.20 > > But it was my individual problem. Installing from scratch solved the > patching issue. > > Now the application SIPCalledRPID is active and gets executed but i still > don't get the name of the called person > > on my display. Maybe this is client dependent? I am using 3CX Softphone. Or > is somethins else missing? >
The client needs to support the Remote-Party-ID SIP header. If you want to verify the header is being added run tcpdump and analyze it with Wireshark. I know that Polycom phones have support for this. I just put a modified version of the Asterisk 1.6.1 patch into production for 25 Polycom phones, soon to be 150 phones. I changed the return -1 to return 0 so that the call continues even if they SIPCalledRPID args are invalid. Ryan -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users