On Tue, Jul 22, 2008 at 10:34 PM, Damien Herraud <d.herraud at gmail.com> wrote: > Hi, > > When I make a call I would like to know the callee's IP address, > especially I'd like to get it in* call_on_media_update() *from simpleua.c. > I guess I can get it from pjsip_inv_session but I can't find it ! > > Get the dialog from the inv_session, then extract the peer's Contact URI from dlg->remote.contact. Cheers Benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080723/82efc8eb/attachment.html