[asterisk-ss7] libss7 - callerid presentation & restriction

Jean Cérien cerien.jean at gmail.com
Wed Oct 7 14:29:51 CDT 2009


Hello

I am struggling to restrict the presentation of the callerid with libss7. It
is always presented, even when I set CALLERPRES()=prohib

My setup:
Sip phone1 -> A* #1 -> dahdi/libss7 -> e1 -> dahdi/libss7 -> A* #2 -> Sip
Phone 2
A* : 1.6.1.6
Dahdi : 2.2.0
libss7 1.0.2
OS: Centos5 x64

I've tried all possible values for CallerPres - still it shows up at the
other end.

on the near side, with verbose, I see that the value is correctly set:
    -- Executing [88123 at sipphones:2] Verbose("SIP/2115-0823cc98", "1,==>
CallerId(all) : "2115" <2115>") in new stack
 ==> CallerId(all) : "2115" <2115>
    -- Executing [88123 at sipphones:3] Verbose("SIP/2115-0823cc98", "1,==>
CallerId(pres) : allowed_not_screened") in new stack
 ==> CallerId(pres) : allowed_not_screened
    -- Executing [88123 at sipphones:4] Set("SIP/2115-0823cc98",
"CALLERPRES()=prohib") in new stack
    -- Executing [88123 at sipphones:5] Verbose("SIP/2115-0823cc98", "1,==>
CallerId(all) : "2115" <2115>") in new stack
 ==> CallerId(all) : "2115" <2115>
    -- Executing [88123 at sipphones:6] Verbose("SIP/2115-0823cc98", "1,==>
CallerId(pres) : prohib") in new stack
 ==> CallerId(pres) : prohib
Far side SS7 debug:(this part is identical in the near side as well)
Calling Party Number:
                        Nature of address: 3
                        NI: 0
                        Numbering plan: 1
                        Presentation: 0
                        Screening: 1
                        Address signals: 2115
                        [ 0a 04 03 11 12 51 ]

Presentation & screening NEVER change when I change the pres value !  (I
obviously reload the dial plan between each test)
chan_dahdi.conf has
usecallingpres=yes
usecallerid=yes
Two things worth noting:
- Set(CALLERID(num)=012345 works
- the presentation blocking works with chan_ss7


Would you have an idea as to why the number can not be hidden ?

Many thanks,

J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20091007/c8a79146/attachment.htm 


More information about the asterisk-ss7 mailing list