<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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.<br>
<br>
If this is, however, a closed module and you don't wish to share
publicly the details, I think that you can contact
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> 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 :-) )<br>
<br>
<pre class="moz-signature" cols="72">--
Yossi Neiman
</pre>
On 03/04/2015 09:07 PM, Juan Pablo L. wrote:<br>
</div>
<blockquote cite="mid:DUB130-W40BCF228CE6AF25DC1336AD91F0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">
<pre>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!</pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>