[Freeswitch-users] sessions and CS_INIT events

I put the Who? in Mishehu mishehu at freeswitch.org
Thu Mar 5 09:07:21 MSK 2015


Is this a module that you are planning on releasing to the FreeSWITCH 
community?  If so, you'd have to provide a lot more information about 
what you're trying to do and *maybe* somebody would see a better way to 
do what you're trying to do.  My only guess is that you're not utilizing 
or consuming the data you receive in the event to properly determine 
whether or not to do your operations, but my guess is as good as any.

If this is, however, a closed module and you don't wish to share 
publicly the details, I think that you can contact 
consulting at freeswitch.org for information.  I think last I had heard 
that there is mutual NDA in the agreement, but you would have to contact 
them directly (and don't quote me :-)  )

-- 
Yossi Neiman

On 03/04/2015 09:07 PM, Juan Pablo L. wrote:
> Hi, i m writing a module in C 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 ?
> Am i doing it the wrong way?
> I have already try getting testing for the flags in the channel but it did not work,
> testing of originator or originating does not yield anything ....
>   
> i might be doing it wrong maybe ?
>
> Thanks!
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150305/0009263c/attachment.html 


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