Hello,
i get some problem with the declaration of the nat callbackfunction.
i've done this example

int process_nta_request(nta_agent_magic_t *context, 
                        nta_agent_t *agent,
                        nta_incoming_t *irq,
                        sip_t *sip)
{
    ...
 return ...;
}

when i'm calling the same function in:

int main(..., ...)
{
default_leg = nta_leg_tcreate(reg_agent, process_nta_request, app, 
NTATAG_NO_DIALOG(1), TAG_END());
...

return 0;
}

i get this error: "conversion of int process_nta_request in nta_request_f not 
possible"

 
can someone help me, what i'doing wrong?
Regards
Gilles


      
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to