[pjsip] PJSIP & LAN

Ayman Farouk aymanfm at gmail.com
Mon May 5 11:23:36 EDT 2008


Well, I have disabled the STUN and tried to connect.. I see nothing on my
local proxy server! and the registration times out..

My settings were:

#define SIP_DST_URI "sip:192.168.0.7:5061"
//
// Account
//
#define HAS_SIP_ACCOUNT 1
#define SIP_DOMAIN "192.168.1.6X"
#define SIP_REALM "*"
#define SIP_USER "muser"
#define SIP_PASSWD "pwd"
//
// Outbound proxy for all accounts
//
#define SIP_PROXY "sip:192.168.1.1XX;lr"//NULL
//#define SIP_PROXY "sip:192.168.0.2;lr"

//
// Configure nameserver if DNS SRV is to be used with both SIP
// or STUN (for STUN see other settings below)
//
#define NAMESERVER NULL
#define NAMESERVER NULL
//
// STUN server
#if 0
 // Use this to have the STUN server resolved normally
#   define STUN_DOMAIN NULL
#   define STUN_SERVER "stun.fwdnet.net"
#elif 0
 // Use this to have the STUN server resolved with DNS SRV
#   define STUN_DOMAIN "iptel.org"
#   define STUN_SERVER NULL
#else
 // Use this to disable STUN
#   define STUN_DOMAIN NULL
#   define STUN_SERVER NULL
#endif
//
// Use ICE?
//
#define USE_ICE  1

Thanks in advance.

On Sun, May 4, 2008 at 7:59 PM, Ayman Farouk <aymanfm at gmail.com> wrote:
> Dear All,
> I am really impressed by the amazing support you're giving. I am pretty
new
> to the whole thing! I want to know how would I configure my application if
I
> want to use " Local IP Addresses ONLY" -  cause from what I have seen
pjsip
> tends to use the global IP addresses? In other words, my configuration is
> just a registrar/proxy sip server and clients in a local area network..
no
> STUN nor DNS. What's the best way to configure such a thing?
>

I think just don't use STUN (and this is the default setting), and
that will be all?

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080505/b3caa940/attachment.html>


More information about the pjsip mailing list