[asterisk-users] SetCallerPres

Steven Howes steve at geekinter.net
Tue Sep 2 06:42:59 CDT 2008


On 2 Sep 2008, at 10:36, Steven Howes wrote:
> asterisk-1.4.21.2
> libpri-1.4.7
> zaptel-1.4.11
>
> I might be being a muppet here (not used PRI with Asterisk before) so
> humor me.. I am using SetCallerPres on an outbound call over PRI...
> Console shows:
>
>     -- Executing [07XXXX03393 at from-sip:8] SetCallerPres("SIP/XXX.XXX.
> 209.243-08b81d68", "prohib_failed_screen") in new stack
>
> Which is what I want.. However pri debug shows:
>
>> Calling Number (len=12) [ Ext: 0  TON: National Number (2)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>>                          Presentation: Presentation permitted,
> user number passed network screening (1)  '1XXXX598' ]
>
> Which seems a bit odd to me... Just for completeness I did a
> allowed_passed_screen
>
>     -- Executing [07XXXX03393 at from-sip:8] SetCallerPres("SIP/XXX.XXX.
> 209.243-b760f2d8", "allowed_passed_screen") in new stack
>
>> Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI:
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>>                          Presentation: Presentation permitted,
> user number passed network screening (1)  '1XXXX59849' ]
>
>
> Again it doesn't appear to be listening to me.. Am I missing something
> obvious or is there actually something wrong here... Can post zap
> configs if needed..
>
> Thanks in advance.
>
> Steve

As originally suspected, i am a muppet... "usecallingpres=yes" is  
required... 



More information about the asterisk-users mailing list