[Asterisk-Dev]Asterisk code modification.

Saul Diaz saul at cripiland.com
Thu Oct 27 09:56:30 MST 2005


someshwarak wrote:e

1 Question ... Don't will be better to send the text to an agent 
application instead to the phones?

regards Saul

> Hi,
>  
> Here is my story. i am trying to add a little change in the asterisk 
> app_queue.c. I just want to send some text to the agent just before he 
> gets connected.
>  
> 1. So in function ring_entry after ast_request is called.
> 2. I am calling ast_sendtext function call passing some text to it as 
> "hello world".
>  
> my function never gets called. I have also observed that cannot call 
> any of our own function.
>  
> So here are my questions
> 1. Why my call ast_sendtext doesn't work?
> 2. Why i am unable to call my own new function.
> -I have tried by modifying channel_pvt.h by adding my new routine.
> - initialized that routine in sip_new function in chan_sip.c
> -and called the function from app_queue.c similar to all others (ex 
> : ie ast_/ourroutine.)/
> // 
> it doesnot work so kindly let me know where iam going wrong.
>  
> Does a particular application can only make som calls ? if so, where 
> exactly this linking is built.
>  
> kindly help me.
>  
> Thanks and regrds,
> Somesh
>
>------------------------------------------------------------------------
>
>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or administrator at tataelxsi.co.in
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>




More information about the asterisk-dev mailing list