News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old July 7th, 2008, 02:04 PM
Harinda Harinda is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Harinda
Default Sipura SPA3K as out trunk in FreePBX(Asterisk)

I have my asterisk box in a separate location to the SPA 3K,Asterisk box has static IP and SPA 3K with a dynamic IP.

I want to send PSTN calls out using the SPA 3K , any suggestions will be greatly appreciated .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old July 7th, 2008, 07:00 PM
hwittenb hwittenb is offline
Senior Member
 
Join Date: Sep 2005
Location: California
Posts: 1,867
hwittenb is an unknown quantity at this point
Default Re: Sipura SPA3K as out trunk in FreePBX(Asterisk)

For the SPA3102, I would get a symbolic address from someone like DynDns and devise a means to keep the address up to date for the ip address translation (router support for dynamic dns or program on a pc behind the router).

I would then setup the voip-to-pstn gateway for http digest authentication, setup a userid and password for the http authentication. Set answer call without registration on the PSTN Line.

With the Asterisk system setup the trunk with the symbolic address and the port number for the pstn line. Setup the user id and password that you created above. Setup the asterisk trunk not to register. An asterisk system user will dial the pstn number. You route the dialed pstn number to this trunk. The Asterisk system will send a sip invite to the SPA3102 and the SPA3102 will dial the outgoing number.

Edit: An alternative would be to setup the SPA3102 PSTN Line as an extension on the Asterisk system and someone would call the extension and then get a dial tone to dial out. If you did it this way you wouldn't have to deal with the dynamic address because the registration process would take care of that problem.

Last edited by hwittenb : July 7th, 2008 at 11:31 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old July 8th, 2008, 05:20 AM
Harinda Harinda is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Harinda
Default Re: Sipura SPA3K as out trunk in FreePBX(Asterisk)

Thanks for your reply , actually I'm using SIPURA SPA 3000 , sorry for not mentioning earlier. Anyway I got your idea and will update the result.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old July 9th, 2008, 01:29 AM
markosjal markosjal is offline
Senior Member
 
Join Date: Aug 2005
Posts: 196
markosjal
Default Re: Sipura SPA3K as out trunk in FreePBX(Asterisk)

I had a similar issue with the SPA3102 that was on a DSL modem and Dynamic IP, and Trixbox on a separate Fixed IP. Since there was no computer there nor did the SPA have a DYNDNS client (which I see as an oversight in the SPA3102), I devised the following solution:

1) Register the PSTN line to asterisk as you would any other device. For this example we will say it is registered as extension 300

2) Create a custom trunk with custom dial string: SIP/$OUTNUM$@300

3) Create outbound route pointing to the custom trunk

I looked high and low for a work around to a fixed IP or a DYNDNS , and never found much. This solution has now worked flawlessly for 6+ months.

Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old July 10th, 2008, 01:31 PM
Harinda Harinda is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Harinda
Default Re: Sipura SPA3K as out trunk in FreePBX(Asterisk)

Thanks for your reply, and it seem so easy to do that.

I tried with your setting , but when I try from another extension from the FreePBX , its only generate the incoming call.

May be something wrong with my SIPURA setting , would you mind posting your SIPURA setting so that I could give a try with them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 10th, 2008, 01:31 PM
  #6 (permalink)  
Old July 11th, 2008, 12:36 PM
Harinda Harinda is offline
Junior Member
 
Join Date: Dec 2005
Posts: 6
Harinda
Default Re: Sipura SPA3K as out trunk in FreePBX(Asterisk)

I tried both of your method and various other methods from different forums , all I get was this response from Asterisk CLI. I did this testing continuous two days but so far no luck.

SIP/TEST-086b3130 is ringing
-- SIP/TEST-086b3130 answered SIP/2000-086c80a8
-- Packet2Packet bridging SIP/2000-086c80a8 and SIP/TEST-086b3130
Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/2000-086c80a8' in macro 'dialout-trunk'

Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/2000-086c80a8'

Greatly appreciate someones generous advise .
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:



Similar Threads for: Sipura SPA3K as out trunk in FreePBX(Asterisk)
Thread Thread Starter Forum Replies Last Post
HT 488 Asterisk FreePBX config?? bejam Asterisk Support Forum 0 June 22nd, 2007 12:25 PM
2 Problems with Asterisk/FreePBX, Possibly related rizsher Asterisk Support Forum 1 June 6th, 2007 01:39 AM
How to install Asterisk / Freepbx on Centos pmoore4321 Asterisk Support Forum 3 November 28th, 2006 01:42 AM
Busy signal. Ipkall+asterisk+freepbx.HELP!!! pkelkar IPKall Support Forum 6 November 21st, 2006 07:27 AM
Asterisk@Home 2.8/FreePBX/Tribox zz000mm Asterisk Support Forum 5 July 17th, 2006 01:24 AM



All times are GMT. The time now is 10:09 AM.


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