Simple config OBi110 to Mac Softphone

<< < (3/5) > >>

drgeoff:
I hadn't forgotten about making outbound calls from the softphone.  The first sentence of my post did say "OK, the following should get incoming POTS calls ringing on your Mac and the CLI showing there too."  I hadn't got around to figuring out and testing the method for outbound calls.

For troubleshooting, some ideas and tips:

Even though you should not use a mix of the portal and the local interface to change settings it is perfectly OK to look at them using the local interface.  Indeed the Call History can only be viewed via the local interface.  The other useful tool is Call Status which gives a snapshot of the situation.  Note that this does not auto-update.  You need to click the Call Status link to get an update.

Split the problem in two by not using the softphone.  Change the LINE X_InboundCallRoute to spx(2233435945@sip2sip.info) where the x in spx is 1 or 2 depending on which one you are setting up with the 127.0.0.1.  Use your cellphone or whatever to call your POTS number and LENNY should answer.  ("Hello, this is Lenny".)  If that works revert back to the string for the softphone.

I have Zoiper on an Android device and haven't found there, or on the internet, how to make it call without SIP registration.

azrobert:
A softphone can't register to an OBi110, therefore you need a phone that can call without registration. If it can't then outbound calls won't work.  Zoiper for Windows has this function, under Preferences just click on the tab "Unregister". Zoiper for Android doesn't have this option and I don't see any other way to turn off registration. Does Zoiper for MAC look like the Android or Windows version? If it looks like the Android version then you are SOL. You can register a softphone to an OBi200 or OBi202. I assume the new OBi212 that has a FXO port will also support registration.

Edit:
I just re-read your original post and it doesn't say anything about outbound calls. Maybe everything I posted was for nothing and drgeoff's post will meet your requirements.

azrobert:
The default for Zoiper is to assign random Listening and RTP ports. You need to set a fixed Listening port for inbound OBi110 POTS calls to work. I had audio problems on Zoiper for Windows and needed to also set a fixed RTP port then used Port Forwarding in my router. I also set Port Forwarding for the listening and RTP ports on my OBi110.

These settings are accessed differently depending on OS. I don't know how these are accessed on a MAC. Here is how on other platforms.
Windows:
Settings -> Preferences Advanced -> Network

Under SIP and RTP uncheck box (Open random port)

iPad:
Settings -> Advanced
Slide SIP and RTP ports to Random Port off

Android:
Config -> Connectivity -> Listening Ports
Uncheck Random Port for SIP and RTP

I also recommend changing the Zoiper fixed Listening port to something other than the default 5060. If you need port forwarding it will need to be different than the OBi110 and also it will be harder for SIP Scanners to ring Zoiper.

OBi110:
Physical Interfaces -> Line Port -> InboundCallRoute:
ph,sp2(0@192.168.1.100:port)

Port is the Listening port on Zoiper.

Try testing without Port Forwarding and only set it if you have audio problems
________________________________

I had an error in my above post #8. I had SP1 routing inbound calls to Phonerlite. I changed it to the Line port.

drgeoff:
If the OBi110 and the softphone are on the same LAN subnet then the traffic between the two does not encounter the NAT in the router. So why would port forwarding be necessary?

azrobert:
Quote from: drgeoff on October 30, 2017, 09:22:20 am

If the OBi110 and the softphone are on the same LAN subnet then the traffic between the two does not encounter the NAT in the router. So why would port forwarding be necessary?


I can't explain it. All I know is it fixed my problem. That is why I recommended first testing without call forwarding and only use it if having audio problems.

Navigation

[0] Message Index

[#] Next page

[*] Previous page