Koozali.org: home of the SME Server

How to connect to IPKall.com from SAIL

Offline apmuthu

  • *
  • 244
  • +0/-0
How to connect to IPKall.com from SAIL
« on: January 18, 2011, 04:31:59 PM »
SME 8 b 6 + SAIL 3.1.0-100
How do we connect to the www.ipkall.com service from within SAIL in order to receive calls that come in from their Washington numbers?
From their email, on registering for a number, The following info is available:
Quote
Calls will come from 66.54.140.46 (voiper.ipkall.com) or 66.54.140.47 (voiper2.ipkall.com).

IPKall is a PSTN to Existing VoIP service ONLY; devices and/or software are not to be logged into IPKall servers.

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect to IPKall.com from SAIL
« Reply #1 on: January 19, 2011, 12:07:21 PM »
If this is all they publish, then as long as you have the firewall open to that end-point then you should just be able to create a DiD group to receive the call.

Kind Regards

S

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: How to connect to IPKall.com from SAIL
« Reply #2 on: January 20, 2011, 05:13:57 AM »
How is a DiD Group set up? Is it the same as a Call Group or Trunkline Carrier DiD?

I have managed to get www.IPKall.com to work with SAIL v3.1.0-100 in the following manner:
Create a New Trunkline of Carrier GenericSIP Type.
Enter the IPKall Number (360xxxxxxx) as the DiD Number and TrunkName.
Enter the other parameters from the IPKall email (I used the IP instead of the URI) obtained on registration at http://phone.ipkall.com/ - choose a SIP Number that is not on the SAIL currently. For the entries here, after registration, login back to the IPKall page at http://phone.ipkall.com/login.asp with your allotted phone number (without the hyphens) and change the SIP number to the allotted phone number as that is what is used herein.

The peer stanza (named the IPKall number itself) should be like:
Code: [Select]
type=peer
host=voiper.ipkall.com
qualify=3000
canreinvite=no
username=360xxxxxxx
fromuser=360xxxxxxx
secret=MYIPKALLPASSWORD
insecure=port,invite
disallow=all
allow=alaw
allow=ulaw
allow=gsm
allow=g729

How do I put in an additional host like:
Code: [Select]
host=voiper2.ipkall.com
The user stanza (named the IPKall number itself) should be like:
Code: [Select]
type=user
host=voipker.ipkall.com
username=360xxxxxxx
secret=MYIPKALLPASSWORD
context=from-pstn

Also, in the Line tab's CallerID form field, put in the IPKall number (360xxxxxx) and in the Routing tab's Open and Closed form fields, put in the SAIL extension you wish it to ring (alternatively a Call Group's number / IVR).

Are there any redundancies in the above or anything I missed?

It does work however!
« Last Edit: January 20, 2011, 05:17:17 AM by apmuthu »

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect to IPKall.com from SAIL
« Reply #3 on: January 20, 2011, 11:06:13 PM »
Hello

Set up a DiD group using the trunk type PTT_DiD_GROUP.  It is a set of one or more logical trunk entries.

All looks ok in your IPKall peer stanza - I don't believe you need anything at all in the user stanza.

I don't think you can specify multiple hosts in a peer entry. (see http://www.voip-info.org/wiki/view/Asterisk+sip+host). 

Kind Regards

S



 



Offline apmuthu

  • *
  • 244
  • +0/-0
Re: How to connect to IPKall.com from SAIL
« Reply #4 on: January 22, 2011, 06:10:31 AM »
Your stated link does not rule out or support multiple host entries.

This link states that the Allow/Deny parameters be used by trunks and that the hosts entry is for devices only. I would think that it should be permit/deny instead.

« Last Edit: January 22, 2011, 07:57:59 AM by apmuthu »

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: How to connect to IPKall.com from SAIL
« Reply #5 on: January 25, 2011, 05:40:11 AM »
The PTT_DiD_Group does not have any textarea field for the peer stanza.

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: How to connect to IPKall.com from SAIL
« Reply #6 on: January 25, 2011, 10:14:37 AM »
Quote
The PTT_DiD_Group does not have any textarea field for the peer stanza.
That is correct.  PTT_DiD_Group does not generate a stanza in sip.conf.  It is a logical construct which generates entries in extensions.conf

Kind Regards

S