[asterisk-ss7] NI=1 (sending number incomplete)

Krzysztof Drewicz krzysztofdrewicz at gmail.com
Wed Jan 21 03:42:10 CST 2009


2009/1/21 Krzysztof Drewicz <krzysztofdrewicz at gmail.com>:
> 2009/1/21 Attila Domjan <adomjan at tvnet.hu>:
>> than in:
>>
>> static FUNC_SEND(called_party_num_transmit)
>>
>> parm[1] = 0x1 << 4;
>>
>> replace to
>>
>> parm[1] = (0x1 << 4) | (0x1 << 7);
>
> Strange, but i see in called number, but i want to set t in my calling number.
> No mater if i put 0x1<<4 | 0x1 <<7 or compute manually correct value.

What i needed was:

static FUNC_SEND(calling_party_num_transmit)
{

add

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

as last line before return :)

Thanks,



-- 
Krzysztof Drewicz
+48 504 17 55 77



More information about the asterisk-ss7 mailing list