<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">As far as I see the Called party Num has:<div><br></div><div>> [ 05 83 10 5b 01 0f ]</div><div><br></div><div>that means B501F. The F is the mark saying "there is no more digits". For some reason libss7 doesn't properly pass the digits in the structure.</div><div>Please test the Athila's libss7 branch. I use it with several services starting with B with no issues.<div><br></div><div><br><div><div>On Aug 18, 2011, at 8:28 PM, Luis Marcelo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Thanks Gustavo, I tried:</div><div><br></div><div>B510</div><div>b510</div><div>_bX.</div><div>-BX.</div><div><br></div><div>still no luck<br><br><div class="gmail_quote">2011/8/18 Gustavo Mársico <span dir="ltr"><<a href="mailto:gustavomarsico@gmail.com">gustavomarsico@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">There is no * / # in SS7 because the digits are hexa. If I remember correctly * is B, in your case B510.<br>
<div><div></div><div class="h5"><br>
<br>
On Aug 18, 2011, at 8:09 PM, Luis Marcelo wrote:<br>
<br>
> Hi all,<br>
> Our telco is passing us calls to *510. We crafted our dial plan as follows:<br>
><br>
> exten => *510,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
> exten => _*510,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
> exten => b510,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
> exten => _b510,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
> exten => _*5X,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
> exten => _*5XX,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
> exten => _*510X,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
> exten => _*510XX,1,Agi(<a href="agi://localhost/myAgi">agi://localhost/myAgi</a>)<br>
><br>
> None of them worked, Asterisk didn't execute the ago script<br>
><br>
> After that I enabled libss7 debug and compared two calls (the one to *510 and another to 0000 which does produce a match in another section of our dialplan)<br>
><br>
> This is the call to *510:<br>
><br>
> Len = 54 [ 92 de 33 85 cb 0b 30 a2 7f 00 01 10 20 01 0a 00 02 07 05 83 10 5b 01 0f 0a 08 84 11 95 71 10 00 40 04 03 04 7d 02 91 81 1d 03 80 90 a3 31 02 00 5a 39 02 31 c0 00 ]<br>
> FSN: 94 FIB 1<br>
> BSN: 18 BIB 1<br>
> <[0] MSU<br>
> [ 92 de 33 ]<br>
> Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
> [ 85 ]<br>
> OPC 2240 DPC 3019 SLS 10<br>
> [ cb 0b 30 a2 ]<br>
> CIC: 127<br>
> [ 7f 00 ]<br>
> Message Type: IAM<br>
> [ 01 ]<br>
> --FIXED LENGTH PARMS[4]--<br>
> Nature of Connection Indicator:<br>
> Satellites in connection: 0<br>
> Continuity Check: Check not required (0)<br>
> Outgoing half echo control device: included (1)<br>
> [ 10 ]<br>
> Forward Call Indicators:<br>
> Nat/Intl Call Ind: call to be treated as a national call (0)<br>
> End to End Method Ind: no end-to-end method(s) available (0)<br>
> Interworking Ind: no interworking encountered (0)<br>
> End to End Info Ind: no end-to-end information available (0)<br>
> ISDN User Part Ind: ISDN user part used all the way (1)<br>
> ISDN User Part Pref Ind: ISDN user part preferred all the way (0)<br>
> ISDN Access Ind: originating access ISDN (1)<br>
> SCCP Method Ind: no indication (0)<br>
> [ 20 01 ]<br>
> Calling Party's Category:<br>
> Category: Ordinary calling subscriber (10)<br>
> [ 0a ]<br>
> Transmission Medium Requirements:<br>
> Speech (0)<br>
> [ 00 ]<br>
> --VARIABLE LENGTH PARMS[1]--<br>
> Called Party Number:<br>
> Nature of address: 3<br>
> NI: 0<br>
> Numbering plan: 1<br>
> Address signals:<br>
> [ 05 83 10 5b 01 0f ]<br>
> --OPTIONAL PARMS--<br>
> Calling Party Number:<br>
> Nature of address: 4<br>
> NI: 0<br>
> Numbering plan: 1<br>
> Presentation: 0<br>
> Screening: 1<br>
> Address signals: 59170100044<br>
> [ 0a 08 84 11 95 71 10 00 40 04 ]<br>
> Access Transport:<br>
> [ 03 04 7d 02 91 81 ]<br>
> User Service Information:<br>
> [ 1d 03 80 90 a3 ]<br>
> Propagation Delay Counter:<br>
> Delay: 0ms<br>
> [ 31 02 00 5a ]<br>
> Parameter Compatibility Information:<br>
> [ 39 02 31 c0 ]<br>
><br>
><br>
> this is the call to 0000<br>
><br>
> Len = 54 [ 90 dd 33 85 cb 0b 30 32 7a 00 01 10 20 01 0a 00 02 07 05 83 10 00 00 0f 0a 08 84 11 95 71 60 24 60 09 03 04 7d 02 91 81 1d 03 80 90 a3 31 02 00 5a 39 02 31 c0 00 ]<br>
> FSN: 93 FIB 1<br>
> BSN: 16 BIB 1<br>
> <[0] MSU<br>
> [ 90 dd 33 ]<br>
> Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
> [ 85 ]<br>
> OPC 2240 DPC 3019 SLS 3<br>
> [ cb 0b 30 32 ]<br>
> CIC: 122<br>
> [ 7a 00 ]<br>
> Message Type: IAM<br>
> [ 01 ]<br>
> --FIXED LENGTH PARMS[4]--<br>
> Nature of Connection Indicator:<br>
> Satellites in connection: 0<br>
> Continuity Check: Check not required (0)<br>
> Outgoing half echo control device: included (1)<br>
> [ 10 ]<br>
> Forward Call Indicators:<br>
> Nat/Intl Call Ind: call to be treated as a national call (0)<br>
> End to End Method Ind: no end-to-end method(s) available (0)<br>
> Interworking Ind: no interworking encountered (0)<br>
> End to End Info Ind: no end-to-end information available (0)<br>
> ISDN User Part Ind: ISDN user part used all the way (1)<br>
> ISDN User Part Pref Ind: ISDN user part preferred all the way (0)<br>
> ISDN Access Ind: originating access ISDN (1)<br>
> SCCP Method Ind: no indication (0)<br>
> [ 20 01 ]<br>
> Calling Party's Category:<br>
> Category: Ordinary calling subscriber (10)<br>
> [ 0a ]<br>
> Transmission Medium Requirements:<br>
> Speech (0)<br>
> [ 00 ]<br>
> --VARIABLE LENGTH PARMS[1]--<br>
> Called Party Number:<br>
> Nature of address: 3<br>
> NI: 0<br>
> Numbering plan: 1<br>
> Address signals: 0000#<br>
> [ 05 83 10 00 00 0f ]<br>
> --OPTIONAL PARMS--<br>
> Calling Party Number:<br>
> Nature of address: 4<br>
> NI: 0<br>
> Numbering plan: 1<br>
> Presentation: 0<br>
> Screening: 1<br>
> Address signals: 59170642069<br>
> [ 0a 08 84 11 95 71 60 24 60 09 ]<br>
> Access Transport:<br>
> [ 03 04 7d 02 91 81 ]<br>
> User Service Information:<br>
> [ 1d 03 80 90 a3 ]<br>
> Propagation Delay Counter:<br>
> Delay: 0ms<br>
> [ 31 02 00 5a ]<br>
> Parameter Compatibility Information:<br>
> [ 39 02 31 c0 ]<br>
><br>
><br>
> It seems as if the debugger is not decoding the address digits in the first case (*510). I was wondering how do I go about writing an extension that matches this digits "" , or how can I confirm what digits are actually being passed to the dial plan<br>
><br>
> My box:<br>
> asterisk-1.6.0.1<br>
> dahdi-linux-2.0.0<br>
> libss7-1.0.1<br>
><br>
> thanks in advance.<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>
<font color="#888888"><br>
<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>
</font></blockquote></div><br></div>
--<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> <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>