Hi all,

I'm trying to get the control over in-dialog requets, but there is
something I'm doing wrong and I can't get to solve it.

I am creating a default call leg as in the NTA example:

b2bua->default_leg = nta_leg_tcreate(b2bua->agent,
                              process_request,
                           /* Callback function */
                              b2bua,
                           /* Call leg context */
                             NTATAG_NO_DIALOG(1),
                          /* Create call leg without dialog */
                              TAG_END());

How should I handle in-dialog requets? Is it with another default call
leg? Or should I do it inside process_request methos, by checking if
it has a to-tag? Is NTATAG_NO_DIALOG really needed?

Sorry for asking so much questions, but I'm a little onfused at this point...

Thanks in advance,


-- 
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to