Problem with PJSIP on Windows Mobile

H
hyd1_shikha
Thu, May 1, 2008 6:09 AM

Dear Benny,
Hi !!! this is Prasad . I am facing

problem with Windows mobile with PJSIP software.

Could you please help us in resolved the problem. I am

using 3cx sip server. I am getting the request time

out message continuously.

With the emulator it is working fine with out any

problem. However, when I run thru Mobile independently and try to

connect to the 3cx SIP server on public IP address, it doesnt work.

Please find enclosed configuration settings. Can you

give your configuration settings with working on

Windows mobile

Regards

Prasad

//

// Basic config.

//

#define SIP_PORT        5060

//

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

presence)

//

#define SIP_DST_URI    "sip:1000@192.168.1.142"

//

// Account

//

#define HAS_SIP_ACCOUNT 1      // 0 to disable registration

#define SIP_DOMAIN      "192.168.1.142"

#define SIP_REALM      "3CXPhoneSystem"

#define SIP_USER        "10001"

#define SIP_PASSWD      "10001"

//

// Outbound proxy for all accounts

//

#define SIP_PROXY      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    "62.241.163.201"

//

// STUN server

#if 1

    // Use this to have the STUN server resolved normally

define STUN_DOMAIN  NULL

define STUN_SERVER  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

Dear Benny, Hi !!! this is Prasad . I am facing problem with Windows mobile with PJSIP software. Could you please help us in resolved the problem. I am using 3cx sip server. I am getting the request time out message continuously. With the emulator it is working fine with out any problem. However, when I run thru Mobile independently and try to connect to the 3cx SIP server on public IP address, it doesnt work. Please find enclosed configuration settings. Can you give your configuration settings with working on Windows mobile Regards Prasad // // Basic config. // #define SIP_PORT 5060 // // Destination URI (to make call, or to subscribe presence) // #define SIP_DST_URI "sip:1000@192.168.1.142" // // Account // #define HAS_SIP_ACCOUNT 1 // 0 to disable registration #define SIP_DOMAIN "192.168.1.142" #define SIP_REALM "3CXPhoneSystem" #define SIP_USER "10001" #define SIP_PASSWD "10001" // // Outbound proxy for all accounts // #define SIP_PROXY 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 "62.241.163.201" // // STUN server #if 1 // Use this to have the STUN server resolved normally # define STUN_DOMAIN NULL # define STUN_SERVER 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
BP
Benny Prijono
Thu, May 1, 2008 8:49 AM

On Thu, May 1, 2008 at 7:09 AM, hyd1_shikha hyd1_shikha@sancharnet.in wrote:

Dear Benny,

Hi !!! this is Prasad . I am facing

problem with Windows mobile with PJSIP software.

Could you please help us in resolved the problem. I am

using 3cx sip server. I am getting the request time

out message continuously.

With the emulator it is working fine with out any

problem. However, when I run thru Mobile independently and try to

connect to the 3cx SIP server on public IP address, it doesnt work.

Please find enclosed configuration settings. Can you

give your configuration settings with working on

Windows mobile

Your configuration looks okay and it should work. I suspect that
enabling ICE makes the INVITE message goes larger than the MTU and the
network drops it. Try disabling it, or otherwise reduce the message
size (see how the "--use-compact-form" command line parameter is
implemented in pjsua).

Cheers
Benny

Regards

Prasad

//

// Basic config.

//

#define SIP_PORT        5060

//

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

presence)

//

#define SIP_DST_URI    "sip:1000@192.168.1.142"

//

// Account

//

#define HAS_SIP_ACCOUNT 1      // 0 to disable registration

#define SIP_DOMAIN      "192.168.1.142"

#define SIP_REALM      "3CXPhoneSystem"

#define SIP_USER        "10001"

#define SIP_PASSWD      "10001"

//

// Outbound proxy for all accounts

//

#define SIP_PROXY      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    "62.241.163.201"

//

// STUN server

#if 1

     // Use this to have the STUN server resolved normally

define STUN_DOMAIN  NULL

define STUN_SERVER  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


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

On Thu, May 1, 2008 at 7:09 AM, hyd1_shikha <hyd1_shikha@sancharnet.in> wrote: > > > Dear Benny, > > > Hi !!! this is Prasad . I am facing > > problem with Windows mobile with PJSIP software. > > Could you please help us in resolved the problem. I am > > using 3cx sip server. I am getting the request time > > out message continuously. > > > > With the emulator it is working fine with out any > > problem. However, when I run thru Mobile independently and try to > > connect to the 3cx SIP server on public IP address, it doesnt work. > > > > Please find enclosed configuration settings. Can you > > give your configuration settings with working on > > Windows mobile > Your configuration looks okay and it should work. I suspect that enabling ICE makes the INVITE message goes larger than the MTU and the network drops it. Try disabling it, or otherwise reduce the message size (see how the "--use-compact-form" command line parameter is implemented in pjsua). Cheers Benny > > > > Regards > > Prasad > > > > // > > // Basic config. > > // > > #define SIP_PORT 5060 > > > > > > // > > // Destination URI (to make call, or to subscribe > > presence) > > // > > #define SIP_DST_URI "sip:1000@192.168.1.142" > > > > // > > // Account > > // > > #define HAS_SIP_ACCOUNT 1 // 0 to disable registration > > #define SIP_DOMAIN "192.168.1.142" > > #define SIP_REALM "3CXPhoneSystem" > > #define SIP_USER "10001" > > #define SIP_PASSWD "10001" > > > > // > > // Outbound proxy for all accounts > > // > > #define SIP_PROXY 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 "62.241.163.201" > > > > // > > // STUN server > > > > #if 1 > > // Use this to have the STUN server resolved normally > > # define STUN_DOMAIN NULL > > # define STUN_SERVER 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 > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >