Hi All,
My objective is to set URI with file name appended in *URLTAG_URL(pUrl) of
SOFIA STACK API nta_outgoing_tcreate.*
Below is the URI creaion procedure.

su_home_t home[1] = { SU_HOME_INIT(home) };
char buffer[200];
URI uri= m_pRequest->GetURI();
Content *pContent = uri.GetContent();
sprintf(buffer,"sip:%...@%s:%d",pContent->url.GetUser(),
pContent->url.GetHost(), pContent->url.GetPort());

the buffer value here is a...@ip:port////def/ann.wav

url_t *pUrl= url_make(home,buffer);

After creating uri using  the above mentioned steps and putiing the value in
stack api below

orq=nta_outgoing_tcreate(
   URLTAG_URL(pUrl),
);


The stack is receiving url with filename/path truncated.
i:e stack receives just a...@ip:port

Can you guide me how to append the wave file name in above scenerio.


Thanks
Vikas Bhat
**
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to