Hello all,
I'm just discovering Sofia for first time and I'm currently using it in my
project as protocol converter.
Of course I ran into trouble, which I'm quite sure you can immediately point
me in the right direction:
Problem:
I'm building my SDP completely myself (via sprintf(mySdp, "...complete
SDP...") and use SOATAG_USER_SDP_STR( mySdp ) to put this SDP in the
nua_invite() and nua_answer() (in case of incoming invite).
The problem I now face is that only a few fields from "mySdp" are used:
seems that SOATAG_USER_SDP_STR selectively selects some fields while I want
it just takes over as it is (is a valid very simple minimalistic basic audio
negotiation). E.g. some "a=" fields are ignored and my session ID/vers in
"o=..." are just ignored as well the "c=.." with hold-call.
Also:
When I put the call "on-hold" via nua_invite(... SOATAG_HOLD("audio"),...)
and then trying to re-establish media again via nua_invite() with my own
builded SDP, it does not use this SDP at all but takes the previous old one
(from the hold).
BTW: if I use instead of SOATAG_HOLD my own SDP then it just uses the
resulting SDP (that is sent) does not put on hold at all (it misses 0.0.0.0
and 'sendonly' field).
I'm surely forget to use some TAG-lines during initialization.
Can anybody give me a clue or suggestion so that Sofia is taking my own
generated SDP?
BTW: I'm using Sofia with with single nua-stack and no profiles (and as
single SIP client)
With regards,
Eize
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel