some of the SIP providers allow you to place custom caller ID in the PAI header as opposed to the from field of the invite.-Christopher
From: Michael Keuter <li...@mksolutions.info> To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net> Sent: Friday, June 12, 2015 6:30 AM Subject: Re: [Astlinux-users] Asterisk 1.8.x and CALLERID Am 12.06.2015 um 11:36 schrieb Lonnie Abelbeck <li...@lonnie.abelbeck.com>: > On Jun 11, 2015, at 10:14 PM, Matt Riddell <li...@venturevoip.com> wrote: > >>> same => n,Dial(${IPHONE_away},25,okt) ; IPHONE_away = MYSIPPROVIDER/mobile >>> number >>> >>> This doesn’t seem to work anymore. I’ve tried to prepend >>> Set(CALLERID(num)=7778889999) for testing, but this is not being set. >> >> Just as a test do use CallerID(all) and set both the name and the number to >> the number. >> >> I recently had a problem via opensips with this and that was the solution >> (however stupid it seemed). >> >> -- >> Cheers, >> >> Matt Riddell > > Give Matt's idea a try, if that does not work before the Set(CALLERID(num)... > try adding: Set(CALLERID(num-pres)=allowed) > > Also, the policy of your SIP provider may have changed and may only allow > setting the outbound CALLERID(num) to a number you control with them. > > Lonnie Correct for some providers I need to send my "original SIP number" (or customer number) as CALLERID(name) for kind of authentication. Additionally you might need to play with the following sip.conf settings for some CallerID related functions (e.g. CLID with pickup): trustrpid sendrpid rpid_update Some of them can used per peer as well. Michael http://www.mksolutions.info ------------------------------------------------------------------------------ _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
------------------------------------------------------------------------------
_______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.