2010/10/12 Abhishek Bhattacharya <abhat002 at cis.fiu.edu> > Hello, > > I am quite new to using pjsip and so my queries are very basic! > I am wondering how to connect 2 machines in the same LAN using IP address > for making a pc2pc call in a server less configuration! > >From the manual, it is given to use ./pjsua sip:"ip address of sip url" > Computer A has IP: 192.168.2.100 Computer B has IP: 192.168.2.200 then, computer A can call B by just issuing "sip:192.168.2.200" > Is it possible to directly call a host with only ip-address since the > options for making a call wants the ip-addr of a remote sip url? > If it is not possible, then how to setup a sip url for receiving a call? > Yes it is possible, pjsip creates a local sip URI, in this case you can use direct sip:IP couple(see again above). > > The error is given as: > 18:24:56.267 pjsua_call.c Unable to make call: Invalid Request URI > (PJSIP_EINVALIDREQURI) [status=171042] > > Thanks, > Abhishek > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Kabil Akp?nar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101012/85953978/attachment.html>