than in:

static FUNC_SEND(called_party_num_transmit)

parm[1] = 0x1 << 4;

replace to

parm[1] = (0x1 << 4) | (0x1 << 7);

On Wed, 2009-01-21 at 09:57 +0100, Krzysztof Drewicz wrote:
> 2009/1/21 Attila Domjan <adom...@tvnet.hu>
> >
> > hi,
> >
> > in isup.c
> > in
> > static FUNC_SEND(calling_party_num_transmit)
> >
> > before the return:
> > parm[1] |= 0x80;
> 
> 
> Thanks, but that makes me confused:
> 
>   --VARIABLE LENGTH PARMS[1]--
>                 Called Party Number:
>                         Nature of address: 3
>                         NI: 1
>                         ^^^^^^
>                         Numbering plan: 1
>                         Address signals: 999000000#
>                         [ 07 03 90 96 09 00 00 f9 ]
>                 --OPTIONAL PARMS--
>                 Calling Party Number:
>                         Nature of address: 3
>                         NI: 0
>                         Numbering plan: 1
>                         Presentation: 0
>                         Screening: 1
>                         Address signals: 04861
>                         [ 0a 05 83 11 40 68 01 ]
> 
> 
> So it sets called party, not calling party NI==1.
> 
> --
> Krzysztof Drewicz
> +48 504 17 55 77
> 
> _______________________________________________
> --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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
--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