[pjsip] the way to debug wince demo app on emulator

Vishesh Sharma Vishesh_Sharma at infosys.com
Fri Feb 1 05:02:22 EST 2008


Hello Benny,

Im still the black sheep :(. Though, I was connecting in a way different to what Lakmal said (and also tried the way he suggested)
Unable to get my WinMob 5.0 UA registered with sipXpbx, AsteriskWin32 or SIPoint Presence Server.
Server on 10.152.65.67; Able to connect through other softphones but not pjsua_wince.
I get this message as well --- 15:28:54.000 sip_auth_clien Unable to set auth for tdta002E89B0: can not find credential for ad.infosys.com/Digest
ad.infosys.com is my primary DNS suffix

Does anyone have any more suggestions that may help me get this working?

Inline are my settings in pjsua_wince.cpp

Thanks,
Vishesh
//-----------------------------------------------------------------------------------------------------
#define HAS_SIP_ACCOUNT 1       // 0 to disable registration
#define SIP_DOMAIN      "10.152.65.67"
#define SIP_REALM       "10.152.65.57"
// Tried with next line as well
//#define SIP_REALM     "*"

#define SIP_USER        "2000"
#define SIP_PASSWD      "2000"

//
// Outbound proxy for all accounts
//
#define SIP_PROXY       NULL
// Tried with next line as well
//#define SIP_PROXY     "sip:10.152.65.57;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    "62.241.163.201"

//
// 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

//---------------


-----Original Message-----
From: pjsip-bounces at lists.pjsip.org [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Benny Prijono
Sent: Friday, February 01, 2008 3:08 PM
To: pjsip list
Subject: Re: [pjsip] the way to debug wince demo app on emulator

I'm glad that finally you resolved the problem. And thanks for the
tip; I've added link to this post in PJSIP FAQ about PJ_ERESOLVE
problem: http://trac.pjsip.org/repos/wiki/FAQ#wm-resolve

So does anybody else still having unresolved problem with Windows Mobile?

cheers,
 -benny

On 2/1/08, Lakmal Molligoda <mlakmal at gmail.com> wrote:
> Hi All,
>
> I have seen lot of ppl asking how to run wince demo application on pocket pc
> emulator. so i thought of giving a heads up for all of them. sorry not
> sending this before to the list ... i was busy with other work all this
> time.
>
> ill describe each step as follows.
>
> 1. first make sure that you have emulator manager 1.0/2.0 installed with
> pocket pc 2003 or wm5 pocket pc sdk/emulator images.
> 2. i assume all of you haven't installed vpc network driver. to install this
> goto following site and get the installation
>
> http://www.microsoft.com/Downloads/details.aspx?familyid=DC8332D6-565F-4A57-BE8C-1D4718D3AF65&displaylang=en
>
> 3 after you get this installed start the emulator manager and connect to
> pocket pc emulator image. then goto the file->configuration->netwok tab
>  there you would be able to select Enable NE2000 PCMCIA netowrk adapter and
> bind to option. select that and go out from configuration window.
>  then goto device OS and goto settings from start menu. then goto connection
> tab and network cards. select my network card connection to as Work. then
> select the NE2000 compatible ethernet driver. and select dhcp and enter dns
> values appropriately and save and exit from it.
>  and then go back to connection tab and select connections. in thr u need to
> goto advanced tab and need to select select networks. in thr u need to
> change all the drop down values to "My Work Network". apply everything and
> go back to desktop.
>  finally give a soft boot. when the device boots up it should have
> connection established to your network.
>
> to check if the networks ok you could browse to any site through IE.
>
> if all this goes well your wince demo app should be running ok and you would
> be able to debug application easily through emulator.
>
>
> Have Fun ;)
>
> lakmal
>
>
> _______________________________________________
> 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
>
>
>

_______________________________________________
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

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***



More information about the pjsip mailing list