Hi,
I'm using the test_proxy application and encounter a few issues.
proxy->agent = nta_agent_create(root,URL_STRING_MAKE("sip:9.0.4.11:5060"),*
message_recv*, /*call-back for recv message*/
NULL,NTATAG_UA(0),NTATAG_SERVER_RPORT(1),NTATAG_CLIENT_RPORT(1),*
NTATAG_EXTRA_100*(1),TAG_END());
It doesnt send the 100Trying upon receving the INVITE - did i miss something
here? I saw in nta.c incoming_recv reference to this paramter and according
to the code it only works for retranmitted packets - is that correct?
The message_recv call-back sould be called for each received message, but i
dont see its being called.
I have a feeling i'm missing something regarding the initialization of the
nta_agent_create.
Other call-back are called back to the application for example:
proxy->defleg =
nta_leg_tcreate(proxy->agent,*proxy_request*,proxy,NTATAG_NO_DIALOG(1),TAG_END());
int message_recv(nta_agent_magic_t *context,nta_agent_t *agent,msg_t
*msg,sip_t *sip)
{
printf("<Recv message>\n");
return 1;
}
Thanks
Adi.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel