Running pjsua on Windows Mobile connected with ActiveSync

EB
Emil Berg
Thu, Jul 16, 2009 3:50 PM

Hello,

Does somebody know whether pjsua_wince can work on a Windows Mobile device
connected to the internet through ActiveSync.
When I tried to make registration to the server, it failed.
I opened Wireshark on my computer to see the traffic, and I could see that a
SIP registration message was sent to the server through the computer, the
server responded,
but then the SIP traffic stopped. Maybe the computer doesn't transfer
messages back to the mobile device for some reason?

I'll be glad if someone can help me. Maybe there are some settings on the
mobile/computer that I need to change.

Thanks,
Emil.

Hello, Does somebody know whether pjsua_wince can work on a Windows Mobile device connected to the internet through ActiveSync. When I tried to make registration to the server, it failed. I opened Wireshark on my computer to see the traffic, and I could see that a SIP registration message was sent to the server through the computer, the server responded, but then the SIP traffic stopped. Maybe the computer doesn't transfer messages back to the mobile device for some reason? I'll be glad if someone can help me. Maybe there are some settings on the mobile/computer that I need to change. Thanks, Emil.
JE
johnson elangbam
Thu, Jul 16, 2009 6:38 PM

hi Emil, you should set the ip address to the emulator, it will now work
with the ActivSync, after that disconnect ActivSync after setting your ip to
the emulator, it will work.

Regards
Elangbam Johnson

2009/7/16 Emil Berg emilbergg@gmail.com

Hello,

Does somebody know whether pjsua_wince can work on a Windows Mobile device
connected to the internet through ActiveSync.
When I tried to make registration to the server, it failed.
I opened Wireshark on my computer to see the traffic, and I could see that
a SIP registration message was sent to the server through the computer, the
server responded,
but then the SIP traffic stopped. Maybe the computer doesn't transfer
messages back to the mobile device for some reason?

I'll be glad if someone can help me. Maybe there are some settings on the
mobile/computer that I need to change.

Thanks,
Emil.


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

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

--
Elangbam Johnson

hi Emil, you should set the ip address to the emulator, it will now work with the ActivSync, after that disconnect ActivSync after setting your ip to the emulator, it will work. Regards Elangbam Johnson 2009/7/16 Emil Berg <emilbergg@gmail.com> > Hello, > > Does somebody know whether pjsua_wince can work on a Windows Mobile device > connected to the internet through ActiveSync. > When I tried to make registration to the server, it failed. > I opened Wireshark on my computer to see the traffic, and I could see that > a SIP registration message was sent to the server through the computer, the > server responded, > but then the SIP traffic stopped. Maybe the computer doesn't transfer > messages back to the mobile device for some reason? > > I'll be glad if someone can help me. Maybe there are some settings on the > mobile/computer that I need to change. > > Thanks, > Emil. > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- Elangbam Johnson
MS
Mukesh Srivastav
Thu, Jul 16, 2009 6:45 PM

Dear johnson,
  wihtout ip address, he wont able to connect the internet in emulator. some of networks has a auto ip address.
 The reason could be the network issue not with the network.

 Emil: try running the same apps from the different network connected system, this should work, also check the Sip Server messages, wheter you are able to get the Register success.

the other way is check with the Network messaging application tool, which dispacth all the messages which are routed to your network.

Have a look @ my small web-page:
http://www.geocities.com/muki_champs

Regards,
Mukesh Kumar,

 


From: johnson elangbam elangbamjohnson@gmail.com
To: pjsip list pjsip@lists.pjsip.org
Sent: Friday, July 17, 2009 12:08:51 AM
Subject: Re: [pjsip] Running pjsua on Windows Mobile connected with ActiveSync

hi Emil, you should set the ip address to the emulator, it will now work with the ActivSync, after that disconnect ActivSync after setting your ip to the emulator, it will work.

Regards
Elangbam Johnson

2009/7/16 Emil Berg emilbergg@gmail.com

Hello,

Does somebody know whether pjsua_wince can work on a Windows Mobile device connected to the internet through ActiveSync.
When I tried to make registration to the server, it failed.
I opened Wireshark on my computer to see the traffic, and I could see that a SIP registration message was sent to the server through the computer, the server responded,
but then the SIP traffic stopped. Maybe the computer doesn't transfer messages back to the mobile device for some reason?

I'll be glad if someone can help me. Maybe there are some settings on the mobile/computer that I need to change.

Thanks,
Emil.


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

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

--
Elangbam Johnson

Dear johnson,   wihtout ip address, he wont able to connect the internet in emulator. some of networks has a auto ip address.  The reason could be the network issue not with the network.  Emil: try running the same apps from the different network connected system, this should work, also check the Sip Server messages, wheter you are able to get the Register success. the other way is check with the Network messaging application tool, which dispacth all the messages which are routed to your network. Have a look @ my small web-page: http://www.geocities.com/muki_champs Regards, Mukesh Kumar,   ________________________________ From: johnson elangbam <elangbamjohnson@gmail.com> To: pjsip list <pjsip@lists.pjsip.org> Sent: Friday, July 17, 2009 12:08:51 AM Subject: Re: [pjsip] Running pjsua on Windows Mobile connected with ActiveSync hi Emil, you should set the ip address to the emulator, it will now work with the ActivSync, after that disconnect ActivSync after setting your ip to the emulator, it will work. Regards Elangbam Johnson 2009/7/16 Emil Berg <emilbergg@gmail.com> Hello, > >Does somebody know whether pjsua_wince can work on a Windows Mobile device connected to the internet through ActiveSync. >When I tried to make registration to the server, it failed. >I opened Wireshark on my computer to see the traffic, and I could see that a SIP registration message was sent to the server through the computer, the server responded, >but then the SIP traffic stopped. Maybe the computer doesn't transfer messages back to the mobile device for some reason? > >I'll be glad if someone can help me. Maybe there are some settings on the mobile/computer that I need to change. > >Thanks, >Emil. > >_______________________________________________ >Visit our blog: http://blog.pjsip.org > >pjsip mailing list >pjsip@lists.pjsip.org >http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- Elangbam Johnson
TU
Tine Uršič
Fri, Jul 17, 2009 6:29 AM

Hi Emil.

Had a similar problem. As far as I know ActiveSync does not support UDP
packets, so it was impossible to debug directly on the device. So I used
wifi connection. The next problem was that pjsip defaulted with the
ActiveSync IP, so I added the 169..:* filter in the code. Now it works
just fine.
If you use emulator then you have to setup the virtual networking.
Instructions are here:
http://msdn.microsoft.com/en-us/netframework/cc952340.aspx

Regards,
Tine

Emil Berg wrote:

Hello,

Does somebody know whether pjsua_wince can work on a Windows Mobile
device connected to the internet through ActiveSync.
When I tried to make registration to the server, it failed.
I opened Wireshark on my computer to see the traffic, and I could see
that a SIP registration message was sent to the server through the
computer, the server responded,
but then the SIP traffic stopped. Maybe the computer doesn't transfer
messages back to the mobile device for some reason?

I'll be glad if someone can help me. Maybe there are some settings on
the mobile/computer that I need to change.

Thanks,
Emil.

Hi Emil. Had a similar problem. As far as I know ActiveSync does not support UDP packets, so it was impossible to debug directly on the device. So I used wifi connection. The next problem was that pjsip defaulted with the ActiveSync IP, so I added the 169.*.*:* filter in the code. Now it works just fine. If you use emulator then you have to setup the virtual networking. Instructions are here: http://msdn.microsoft.com/en-us/netframework/cc952340.aspx Regards, Tine Emil Berg wrote: > Hello, > > Does somebody know whether pjsua_wince can work on a Windows Mobile > device connected to the internet through ActiveSync. > When I tried to make registration to the server, it failed. > I opened Wireshark on my computer to see the traffic, and I could see > that a SIP registration message was sent to the server through the > computer, the server responded, > but then the SIP traffic stopped. Maybe the computer doesn't transfer > messages back to the mobile device for some reason? > > I'll be glad if someone can help me. Maybe there are some settings on > the mobile/computer that I need to change. > > Thanks, > Emil.
EB
Emil Berg
Sun, Jul 19, 2009 9:40 AM

Hi,

Thanks for helping, but now I'm a little bit confused.
Did someone succeeded connecting from the device to the SIP server (through
the ActiveSync connection)?

I tried to do it from the emulator and it didn't work even though I could
access regular websites.
I've also succeeded accessing websites when the device is connected to the
computer through device manager center (I have Vista), but I couldn't
connect to the SIP server.

Also TCP doesn't work. Not only UDP. From looking at wireshark, it seems
that packets that come from the server to the PC, are not transferred to
the device
. I think that this the point where I should concentrate.

I'll be glad for more advices.

Thank you,
Emil.

On Fri, Jul 17, 2009 at 9:29 AM, Tine Uršič tine@cde.si wrote:

Hi Emil.

Had a similar problem. As far as I know ActiveSync does not support UDP
packets, so it was impossible to debug directly on the device. So I used
wifi connection. The next problem was that pjsip defaulted with the
ActiveSync IP, so I added the 169..:* filter in the code. Now it works
just fine.
If you use emulator then you have to setup the virtual networking.
Instructions are here:
http://msdn.microsoft.com/en-us/netframework/cc952340.aspx

Regards,
Tine

Emil Berg wrote:

Hello,

Does somebody know whether pjsua_wince can work on a Windows Mobile device
connected to the internet through ActiveSync.
When I tried to make registration to the server, it failed.
I opened Wireshark on my computer to see the traffic, and I could see that
a SIP registration message was sent to the server through the computer, the
server responded,
but then the SIP traffic stopped. Maybe the computer doesn't transfer
messages back to the mobile device for some reason?

I'll be glad if someone can help me. Maybe there are some settings on the
mobile/computer that I need to change.

Thanks,
Emil.

Hi, Thanks for helping, but now I'm a little bit confused. Did someone succeeded connecting from the device to the SIP server (through the ActiveSync connection)? I tried to do it from the emulator and it didn't work even though I could access regular websites. I've also succeeded accessing websites when the device is connected to the computer through device manager center (I have Vista), but I couldn't connect to the SIP server. Also TCP doesn't work. Not only UDP. From looking at wireshark, it seems that packets that come from the server to the PC, are *not transferred to the device*. I think that this the point where I should concentrate. I'll be glad for more advices. Thank you, Emil. On Fri, Jul 17, 2009 at 9:29 AM, Tine Uršič <tine@cde.si> wrote: > Hi Emil. > > Had a similar problem. As far as I know ActiveSync does not support UDP > packets, so it was impossible to debug directly on the device. So I used > wifi connection. The next problem was that pjsip defaulted with the > ActiveSync IP, so I added the 169.*.*:* filter in the code. Now it works > just fine. > If you use emulator then you have to setup the virtual networking. > Instructions are here: > http://msdn.microsoft.com/en-us/netframework/cc952340.aspx > > Regards, > Tine > > > Emil Berg wrote: > >> Hello, >> >> Does somebody know whether pjsua_wince can work on a Windows Mobile device >> connected to the internet through ActiveSync. >> When I tried to make registration to the server, it failed. >> I opened Wireshark on my computer to see the traffic, and I could see that >> a SIP registration message was sent to the server through the computer, the >> server responded, >> but then the SIP traffic stopped. Maybe the computer doesn't transfer >> messages back to the mobile device for some reason? >> >> I'll be glad if someone can help me. Maybe there are some settings on the >> mobile/computer that I need to change. >> >> Thanks, >> Emil. >> > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
TU
Tine Uršič
Mon, Jul 20, 2009 7:10 AM

As stated, for the emulator you need to setup virtual network drivers (Virtual PC 2007). Check the video on the URL I sent, it works for me.

For mobile device itself, I'm not sure what the problem is. TCP should work with ActiveSync "out of the box". Maybe you have some option disabled in AS itself. Test it with web browser on the mobile device - if it works, TCP is OK (UDP won't work in either case).

Check the networking (assigned IPs & such) on the device. You can use this tool: http://www.cam.com/vxutil_pers.html.

Regards,
Tine

Emil Berg wrote: > Hi,

Thanks for helping, but now I'm a little bit confused.
Did someone succeeded connecting from the device to the SIP server (through the ActiveSync connection)?

I tried to do it from the emulator and it didn't work even though I could access regular websites.
I've also succeeded accessing websites when the device is connected to the computer through device manager center (I have Vista), but I couldn't connect to the SIP server.

Also TCP doesn't work. Not only UDP. From looking at wireshark, it seems that packets that come from the server to the PC, are not transferred to the device. I think that this the point where I should concentrate.

I'll be glad for more advices.

Thank you,
Emil.

On Fri, Jul 17, 2009 at 9:29 AM, Tine Uršič <tine@cde.si>wrote:

Hi Emil.

Had a similar problem. As far as I know ActiveSync does not support UDP packets, so it was impossible to debug directly on the device. So I used wifi connection. The next problem was that pjsip defaulted with the ActiveSync IP, so I added the 169.*.*:* filter in the code. Now it works just fine.
If you use emulator then you have to setup the virtual networking. Instructions are here: http://msdn.microsoft.com/en-us/netframework/cc952340.aspx

Regards,
Tine

Emil Berg wrote:

Hello,

Does somebody know whether pjsua_wince can work on a Windows Mobile device connected to the internet through ActiveSync.
When I tried to make registration to the server, it failed.
I opened Wireshark on my computer to see the traffic, and I could see that a SIP registration message was sent to the server through the computer, the server responded,
but then the SIP traffic stopped. Maybe the computer doesn't transfer messages back to the mobile device for some reason?

I'll be glad if someone can help me. Maybe there are some settings on the mobile/computer that I need to change.

Thanks,
Emil.


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

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

<pre class="moz-signature" cols="72">-- 
Tine Uršič
Razvojni inženir
 
CDE nove tehnologije d.o.o.
Tehnološki park 24
1000 Ljubljana, Slovenija
 
GSM: +386 0 30 600 619
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:tine@cde.si">tine@cde.si</a>
<a class="moz-txt-link-abbreviated" href="http://www.cde.si">www.cde.si</a>