2009/1/21 Krzysztof Drewicz <krzysztofdrew...@gmail.com>:
> 2009/1/21 Attila Domjan <adom...@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

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