Ticket #1490 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

SetCallerPres(prohib_passed_screen) is not working (Patch)

Reported by: pnlarsson Assigned to:
Priority: minor Milestone:
Component: Asterisk Configuration Version: 2.2rc1
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

SetCallerPres?(prohib_passed_screen) is not working, attached a small two line patch to solve it.

Attachments

extension.conf.diff (0.9 kB) - added by pnlarsson on 12/03/06 14:22:09.

Change History

12/03/06 13:57:13 changed by pnlarsson

Nevermind, this is working, if you write the CID as "hidden" <123456>... Since we cant use name over here i had only put the number och hidden...

So close this please...

12/03/06 13:58:10 changed by pnlarsson

number or hidden...

12/03/06 14:22:09 changed by pnlarsson

  • attachment extension.conf.diff added.

12/03/06 14:24:23 changed by pnlarsson

Now i'm confused... It's not working in the way it's coded... I have supplied a patch that makes it work. Now you can write "hidden" <12345> and it will set the SetCallerPres?(prohib_passed_screen) as it should.

As well as using callerid(name) instead of the truncid etc. Cleaner this way.

This is a bug that needs to be sorted out...

12/03/06 16:03:32 changed by pnlarsson

In regard to setcallerpres going away, in asterisk trunk it is possible to use SET(CALLERID(pres)=prohib_passed_screen). So it might go away in 1.8...

12/10/06 05:10:32 changed by pnlarsson

  • type changed from Patches to Bugs.

12/10/06 15:20:57 changed by pnlarsson

I tested to set CID to only hidden and it works as well with this patch.

12/19/06 16:23:57 changed by pnlarsson

3365 is wrong

exten => s,n,GotoIf($["x${CALLERID(name)}"!="xhidden"]?report:hidecid)

not

exten => s,n,GotoIf($["x${CALLERID(name)}"!="hidden"]?report:hidecid)

12/26/06 22:31:28 changed by RobThomas

  • status changed from new to closed.
  • resolution set to fixed.