[Asterisk-Users] Réf.: Re: [Asterisk-Users] Asterisk with UUI support ?
jean-marie.goupil at telintrans.fr
jean-marie.goupil at telintrans.fr
Mon May 3 02:59:18 MST 2004
right, so far, here is what I've done:
I succeed in take in a new variable the UUS1 field sent with the connection
request for incoming calls. It was quite simple afterall... (I just had to
find where the data CMSG->Useruserdata is coming in chan_capi.c)
Now I would like to know where this field is instanciated for outgoing
calls in order to control this step? I am looking for that but I don't
really know in which file I need to search...(apparently, it is not in
chan_capi.c)
Can anyone help me?
>Hi Again,
>
>jean-marie.goupil at telintrans.fr wrote:
>
>>Can you put this patch on line? (I don't think it's too big...)
>>
>>
>Sorry, i simply don't have a patch, IIRC all i did was inserting
>something like
>
>693a694
> CONNECT_REQ_USERUSERDATA(&CMSG) = "testing";
>
>When i tested this a few month ago, it resulted in something like
>"<40>esting" in the message, but now i can't even get this to work ;-(.
>As i said, my C knowledge is very limited, it's more like cut&past :-)
>
>>In my mind, the main objective is to create a special field and force
>>its value in chan_capi.c and check wether it goes through asterisk or
>>not... What do you think of that?
>>
>>
>Well, i guess the easyest way would be a (new) variable inside >sterisk,
ie
>${UUS1}, on an incoming call it would contain the message, and on an
>outgoing call it could be set to the message we would like to send.
>
>Sorry i can't be of more help, but if you really want this feature, i
>suggest you
>talk to Klaus-Peter Junghanns <kpj at junghanns.net>, i think this would be
>only a few lines of code.
>
>Regards,
>
>Christoph
More information about the asterisk-users
mailing list