You could check the dialog module that already has an event_route executed when a call ends.

/O

On 25 Jan 2017, at 15:45, Tobias <the_fx@hotmail.com> wrote:

Hi Daniel,

Thanks. Can you point me to a good example of how this is implemented in another module, perhaps I could then add it myself to acc?

/Tobias


From: Daniel-Constantin Mierla <miconda@gmail.com>
Sent: Wednesday, January 25, 2017 3:20 PM
To: Tobias; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Event when acc is written?
 
Hello,

On 25/01/2017 09:44, Tobias wrote:
Hi Daniel,

Thanks for your reply.

Disregarding the MySQL ID, would it be possible to get the callid of the call back from the acc module once a write has been made?
to my knowledge, there is no cfg event_route executed at that moment. It should not be something complex to add, but requires c coding in acc module.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
the 5th edition May 8-10, 2017 - Berlin, Germany. Website of the event and more details will be available very soon!

View Daniel-Constantin Mierla’s professional profile on LinkedIn. LinkedIn is the world's largest business network, helping professionals like Daniel-Constantin Mierla discover inside connections to recommended job candidates, industry experts, and business partners.

The latest Tweets from miconda (@miconda). Co-founder and leader of Kamailio SIP Server project (former OpenSER). C Dev. Open Source RTC advocate. SIP, VoIP, VoLTE and WebRTC consultancy at Asipto. Berlin, Germany

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users