connection problem

53 views
Skip to first unread message

arindam

unread,
Jan 28, 2010, 2:41:05 AM1/28/10
to Sipdroid Developers
hello everybody

I ported android in beagle board. Now I want to
run sipdroid but bacuase in
the board no wi-fi or 3g connection there so i cant make a call.Is
there any solution to make the call
over Ethernet as like emulator.


Thanks & regards
Arindam Ghosh

James Bottomley

unread,
Jan 28, 2010, 9:42:07 AM1/28/10
to sipdroid-...@googlegroups.com
On Wed, 2010-01-27 at 23:41 -0800, arindam wrote:
> I ported android in beagle board. Now I want to
> run sipdroid but bacuase in
> the board no wi-fi or 3g connection there so i cant make a call.Is
> there any solution to make the call
> over Ethernet as like emulator.

Could you be clearer about your actual problem? Sipdroid uses standard
network calls for the SIP connection. It doesn't care what the actual
interface is ... it can even be a tunnel device (I've run sipdroid over
vpn tunnels on the G1 using openvpn).

As long as you have some network device (whether real or tunnelled)
sipdroid should just work[1].

James

[1] There is one problem in that Sipdroid believes the IP address of the
RTP end point in the packet, so to get all packets over the tunnel you
either have to get the SIP server to publish your tunnel IP address as
external or do some clever firewall packet mangling on the phone.

Arindam Ghosh

unread,
Jan 29, 2010, 12:03:38 AM1/29/10
to sipdroid-...@googlegroups.com
Hello James

Sipdroid is only working in wifi or 3g or wlan connection. But in my beagle board there is no such connection available
except Ethernet cable connection. So I cant establish a call .It says "No suitable data network available". But for emulator
it take care of PC's Ethernet cable connection .

If I am wrong please tell me .If its possible , whats the solution .

Thanks & Regards
Arindam Ghosh




--
You received this message because you are subscribed to the Google Groups "Sipdroid Developers" group.
To post to this group, send email to sipdroid-...@googlegroups.com.
To unsubscribe from this group, send email to sipdroid-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sipdroid-developers?hl=en.


 

James Bottomley

unread,
Jan 29, 2010, 9:28:32 AM1/29/10
to sipdroid-...@googlegroups.com
On Fri, 2010-01-29 at 10:33 +0530, Arindam Ghosh wrote:
> Hello James
>
> Sipdroid is only working in wifi or 3g or wlan connection. But in my
> beagle board there is no such connection available
> except Ethernet cable connection. So I cant establish a call .It says
> "No suitable data network available". But for emulator
> it take care of PC's Ethernet cable connection .
>
> If I am wrong please tell me .If its possible , whats the solution .

OK, so it's failing the isFast and isFast2 checks in Receiver. Those
look for a wifi manager and a telephony network type respectively.
Either you need your board to supply a fake WIFI_SERIVICE for the
ethernet in the system services, or you can just hard code the check to
return true (but then it will wait forever if the ethernet is down).

James

Arindam Ghosh

unread,
Feb 1, 2010, 1:16:59 AM2/1/10
to sipdroid-...@googlegroups.com
hello James

                 Thank You for your response. I will try to give a fake WIFI_SERVICE.


Thanks & regards
Arindam Ghosh






--

Arindam Ghosh

unread,
Feb 3, 2010, 4:29:30 AM2/3/10
to sipdroid-...@googlegroups.com
Hello James

             Still no luck. I chang to return true in isFast. But still I am getting the same problem.
Can you help me?


Thanks & regards
Arindam Ghosh

James Bottomley

unread,
Feb 3, 2010, 11:59:13 AM2/3/10
to sipdroid-...@googlegroups.com
On Wed, 2010-02-03 at 14:59 +0530, Arindam Ghosh wrote:
> Still no luck. I chang to return true in isFast. But
> still I am getting the same problem.
> Can you help me?

So find the message in the resources and look for where it's triggering
from inside the source ... I thought it was just the fast and fast2
checks, but there may be something else.

James


Arindam Ghosh

unread,
Feb 5, 2010, 3:10:12 AM2/5/10
to sipdroid-...@googlegroups.com
Hello  James
             I change to return true in isFast().It shows call progress in home notification . But sipdroid's front end crashed.
One another thing normally if I type the sip address and press enter it says  "No suitable data network available".
but if I select settings menu then for 3 sec green light is  glowing .as soon as it glows I press enter and front end crashed.
but in notification area still it is showing working.


Thanks & Regards
Arindam Ghosh



James


James Bottomley

unread,
Feb 6, 2010, 1:30:27 PM2/6/10
to sipdroid-...@googlegroups.com
On Fri, 2010-02-05 at 13:40 +0530, Arindam Ghosh wrote:
> Hello James
> I change to return true in isFast().It shows call
> progress in home notification . But sipdroid's front end crashed.
> One another thing normally if I type the sip address and press enter
> it says "No suitable data network available".
> but if I select settings menu then for 3 sec green light is
> glowing .as soon as it glows I press enter and front end crashed.
> but in notification area still it is showing working.

You're way beyond what can be debugged with the type of information
provided. If you've defeated the fast & fast2 checks, sipdroid will
open a standard (well, OK, slightly modified) network socket. The crash
backtraces should tell you what in the stack is failing.

James

Reply all
Reply to author
Forward
0 new messages