Hi,<br>Check your dialplan setting both side(switch and asterisk). <br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 10:49 PM, Marcelo Pacheco <span dir="ltr"><<a href="mailto:marcelo@m2j.com.br" target="_blank">marcelo@m2j.com.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That's the beauty of free software.<br>
<br>
The layout I defined suits my needs.<br>
<br>
Ok, so it can't be the default for most others.<br>
<br>
I never send/receive #/* through ISUP because a user dialed it. Those digits are handled on the subscriber exchange the user dialed it on (at most it flows through SIP from the user CPE to the switch).<br>
<br>
I need to have the ability of using #/* as routing digits (ex: 123#E164). If # becomes ST, I can't use it as a routing digit, and # is exactly the primary routing digit !!!!!!!! Right now I only use this in SIP, but I can't have ISUP dialing being less capable than SIP.<br>
<br>
Typically, A..F (except as ST) is never sent either as calling or called digits between carriers. The objective here is to be able to keep routing logic go through switches belonging to the same carrier that uses my solution (although right now its always SIP).<br>
<br>
Regards,<br>
<br>
Marcelo<div class="HOEnZb"><div class="h5"><br>
<br>
On 07/30/12 07:06, Kaloyan Kovachev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, 29 Jul 2012 18:18:48 -0300, Marcelo Pacheco <<a href="mailto:marcelo@m2j.com.br" target="_blank">marcelo@m2j.com.br</a>><br>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Those who looked up the code might have noticed my "Original code"<br>
didn't match libss7.<br>
I changed digit handling code, so inside libss7 I always use 0...9 A...F<br>
digits. #->A and *->B translation happens early coming in, and on the<br>
way back A-># and B->*. The original #/* conversion scheme in libss7<br>
made it impossible to properly use # in libss7 (due to F being ST<br>
digit). The other change was to expressed the ST digit properly as 'F'<br>
instead of '#', since '#' is now converted to 'A' instead of 'F'.<br>
<br>
</blockquote>
You are moving the * and # keys to a custom location which may not be<br>
recognized from other exchanges.<br>
The DTMF keypad is defined as 0-9, A-D, * and #, so (as i have done in<br>
<a href="https://reviewboard.asterisk.org/r/1653" target="_blank">https://reviewboard.asterisk.<u></u>org/r/1653</a>) we have:<br>
<br>
case 0xa:<br>
return 'A';<br>
case 0xb:<br>
return 'B';<br>
case 0xc:<br>
return 'C';<br>
case 0xd:<br>
return 'D';<br>
case 0xe:<br>
return '*';<br>
case 0xf:<br>
return '#';<br>
<br>
# _is_ the ST digit even if you send F to libss7, it will 0xf over the<br>
link. If you want to send A that's a different story, but it is not '#'.<br>
I have seen some exchanges that threat A (pressed on the phone's keypad)<br>
as hook-flash (for transfers) and B for some other functions (DND, call<br>
forwarding etc.) maybe that is causing the confusion with # and *, but they<br>
are not A and B.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm sending this as food for thought for MattF. Those who would like to<br>
pick up the code and use it in production should know exactly what<br>
they're doing. This is not meant as a patch for testing/production usage<br>
at all.<br>
<br>
</blockquote>
I will add to char2digit() 'f' and 'F' too (like for 0xe), but i think<br>
digit2char() should remain as is<br>
<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<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/<u></u>mailman/listinfo/asterisk-ss7</a><br>
</blockquote>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<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/<u></u>mailman/listinfo/asterisk-ss7</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>BIPIN RAGHUVANSHI<br>OPERATION HEAD<br>ASTERISK (DEVELOPMENT AND RESEARCH) <br><a href="http://WWW.EHORIZONS.IN">WWW.EHORIZONS.IN</a><br>011-32323262<br>011-46334633<br>