<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It was a recent post about this. Check you isup.c and change it for this:<div><br></div><div>Regards</div><div><br></div><div>Gustavo</div><div><br></div><div><br></div><div><div><font class="Apple-style-span" size="1">static char char2digit(char localchar)</font></div><div><font class="Apple-style-span" size="1">{</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">        </span>switch (localchar) {</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '0':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '1':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 1;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '2':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 2;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '3':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 3;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '4':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 4;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '5':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 5;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '6':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 6;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '7':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 7;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '8':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 8;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '9':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 9;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 'A':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0xa;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 'B':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0xb;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 'C':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0xc;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 'D':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0xd;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 'E':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0xe;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 'F':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0xf;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case '#':</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0xf;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>default:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">        </span>}</font></div><div><font class="Apple-style-span" size="1">}</font></div><div><font class="Apple-style-span" size="1"><br></font></div><div><font class="Apple-style-span" size="1">static char digit2char(unsigned char digit)</font></div><div><font class="Apple-style-span" size="1">{</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">        </span>switch (digit &amp; 0xf) {</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 0:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '0';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 1:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '1';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 2:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '2';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 3:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '3';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 4:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '4';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 5:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '5';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 6:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '6';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 7:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '7';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 8:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '8';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 9:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '9';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 10:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 'A';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 11:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 'B';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 12:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 'C';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 13:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 'D';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 14:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 'E';</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>case 15:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return '#';</font></div><div><font class="Apple-style-span" size="1"><br></font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                </span>default:</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">                        </span>return 0;</font></div><div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space: pre; ">        </span>}</font></div><div><font class="Apple-style-span" size="1">}</font></div><div><font class="Apple-style-span" size="1"><br></font></div><div><br></div><div><br><div><div>On Sep 21, 2011, at 9:22 AM, huseyin kalyoncu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">hello<div>thank you for your reply.</div><div>its alcatel 1000E10 so its E10 i think.</div><div><br></div><div>attached is a debug captured on asterisk. its directly receiving REL after IAM.&nbsp;</div><div>as you can see number sent as '81001' from asterisk to alcatel.</div>

<div>but it should be '81B01'. i think its not alcatel switch`s fault. &nbsp;&nbsp;</div><div>regards</div><div>huseyin<br><br><div class="gmail_quote">On Wed, Sep 21, 2011 at 1:03 PM, Krzysztof Drewicz <span dir="ltr">&lt;<a href="mailto:krzysztofdrewicz@gmail.com">krzysztofdrewicz@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2011/9/21 huseyin kalyoncu &lt;<a href="mailto:hkalyoncu@gmail.com">hkalyoncu@gmail.com</a>&gt;:<br>
<div class="im">&gt; hello,<br>
&gt;<br>
&gt; we have an sangoma AFT104 card installed on asterisk box connected to<br>
&gt; alcatel switch via ss7.<br>
<br>
</div>What kind of ALU switch? S12 or E10, what version?<br>
<div class="im"><br>
&gt; EXEC Dial DAHDI/g1/81B01XXXXXXXXXX<br>
&gt;<br>
&gt; the problem is chan_dahdi &amp; libss7 cannot send alphanumeric extension<br>
<br>
<br>
</div>I have no problem in SS7 w/ ABCD - even since i've chan_zap, so it's<br>
not something that is 'strange' to send a ABCD over ss7/isdn link.<br>
<br>
Could you paste a ss7 mtp level trace of this? what response you got<br>
after an IAM ?<br>
<font color="#888888"><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>
 &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
</font></blockquote></div><br></div>
<span>&lt;debug.txt&gt;</span>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br><br>asterisk-ss7 mailing list<br>To UNSUBSCRIBE or update options visit:<br> &nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></blockquote></div><br></div></div></body></html>