 |

August 13th, 2008, 11:24 AM
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 4
|
|
ipkall + asterisk + IAX
hi guys, i'm having problems getting my ipkall account set up with my asterisk server over IAX. i always get a busy signal, which i'm assuming means that it can't successfully connect to my server.
i read the sticky saying IAX support was in beta (posted 6 months ago), and it said:
IAX/mark:asdf@myserver/6275@default
" Call to "myserver" using "mark" as username and "asdf" as password,
and requesting extension 6275 in default context" Extension and context are optional.
the problem (i think) is that i haven't been able to get that information entered into the ipkall account page correctly. the page has the following fields:
IAX user name:
IAX proxy:
password:
now i'm assuming that the password field is strictly for logging into your ipkall account, and not for connectivity.
this is my best guess as to what i'm supposed to use:
IAX username: 360PhoneNumber
IAX proxy: IAX/360PhoneNumber:MadeUpPassword@my-dyndnshostname/360PhoneNumber@ipkall-in
which doesn't even get to my box, so i've tried:
360PhoneNumber:MadeUpPassword@my-dyndnshostname/360PhoneNumber@ipkall-in
which doesn't work either. the best i've gotten is:
my-dyndnshostname/360PhoneNumber@ipkall-in
which gets to my asterisk but is refused, giving the following (with iax2 debug):
CAUSE : No authority found
CAUSE CODE : 50
and now for my asterisk configs:
iax.conf (this was pulled mostly from the documentation for the sip.conf):
[3602266881]
type=peer
username=3602266881
dtmfmode=rfc2833
context=ipkall-in
insecure=very
host=voiper.ipkall.com
(hmmm, do i need auth=plaintext ?)
and my extensions.conf:
[ipkall-in] ; incoming
exten => ${IPKALLNUMBER},1,Dial(SIP/101,20,r)
exten => ${IPKALLNUMBER},2,Voicemail,u100
exten => ${IPKALLNUMBER},102,Voicemail,b101
phew! so does anybody have this working? i'd love some help figuring this out.
|

August 13th, 2008, 12:29 PM
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 4
|
|
Re: ipkall + asterisk + IAX
DOPE! in my amazing ability to work on something for hours, and then finally post the question to a forum, THEN magically figure it out in the next 10 minutes, i got it working:
i found this page:
http://www.voip-info.org/wiki/view/A...uthority+found
which explained my error, and how it was related to my authentication. and this page:
http://www.voip-info.org/wiki/view/A...authentication
which explained how the authentication works.
i was able to then get things working (at least for unauthenticated calls):
ipkall account:
IAX username: 360PhoneNumber
IAX proxy: mydyndnshost/360PhoneNumber
iax.conf:
[3602266881]
type=user
username=3602266881
context=ipkall-in
host=voiper.ipkall.com
|

August 19th, 2008, 10:49 PM
|
|
Junior Member
|
|
Join Date: Aug 2008
Posts: 1
|
|
Re: ipkall + asterisk + IAX
After looking at the above posts and other information online, and turning on IAX debugging, I've found this to be more straightforward than everybody's making it out to be:
First, set up your account at http://www.ipkall.com/ :
Account type: IAX
IAX User Name: ipkall
IAX Proxy: your.asterisk.box
Email Address: *****
Password: youripkallpassword
Seconds to Ring before Hang Up: 120
Second, set up the ipkall user in iax.conf on your Asterisk box:
[ipkall]
type=user
insecure=very
context=incoming
auth=plaintext
secret=youripkallpassword
Note that IPKall will use the same password you use to log in to their website to authenticate its calls to your asterisk box.
Third, in your extensions.conf, have the "s" extension handle the calls in whatever context you're placed the ipkall user in iax.conf ([incoming] in this example). What I happen to have at the moment is this:
[incoming]
exten => s,1,Dial(IAX2/justin/justin,12,tr)
exten => s,n,Voicemail(100)
exten => s,n,Hangup
You will probably want to use a special context for incoming IPKall calls and call it something other than "incoming". It may be, as it looks like others have tried, that you can tell IPKall to call an extension other than "s" on your box if you specify it after a slash in the "IAX Proxy" box in your IPKall account setup, but I haven't tried that, yet. I'm a n00b and YMMV, and all that.
|
 |
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|