<div> </div>
<div>Hello</div>
<div> </div>
<div>chan_dahdi and libss7 cant restrict the callerid - IMHO </div>
<div> </div>
<div>(asterisk 1.6.1.10 - dahdi 2.2.0, libss7 1.0.2, ss7 mode: ITU)</div>
<div> </div>
<div>the config file (chan_dahdi.conf) contains usecallingpres=yes - debugging the value on chan_dahdi line 14531 shows the config file is correctly read.</div>
<div> </div>
<div>however, chan_dahdi.c, line 9131 - tmp->use_callingpres = conf->chan.use_callingpres - does not retrieve the value from the config file and is awlays 0. I cant seem to find the relation between both - but hardcoding this to 1, and then setting screening indicator correctly allow the function to work.</div>
<div> </div>
<div>how do I report a bug ?</div>
<div> </div>
<div>J.</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Thu, Oct 8, 2009 at 9:20 PM, Jean Cérien <span dir="ltr"><<a href="mailto:cerien.jean@gmail.com">cerien.jean@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> </div>
<div>Hello</div>
<div> </div>
<div>Still searching on this one... I've tried to have chan_ss7 on the calling box, and lib_ss7 on the other. </div>
<div> </div>
<div>well, chan_ss7 sets correctly the presentation & screening bits. When libss7 / debug mode dumps the IAM message, on the called box, it says 'Presentation : 1, screening 3', instead of Pres:0 Screen: 1 when using lib_ss7 on the calling box.</div>
<div> </div>
<div>I've tested to switch to ansi mode, that does not affect it. It really looks like there is a bug here !</div>
<div> </div>
<div> </div>
<div>Help !</div>
<div> </div><font color="#888888">
<div>J.<br><br></div></font>
<div>
<div></div>
<div class="h5">
<div class="gmail_quote">On Thu, Oct 8, 2009 at 7:08 AM, Jean Cérien <span dir="ltr"><<a href="mailto:cerien.jean@gmail.com" target="_blank">cerien.jean@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">thanks for the help, I appreciate this, <br><br>1. the otherside is an asterisk box, linked directly by a crossover E1 - both boxes are running the same libss7 version. dumping the SS7 at the side initiating the call show no changes on the presentation/screening indicators.<br>
<br>2. no too sure what you mean - the lines simply dump the * variables<br>output of the script is: <br><span>==> CallerId(all) : "2115" <2115>
<div>
<div><br>==> CallerId(pres) : allowed_not_screened<br></div></div>==> CallerId(all) : "2115" <2115><br>==> CallerId(pres) : prohib<br></span>which tend to show that the variable change indeed is effective.<br>
<br>My gut feeling is that SS7/ITU number presentation may not work correctly.<br><font color="#888888">J.</font>
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">On Wed, Oct 7, 2009 at 5:49 PM, Mesbahuddin Malik <span dir="ltr"><<a href="mailto:mesbah.malik@gmail.com" target="_blank">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>Two Things </div>
<div> </div>
<div>1. Does your Otherside (TP -Termination Point ) accept Caller ID restriction ?</div>
<div> </div>
<div>2.At your Sipphone Context review Line 2 and 3</div>
<div>
<div></div>
<div>
<div> </div>
<div> </div>
<div>Rgds</div>
<div>Mesbah<br><br> </div>
<div><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>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<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><span>
<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" target="_blank">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><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>
<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></span></div>
<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></div></div><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></div></div></blockquote></div><br></div></div></blockquote></div><br>