Stefan Sayer wrote:
I also changed the previous public_ip handling throughout sems (replacing advertisedIP() by advertisedMediaIP()), and call-id creation (use advertised_sip_ip by calling advertisedSIPIP() if set).
however, do you expect AmConfig::AdvertisedMediaIP to change while SEMS is running of why do you check for its presence every time AmConfig::advertisedMediaIP() is called? if it does not change, after configuration read, this check could be done once and then it is set.
Yes, this will be optimized once everything is working as expected. There is one thing I found today during testing with b2b_connect (sems version from trunk). The member accept_early_session is not set in this app, so obviously early media is not relayed. Now I tried to set it in b2b_connectCalleeSession::b2b_connectCalleeSession(...), but according to my network traces it looks like rtp is now relayed back to the callee (well, actually there are rtp packets from sems back to callee, but no real audio is transported). There are, however, no packets from sems back to caller until 200 is received from and ACK is is sent to callee. From that point on, audio works fine. Is there anything else I have to do to relay early media, like overwriting onEarlySessionStart(...)? Thanks, Andreas _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
