[Freeswitch-users] Channels in the same session

Juan Pablo L. jpablolorenzetti at hotmail.com
Tue Mar 3 21:26:30 MSK 2015


Hi, i m writing a module that needs to check for certain information in a database for the caller and the destination number, for this the module is subscribing to the CS_INIT channel events, so everytime a channel is created the module callback is called and it checks the numbers, the problem is that the callback gets called twice, for the creation of the a-leg of the call and the creation of the b-leg. Is there any way to accomplish what i m trying to do ? I have already try getting testing for the flags in the channel but it did not work, i might be doing it wrong maybe ? Thanks!


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list