<div> </div>
<div>Here it is !</div>
<div>88 is the prefix i use to select the SS7 trunk when dialing.</div>
<div> </div>
<div>J.</div>
<div> </div>
<div>[general]<br>static = yes<br>writeprotect = no<br>clearglobalvars = yes</div>
<div>[globals]<br>FEATURES =<br>DIALOPTIONS =<br>RINGTIME = 20<br>FOLLOWMEOPTIONS =<br></div>
<div>[sipphones]</div>
<div>exten => _88.,1,Verbose(1,************************ DAHDI ${EXTEN:1} )<br>exten => _88.,n,Verbose(1,==> CallerId(all) : ${CALLERID(all)})<br>exten => _88.,n,Verbose(1,==> CallerId(pres) : ${CALLERID(pres)})<br>
exten => _88.,n,Set(CALLERPRES()=prohib)<br>exten => _88.,n,Verbose(1,==> CallerId(all) : ${CALLERID(all)})<br>exten => _88.,n,Verbose(1,==> CallerId(pres) : ${CALLERID(pres)})<br>exten => _88.,n,Dial(dahdi/r1/${EXTEN:2})<br>
<br></div>
<div><br> </div>
<div class="gmail_quote">On Wed, Oct 7, 2009 at 4:39 PM, Mesbahuddin Malik <span dir="ltr"><<a href="mailto:mesbah.malik@gmail.com">mesbah.malik@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi,</div>
<div>Post ur extension.conf here</div>
<div> </div>
<div>Rgds</div>
<div>Mesbah<br><br> </div>
<div>
<div>
<div></div>
<div class="h5"><span class="gmail_quote">On 10/8/09, <b class="gmail_sendername">Jean Cérien</b> <<a href="mailto:cerien.jean@gmail.com" target="_blank">cerien.jean@gmail.com</a>> wrote:</span> </div></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">
<div> </div>
<div>Hello</div>
<div> </div>
<div>I am struggling to restrict the presentation of the callerid with libss7. It is always presented, even when I set CALLERPRES()=prohib</div>
<div> </div>
<div>My setup: </div>
<div>Sip phone1 -> A* #1 -> dahdi/libss7 -> e1 -> dahdi/libss7 -> A* #2 -> Sip Phone 2</div>
<div>A* : 1.6.1.6</div>
<div>Dahdi : 2.2.0</div>
<div>libss7 1.0.2</div>
<div>OS: Centos5 x64</div>
<div> </div>
<div>I've tried all possible values for CallerPres - still it shows up at the other end.</div>
<div> </div>
<div>on the near side, with verbose, I see that the value is correctly set:</div>
<div> -- Executing [88123@sipphones:2] Verbose("SIP/2115-0823cc98", "1,==> CallerId(all) : "2115" <2115>") in new stack<br> ==> CallerId(all) : "2115" <2115><br>
-- Executing [88123@sipphones:3] Verbose("SIP/2115-0823cc98", "1,==> CallerId(pres) : allowed_not_screened") in new stack<br> ==> CallerId(pres) : allowed_not_screened<br> -- Executing [88123@sipphones:4] Set("SIP/2115-0823cc98", "CALLERPRES()=prohib") in new stack<br>
-- Executing [88123@sipphones:5] Verbose("SIP/2115-0823cc98", "1,==> CallerId(all) : "2115" <2115>") in new stack<br> ==> CallerId(all) : "2115" <2115><br> -- Executing [88123@sipphones:6] Verbose("SIP/2115-0823cc98", "1,==> CallerId(pres) : prohib") in new stack<br>
==> CallerId(pres) : prohib<br> </div>
<div>Far side SS7 debug:(this part is identical in the near side as well)</div>
<div>Calling Party Number:<br> Nature of address: 3<br> NI: 0<br> Numbering plan: 1<br> Presentation: 0<br> Screening: 1<br>
Address signals: 2115<br> [ 0a 04 03 11 12 51 ]</div>
<div> </div>
<div>Presentation & screening NEVER change when I change the pres value ! (I obviously reload the dial plan between each test)</div>
<div>chan_dahdi.conf has </div>
<div>usecallingpres=yes<br>usecallerid=yes<br> </div>
<div>Two things worth noting:</div>
<div>- Set(CALLERID(num)=012345 works</div>
<div>- the presentation blocking works with chan_ss7</div>
<div> </div>
<div> </div>
<div>Would you have an idea as to why the number can not be hidden ? </div>
<div> </div>
<div>Many thanks, </div>
<div> </div><span>
<div>J.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div></span><br></div></div>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br><br>
asterisk-ss7 mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote>
</div><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--/" target="_blank">http://www.api-digital.com--</a><br><br>asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br>