Go Back   Voxilla VoIP Forum > Service Provider Support Forums > IPKall Support Forum

IPKall Support Forum IPKall provides inbound telephone numbers to any arbitrary SIP URL. Technical support, how-to guides, troubleshooting, and general assistance, have a question or a problem? Post it here!



Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old December 11th, 2008, 12:37 AM
Junior Member
 
Join Date: Dec 2008
Posts: 5
dallas is on a distinguished road
Default Is IAX2 Working?

Hi,

I registered a number yesterday and haven't been able to see an IAX call arrive in my Asterisk server. I switched to SIP and I see the call. Unfortunately I don't allow unauthenticated SIP calls so the call gets a recorded message from my Asterisk.

So is IAX working or do I have something configured incorrectly?

Dallas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old December 11th, 2008, 09:23 AM
Junior Member
 
Join Date: Dec 2008
Posts: 5
dallas is on a distinguished road
Default Re: Is IAX2 Working?

I've fixed the unauthenticated call issue and calls are handled OK. Still no IAX calls.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old January 5th, 2009, 01:50 AM
Junior Member
 
Join Date: Feb 2005
Posts: 3
mazilo
Default Re: Is IAX2 Working?

Quote:
Originally Posted by dallas View Post
I've fixed the unauthenticated call issue and calls are handled OK. Still no IAX calls.
How did you fix this unauthenticated call issue?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old January 5th, 2009, 02:07 AM
Junior Member
 
Join Date: Dec 2008
Posts: 5
dallas is on a distinguished road
Default Re: Is IAX2 Working?

I used the Nerd Vittles solution...
I added the following to extensions_override_freepbx.conf

[from-sip-external]
exten => _.,1,NoOp(Received incoming SIP connection from unknown peer to ${EXTEN})
exten => _.,n,Set(DID=${IF($["${EXTEN:1:2}"=""]?s:${EXTEN})})
exten => _.,n,Goto(s,1)
exten => s,1,GotoIf($["${ALLOW_SIP_ANON}"="yes"]?from-trunk,${DID},1)
exten => ipkall1,1,GotoIf($["${SIPCHANINFO(peerip)}"="66.54.140.46"]?from-trunk,400,1)
exten => ipkall1,1,GotoIf($["${SIPCHANINFO(peerip)}"="66.54.140.47"]?from-trunk,400,1)
exten => ipkall2,1,GotoIf($["${SIPCHANINFO(peerip)}"="66.54.140.46"]?from-trunk,400,1)
exten => ipkall2,1,GotoIf($["${SIPCHANINFO(peerip)}"="66.54.140.47"]?from-trunk,400,1)
exten => s,n,Set(TIMEOUT(absolute)=15)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,Playtones(congestion)
exten => s,n,Congestion(5)
exten => h,1,NoOp(Hangup)
exten => i,1,NoOp(Invalid)
exten => t,1,NoOp(Timeout)

This piece of code allows unauthenticated SIP calls only from the IPKall servers that are directed to ipkall1 or ipkall2 on my pbxinaflash.

In FreePBX -> General Settings set 'Allow Anonymous Inbound SIP Calls' to no.

Dallas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old January 5th, 2009, 02:24 AM
Junior Member
 
Join Date: Feb 2005
Posts: 3
mazilo
Default Re: Is IAX2 Working?

Quote:
Originally Posted by dallas View Post
I used the Nerd Vittles solution...
Thanks for your quick response. BTW, do you have the link to Nerd Vittles solution you mentioned above?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old January 5th, 2009, 02:42 AM
Junior Member
 
Join Date: Dec 2008
Posts: 5
dallas is on a distinguished road
Default Re: Is IAX2 Working?

Sorry for the delay... It took me some time to find the article again...
It's here... http://nerdvittles.com/index.php?p=208

Also this thread on the forum... Resolved: ipkall setup - PBX in a Flash Forum Resolved: ipkall setup - PBX in a Flash Forum
Good luck.
Dallas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old January 5th, 2009, 03:18 AM
Junior Member
 
Join Date: Feb 2005
Posts: 3
mazilo
Default Re: Is IAX2 Working?

Thanks and you were very pronto.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old January 18th, 2009, 06:22 PM
Junior Member
 
Join Date: Apr 2006
Location: Russia
Posts: 19
Evgen
Send a message via ICQ to Evgen
Default Re: Is IAX2 Working?

Quote:
Originally Posted by dallas View Post
This piece of code allows unauthenticated SIP calls only from the IPKall servers that are directed to ipkall1 or ipkall2 on my pbxinaflash
I think it's easy only to add two following strings to your ipkall peer(s) in sip.conf
deny = 0.0.0.0/0
allow = 66.54.140.46/31
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old January 18th, 2009, 11:24 PM
Junior Member
 
Join Date: Dec 2008
Posts: 5
dallas is on a distinguished road
Default Re: Is IAX2 Working?

Evgen,

Yes I'm sure you are correct. I got the code from the Nerd Vittles site and it worked so I left it at that. I also noticed that FreePBX 2.5.1.1 you can do this for extensions on a per extension basis.

Dallas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help those looking for SIP/IAX2 devices Uni-Ta.com VoIP Hardware/Software Bazaar 0 October 12th, 2007 06:46 AM
Best SIP/IAX2 ATA knckrbckr VoIP Hardware/Software Bazaar 0 October 4th, 2007 04:12 PM
Asterisk(IAX2) > Internet > VPN > Asterisk(IAX2) Paki Asterisk Support Forum 1 September 28th, 2007 04:49 PM
Trixbox IAX2 accounts quit when I add IAX2 trunk bbbeavis Asterisk Support Forum 2 July 26th, 2006 05:34 PM
IAX2 trunk and dynamic IP tonydav Asterisk Support Forum 0 March 15th, 2005 08:17 PM

Voxilla Recommends
  • Voxilla News

    More Voxilla news



    All times are GMT. The time now is 08:18 PM.


    vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
    SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
    Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2009 by Voxilla, Inc.