[Freeswitch-users] is there an event for SIP MESSAGE?
Cavalera Claudio Luigi
Claudio.Cavalera at italtel.it
Thu Jan 29 02:47:51 PST 2009
freeswitch-users-bounces at lists.freeswitch.org wrote:
> Cavalera,
You can call me Claudio,
I'm embarassed by not having full control over my email client. :-\
> I spoke with MikeJ and he said that FS simply does not fire an event
> for SIP IM messages. It would probably take a fair amount of hacking
> to make this happen. I can see only two choices for you: see if you or
> someone you know is willing to modify the source code or ask the
> developers for some paid support at consulting at freeswitch.org.
>
> I'm sorry that I didn't have a better answer for you! -MC
No problem,
I will try to add it by myself for now, maybe looking at another event
as example.
For now I've found the relevant code in sofia.c
void sofia_handle_sip_r_message(...)
and the case nua_i_message
Ciao,
Claudio
Internet E. Mail Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto.
This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred.
More information about the FreeSWITCH-users
mailing list