[asterisk-dev] LibPRI: How to add an IE to an outgoing call?

Alexandre Cavalcante Alencar alexandre.alencar at gmail.com
Sun Apr 19 14:56:22 CDT 2009


Hi Michael, good afternoon,

On Sun, Apr 19, 2009 at 8:17 AM, michael ricordeau
<michael.ricordeau at gmail.com> wrote:
> Hi Alexandre,
>
> About q931.c :
>
> I think this code below is not needed in function

I already removed this block, but forgot to update the file. I did it now...

> q931_call *q931_new_call(struct pri *pri)  :
>
>
>        /* TODO: RCI-IP - Code Start Here */
>        int myies[] = {Q931_REVERSE_CHARGE_INDIC};
>        q931_call *mycall;
>
>        mycall = q931_getcall(pri, pri->cref | 0x8000, 1);
>
>        if(send_message(pri, mycall, Q931_SETUP, myies))
>                pri_message(pri, "RCI-IP -- Making a new collect call
> for cr %d\n", pri->cref);
>
>        return(mycall);
>        /* TODO: RCI-IP - Code End Here */
>
>
> Because you have already set ies to be sent in setup_ies, and function
> send_message take care of setup_ies (iterating over this array checking
> transmit function for each ie set) .
>

I still can't get call IE set...

Here is the debug session (pri intense debug) of the call

http://201.57.179.27/ ~alexandre.alencar/pri.log

-- 
Alexandre C Alencar (Skarmeth)
http://blog.alexandrealencar.net/
http://www.alexandrealencar.net/
http://people.debian-ce.org/skarmeth/



More information about the asterisk-dev mailing list