Re: [asterisk-users] Asterisk 11 / Missing Application SetCallerPres

2013-01-24 Thread Danny Nicholas
Simplest question first.  Does it show up in core show applications or
core show application SetCallerPres?  If not, do a make menuselect and see
if something broke in the ability to make the application.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thorsten
Göllner
Sent: Thursday, January 24, 2013 8:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Asterisk 11 / Missing Application SetCallerPres

Hi,

I am using:

Asterisk 11.2.0
libpri 1.4.12
Dahdi: 2.6.1
Sangoma E1-Card with Wanpipe-Drivers 3.5.28

I call my asterisk box via SIP and connect the call to an AGI-Script. 
Within the script I do

EXEC SetCallerPres prohib
or
EXEC SetCallerPres prohib_not_screened

But I get the following error:

ast*CLI
   == Using SIP RTP CoS mark 5
 -- Executing [100@sip:1] AGI(SIP/userid-001e, test.php) in new
stack
 -- Launched AGI Script /var/lib/asterisk/agi-bin/test.php
 -- AGI Script Executing Application: (SetCallerPres) Options: 
(prohib_not_screened)
[Jan 24 15:20:04] WARNING[15507][C-0030]: res_agi.c:2527
handle_exec: Could not find application (SetCallerPres)

Why is the application not found, please? I think it should exist:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_SetCaller
Pres

Best regards,
-Thorsten-

--
_
-- 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


--
_
-- 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


Re: [asterisk-users] Asterisk 11 / Missing Application SetCallerPres

2013-01-24 Thread Thorsten Göllner

Thanks! It is not activated. Also I found a comment there:

Support Level: deprecated, Replaced by: func_callerid

So I use this instead.

Am 24.01.2013 15:33, schrieb Danny Nicholas:

Simplest question first.  Does it show up in core show applications or
core show application SetCallerPres?  If not, do a make menuselect and see
if something broke in the ability to make the application.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Thorsten
Göllner
Sent: Thursday, January 24, 2013 8:31 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Asterisk 11 / Missing Application SetCallerPres

Hi,

I am using:

Asterisk 11.2.0
libpri 1.4.12
Dahdi: 2.6.1
Sangoma E1-Card with Wanpipe-Drivers 3.5.28

I call my asterisk box via SIP and connect the call to an AGI-Script.
Within the script I do

EXEC SetCallerPres prohib
or
EXEC SetCallerPres prohib_not_screened

But I get the following error:

ast*CLI
== Using SIP RTP CoS mark 5
  -- Executing [100@sip:1] AGI(SIP/userid-001e, test.php) in new
stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/test.php
  -- AGI Script Executing Application: (SetCallerPres) Options:
(prohib_not_screened)
[Jan 24 15:20:04] WARNING[15507][C-0030]: res_agi.c:2527
handle_exec: Could not find application (SetCallerPres)

Why is the application not found, please? I think it should exist:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_SetCaller
Pres

Best regards,
-Thorsten-


--
_
-- 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