It was a recent post about this. Check you isup.c and change it for this:

Regards

Gustavo


static char char2digit(char localchar)
{
        switch (localchar) {
                case '0':
                        return 0;
                case '1':
                        return 1;
                case '2':
                        return 2;
                case '3':
                        return 3;
                case '4':
                        return 4;
                case '5':
                        return 5;
                case '6':
                        return 6;
                case '7':
                        return 7;
                case '8':
                        return 8;
                case '9':
                        return 9;
                case 'A':
                        return 0xa;
                case 'B':
                        return 0xb;
                case 'C':
                        return 0xc;
                case 'D':
                        return 0xd;
                case 'E':
                        return 0xe;
                case 'F':
                        return 0xf;
                case '#':
                        return 0xf;
                default:
                        return 0;
        }
}

static char digit2char(unsigned char digit)
{
        switch (digit & 0xf) {
                case 0:
                        return '0';
                case 1:
                        return '1';
                case 2:
                        return '2';
                case 3:
                        return '3';
                case 4:
                        return '4';
                case 5:
                        return '5';
                case 6:
                        return '6';
                case 7:
                        return '7';
                case 8:
                        return '8';
                case 9:
                        return '9';
                case 10:
                        return 'A';
                case 11:
                        return 'B';
                case 12:
                        return 'C';
                case 13:
                        return 'D';
                case 14:
                        return 'E';
                case 15:
                        return '#';

                default:
                        return 0;
        }
}



On Sep 21, 2011, at 9:22 AM, huseyin kalyoncu wrote:

> hello
> thank you for your reply.
> its alcatel 1000E10 so its E10 i think.
> 
> attached is a debug captured on asterisk. its directly receiving REL after 
> IAM. 
> as you can see number sent as '81001' from asterisk to alcatel.
> but it should be '81B01'. i think its not alcatel switch`s fault.   
> regards
> huseyin
> 
> On Wed, Sep 21, 2011 at 1:03 PM, Krzysztof Drewicz 
> <krzysztofdrew...@gmail.com> wrote:
> 2011/9/21 huseyin kalyoncu <hkalyo...@gmail.com>:
> > hello,
> >
> > we have an sangoma AFT104 card installed on asterisk box connected to
> > alcatel switch via ss7.
> 
> What kind of ALU switch? S12 or E10, what version?
> 
> > EXEC Dial DAHDI/g1/81B01XXXXXXXXXX
> >
> > the problem is chan_dahdi & libss7 cannot send alphanumeric extension
> 
> 
> I have no problem in SS7 w/ ABCD - even since i've chan_zap, so it's
> not something that is 'strange' to send a ABCD over ss7/isdn link.
> 
> Could you paste a ss7 mtp level trace of this? what response you got
> after an IAM ?
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
> 
> <debug.txt>--
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7

Reply via email to