Fwd: One way voice in Windows Mobile 5 (Pocket PC).

TB
Tzury Bar Yochay
Wed, Jan 30, 2008 7:12 AM

if you define HAS_SIP_ACCOUNT 1
then I thing SIP_PROXY should not be NULL but "sip:10.152.122.208;lr"  (in
your case )

On Jan 30, 2008 8:19 AM, Vishesh Sharma Vishesh_Sharma@infosys.com wrote:

Hello Tzury,

I am trying the same thing. Can you help me out to get things working at
my end?

The issue is that I see that the SIP REGISTER request is failing (SIP
request timeout, 408). I have a SIP server (not Asterisk) installed on
another PC in my network and am using the WM5.0 emulator in VS2005.

Here are the params I use:

//

// Basic config.

//

#define SIP_PORT  5060

//

// Destination URI (to make call, or to subscribe presence)

//

#define SIP_DST_URI    "sip:user2@10.152.122.208"

//

// Account

//

#define HAS_SIP_ACCOUNT 1    // 0 to disable registration

#define SIP_DOMAIN      "10.152.122.208"

#define SIP_REALM      "*"

#define SIP_USER        "user"

#define SIP_PASSWD      "secret"

//

// Outbound proxy for all accounts

//

#define SIP_PROXY      NULL

//#define SIP_PROXY    "sip:10.152.122.208;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

Thanks,

Vishesh

From: pjsip-bounces@lists.pjsip.org [mailto:
pjsip-bounces@lists.pjsip.org] *On Behalf Of *Tzury Bar Yochay
Sent: Wednesday, January 30, 2008 11:41 AM
To: pjsip@lists.pjsip.org
Subject: [pjsip] One way voice in Windows Mobile 5 (Pocket PC).

Thanks to the intensive help I got in this mailing list I finally got my
copy of pjsua_wince up and running on a mobile device (WM5).

The problem I am experiencing is as follows:
Whatever I speak in the mobile device is heard by the other side (a
soft-phone on the desktop).
However, whatever I speak to the microphone on the Desktop it is not heard
on the mobile device.

I followed the checklist on the wiki when applied and it seems like the
device is working properly in other cases (playing wav, etc.)
**************** 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

if you define HAS_SIP_ACCOUNT 1 then I thing SIP_PROXY should not be NULL but "sip:10.152.122.208;lr" (in your case ) On Jan 30, 2008 8:19 AM, Vishesh Sharma <Vishesh_Sharma@infosys.com> wrote: > Hello Tzury, > > > > I am trying the same thing. Can you help me out to get things working at > my end? > > The issue is that I see that the SIP REGISTER request is failing (SIP > request timeout, 408). I have a SIP server (not Asterisk) installed on > another PC in my network and am using the WM5.0 emulator in VS2005. > > > > Here are the params I use: > > > > > > // > > // Basic config. > > // > > #define SIP_PORT 5060 > > > > > > // > > // Destination URI (to make call, or to subscribe presence) > > // > > #define SIP_DST_URI "sip:user2@10.152.122.208" > > > > // > > // Account > > // > > #define HAS_SIP_ACCOUNT 1 // 0 to disable registration > > #define SIP_DOMAIN "10.152.122.208" > > #define SIP_REALM "*" > > #define SIP_USER "user" > > #define SIP_PASSWD "secret" > > > > // > > // Outbound proxy for all accounts > > // > > #define SIP_PROXY NULL > > //#define SIP_PROXY "sip:10.152.122.208;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 > > > > > > Thanks, > > Vishesh > ------------------------------ > > *From:* pjsip-bounces@lists.pjsip.org [mailto: > pjsip-bounces@lists.pjsip.org] *On Behalf Of *Tzury Bar Yochay > *Sent:* Wednesday, January 30, 2008 11:41 AM > *To:* pjsip@lists.pjsip.org > *Subject:* [pjsip] One way voice in Windows Mobile 5 (Pocket PC). > > > > Thanks to the intensive help I got in this mailing list I finally got my > copy of pjsua_wince up and running on a mobile device (WM5). > > The problem I am experiencing is as follows: > Whatever I speak in the mobile device is heard by the other side (a > soft-phone on the desktop). > However, whatever I speak to the microphone on the Desktop it is not heard > on the mobile device. > > I followed the checklist on the wiki when applied and it seems like the > device is working properly in other cases (playing wav, etc.) > **************** 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*** >