You are here

Linphone desperation

7 posts / 0 new
Last post
w8erd
Linphone desperation
I am at wits bend.  I will pay good money to anyone who can tell me EXACTLY how to call from one Iphone to another
iphone, using Linphone, so I can make it work.

Bob W8ERD
nc8q
nc8q's picture
how to call from a linphone to another linphone

Hi, Bob:

I only have 1 cell phone and it is an Android.
I have linphone configured on my laptop.
The laptop's linphone is configured to register as
1071@nc8q-raspbx.local.mesh
, which in this test setup fails as I am connected to a typical home WiFi router.
The cellphone is connected to the same router. (i.e. same LAN)

I loaded linphone on my Android cell phone (Samsung J3).
Cell phone settings:
Username=Chuck
Auth userid=
Password*=
Domain=sip.linphone.org ; Likely does not matter.
Display name=Chuck
Proxy= ; I erased previous configuration setting.

Everything else was default

From laptop I dialed the cell with
sip:192.168.2.138
and the cell phone rang.

From the cellphone I dialed the laptop with
sip:192.168.2.134
and the laptop's linphone rang.

Hopefully, there is no significant difference in configuration of Linphone between iOS, Android, Gnu/Linux, and Windows.

Regards, Chuck

w8erd
Desperate
Thanks Chuck!
When I try to repeat your experiment, this happens:

Call from laptop to linphone cell phone:
sip:cell1@192.168.1.244
The cellphone rings, but it is not possible to answer the call, and it gives up.

Call from cell phone to laptop:
sip:w8erd@192.168.1.25
No response from laptop.
Cellphone says "Call failed".

If I call with just sip (IP address) nothng happens.

Bob W8ERD
nc8q
nc8q's picture
sip:ip-address .vs. sip:name@ip-address

Hi, Bob:

 There is a syntax difference between my example and yours.

 Linphone is a SIP application, not a SIP server.

 I dialed
sip:ip-address. You dialed
sip:name@ip-address.

 I assumed that you wanted a direct cellphone to cellphone call without using a 'sip server'.

 With your syntax, it would be assumed that 'cell1' was a registered account at sip server 192.168.1.244 and
'w8erd' was a registered account at sip server 192.168.1.25 and
sip server 192.168.1.244 was trunked to sip server 192.168.1.25 via IAX2 or other configuration.

 Please correct my misunderstanding.

Chuck

 

w8erd
Desperation
Thanks Chuck!

No servers.   Cell1 is the ios name for the cell phone. W8ERD is the Windows 7 name for the laptop.  
Yes I do want a cell to cell call.

I have seen previously that the syntax sip:(name)(IPaddress) works better than sip:(ipaddress). Don't
know why, but I have experienced that too.  

Using the (name) syntax I an able to call from the laptop to the cell phone, but cannot answer the call.
Calling the other way nothing happens.

Without the (name) nothing works.

But then MIRACLE OF MIRACLES, I happened to try it with a different iphone 4 and it worked!!!!!
After MUCH headscratching and experimentation I discovered that of my 4 iphone 4 cell phones, 2 are iphone 4 and
2 are iphone 4s. Just by accident I was using them interchangeably and getting all these strange results.
It turns out that the Iphone 4 will not run the later ios and later version of Linphone, but the Iphone 4s does both.

YES!!!!!!   I have struggled with this for LONG time  Who would have thought?

The 4 cell phones will be housed in a small suitcase with other mesh equipment to make a portable station, where I can hand the
cell phones out to local official users to make calls across the mesh. It also has 4 corded telephones on long cables, and a VHF/UHF radio, all
networked together.  When I get it finished, I will describe it here.

Thanks SO much for helping me stumble on the solution to my biggest problem.

I have ordered 2 Iphone 4s.

Bob W8ERD
nc8q
nc8q's picture
Who is on first. What is on second.

I may not need to know, but after reading your reply, I am unsure if
sip:ip-address worked or sip:name@ip-address worked.

Also, I am unsure which cellphone worked.
The 'iPhone 4' or the 'iPhone 4S'.
Later you mentioned "I have ordered 2 Iphone 4s."
Is that two 'iPhone 4's or two 'Iphone 4S's?

Another item bothers me. We talked about direct IP dialing
between cell phones on the same 192.168.x.y WiFi network.
192.168.x.y addresses will not transport outside their own network.
How are you going to get 10.x.y.z addresses for the cellphones so that
they can call across the mesh? 'Mikrotik uAP's or 'GL-iNet' devices?

Looking ahead, it seems a (?RaspberryPi?) PBX could, although itself somewhat complex,
make dialing more simple and more transportable if a node were to be replaced.

Good luck,
Chuck

w8erd
Desperate
both sip:address and sip:name@address work.
It is the 4S that works. The 4 does not. They look identical. The 4s is slightly newer.
I ordered Two Iphone4s.  I use iphone 4s in general because they are inexpensive.
I have two bullets connected together thru an ethernet switch. One is a wifi bullet and the
other is a mesh bullet. The mesh bullet assigns 10. addresses to all the cell phones and corded phones.
A separate cell phone connects to a Signalink adapter, which connects to a vhf/uhf transceiver. 
So in principle anyone anywhere on the local or connected mesh could connect to any of the cell phones, corded phones, or radio.
This is still a work in progress.

I am as yet unable to create a dialing directory on the iphones.    Anybody have any hints?

Thanks again for all the help Chuck!

Bob W8ERD

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer