Here it is ! 88 is the prefix i use to select the SS7 trunk when dialing. J. [general] static = yes writeprotect = no clearglobalvars = yes [globals] FEATURES = DIALOPTIONS = RINGTIME = 20 FOLLOWMEOPTIONS = [sipphones] exten => _88.,1,Verbose(1,************************ DAHDI ${EXTEN:1} ) exten => _88.,n,Verbose(1,==> CallerId(all) : ${CALLERID(all)}) exten => _88.,n,Verbose(1,==> CallerId(pres) : ${CALLERID(pres)}) exten => _88.,n,Set(CALLERPRES()=prohib) exten => _88.,n,Verbose(1,==> CallerId(all) : ${CALLERID(all)}) exten => _88.,n,Verbose(1,==> CallerId(pres) : ${CALLERID(pres)}) exten => _88.,n,Dial(dahdi/r1/${EXTEN:2}) On Wed, Oct 7, 2009 at 4:39 PM, Mesbahuddin Malik <mesbah.malik at gmail.com>wrote: > Hi, > Post ur extension.conf here > > Rgds > Mesbah > > > On 10/8/09, Jean C?rien <cerien.jean at gmail.com> wrote: > >> >> 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. >> >> >> >> >> >> _______________________________________________ >> --Bandwidth and Colocation Provided by http://www.api-digital.com-- >> >> asterisk-ss7 mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-ss7 >> > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-ss7 mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-ss7 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20091007/c29bbb53/attachment.htm