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.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old May 30th, 2005, 08:32 PM
kash kash is offline
Junior Member
 
Join Date: May 2005
Posts: 1
kash
Default asterisk sipura 3000 pstn help

i've been messing around with trying to get my pstn into my asterisk box but i cant seem to figure it out.. i tried to use the config wizard which is great .. but i'm using asterisk at home so i have to go though amp to edit the conf's but thats where i'm getting confused does anyone have a how to get teh sipura working with asterisk and amp please

i did get my line1 phone to work as an extension with asterisk but i just cant get the pstn to work as a trunk

tia
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old May 30th, 2005, 09:37 PM
jmattwood jmattwood is offline
Senior Member
 
Join Date: Feb 2005
Location: Bradford UK
Posts: 195
jmattwood
Default RE: asterisk sipura 3000 pstn help

This is what's working for me - in Amp, create a new SIP trunk & call it PSTN-SPA3K

Under Outgoing settings:

auth=md5
context=from-internal
dtmfmode=rfc2833
fromuser=asterisk ;this user is created with the SPA3000 wizard
host=192.168.1.7 ;this is the IP address of your SPA3000
insecure=very
port=5061 ;this is the PORT your Sipura PSTN tab is set to
secret=xxxx ;password entered in SPA Wiz
type=peer
username=asterisk

Under Incoming settings:

User Context - from-internal

User Details:

allow=ulaw
context=from-internal
disallow=all
dtmfmode=rfc2833
host=dynamic
insecure=very
secret=xxxx ;password created with SPA Wizard
type=friend

When I was first running the wizard, I was never sure which extension number to use, nor which password - all my extensions had the same password, which made setting up easier.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old May 31st, 2005, 04:14 AM
RMHunter RMHunter is offline
Junior Member
 
Join Date: May 2005
Posts: 8
RMHunter
Default RE: asterisk sipura 3000 pstn help

I'm having a problem sort of like this described between the asterisk and SPA3000..

I used the wizard to config the SPA3000... great tool

so here is the result:

inbound PSTN calls go to the proper * extension....
the line1 acts as a normal extension within *
(I can dial a sip phone on asterisk from the 'line1' handset and vice versa)
and I can dial out the PSTN from the 'line1' handset (using the # prefix)

what I can't do is dial out the PSTN from another sip phone connected to asterisk...

any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old May 31st, 2005, 09:35 AM
jmattwood jmattwood is offline
Senior Member
 
Join Date: Feb 2005
Location: Bradford UK
Posts: 195
jmattwood
Default RE: asterisk sipura 3000 pstn help

Have you created the PSTN-SPA3K trunk?

Have you pointed any outbound routing to the trunk?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old May 31st, 2005, 10:15 AM
craig's Avatar
craig craig is offline
Senior Member
 
Join Date: Jan 2005
Posts: 109
craig
Default RE: asterisk sipura 3000 pstn help

There are 3 different configs that are generated by the wizard for your sip.conf: 1) a Line1 entry, 2) a PSTN Line entry, and 3) a VoIP to PSTN entry. The first two are SIP clients and the 3rd is an outbound trunk, all on asterisk. For the functionality you've described, you are making a call via asterisk to the the SPA3000 trunk, which verifies the caller (asterisk) as configured in 3) and allows a bridge to your PSTN port (FXO).

Remember that the 3000 logically has a number of interfaces, namely FXS, FXO, Line 1 (VoIP 1) and PSTN Line (VoIP 2). Each one is indepenent and needs to be linked to the others, depending on your configuration needs.

From your comments, 1) is definatley working, since you can call between SIP phones and Line 1 (you will see that the Line 1 is "registered"). You should make sure that 2) is also registered, although this is for incoming PSTN calling and not the other way around. The key to your issue is to verify that the VoIP to PSTN Gateway functionality is configured as per the wizard. This is the required config to allow the bridge to occur in the SPA3000 and dial out.

Finally, your dial asterisk dial plan needs to be set up to dial out for a specific dialing pattern via the PSTN Line. This is the outboung routing to the PSTN-SPA3K trunk mentioned by jmattwood. This is held in extentions.conf. An example of stanard US 7 digit dialing from the wizard is:

exten => _XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _XXXXXXX,2,Congestion

The entry "pstn-spa3k" is 3) above in sip.conf and is the "trunk" mentioned earlier.

I would suggest look at the asterisk console output to get an idea of what's going on (start asterisk with 'asterisk -vvvc'). It will show the PSTN Line being registered and also show the call state of the SIP to PSTN Line call as it takes place. It should give you a lot of pointers.

Good luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old May 31st, 2005, 10:15 AM
  #6 (permalink)  
Old May 31st, 2005, 12:44 PM
RMHunter RMHunter is offline
Junior Member
 
Join Date: May 2005
Posts: 8
RMHunter
Default RE: asterisk sipura 3000 pstn help

So, then if I understand correctly...

Beyond the entries in sip.conf...

[350]
type=friend
host=dynamic
context=home
secret=somepassword
mailbox=350
dtmfmode=rfc2833
disallow=all
allow=ulaw

[351]
; If you're using Asterisk, this goes into the Incoming settings
; For your Trunk
type=friend
host=dynamic
; If using Asterisk@home, change the below line to context=from-internal
context=home
secret=somepassword
dtmfmode=rfc2833
disallow=all
allow=ulaw
insecure=very

[pstn-spa3k]
; If you're using Asterisk, this section goes into the Outgoing Settings
; for your trunk.
type=peer
auth=md5
host=212.51.214.130
port=5061
secret= somepassword
username=asterisk
fromuser=asterisk
dtmfmode=rfc2833
; If using Asterisk@home, change the below line to context=from-internal
context=home
insecure=very

And the entries in extensions.conf....
[home]

exten => 350,1,Ringing
exten => 350,2,Dial(SIP/350,20,T)
exten => 350,3,Voicemail(u350)
exten => 350,4,Hangup

exten => 911,1,Dial(SIP/911@pstn-spa3k,60,)
exten => 911,2,Congestion

exten => _XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _XXXXXXX,2,Congestion

exten => _1800XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1800XXXXXXX,2,Congestion

exten => _1888XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1888XXXXXXX,2,Congestion

exten => _1877XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1877XXXXXXX,2,Congestion

exten => _1866XXXXXXX,1,Dial(SIP/${EXTEN}@pstn-spa3k,60,)
exten => _1866XXXXXXX,2,Congestion

I also need to register the adapter in the [general] section of sip.conf???

something like:

register => 351@pstn-spa3k:somepassword.



Thanks for the help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old May 31st, 2005, 01:34 PM
craig's Avatar
craig craig is offline
Senior Member
 
Join Date: Jan 2005
Posts: 109
craig
Default RE: asterisk sipura 3000 pstn help

[350] and [351] are the extentions for your Line 1 and PSTN Line, I would assume. The imporant one for our discussion is the [pstn-spa3k] entry for the outgoing PSTN calls. The config looks fine (to my rookie eyes) and I assume that 212.51.214.130 is the IP address of the spa3k.

I don't have any registration statement in my sip.conf for this link, since each time I dial out it pulls the values from the [pstn-spa3k] section. Plus, the SPA itself isn't expecting to maintain a registration. It waits for an incoming VoIP call and then checks against the VoIP to PSTN Gateway authentication fields.

Is it still giving you problems? What does the asterisk console say? The asterisk console should show you a failed connection attempt if it's misconfigured. The next area to look at is the SPA config for the gateway function.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8 (permalink)  
Old May 31st, 2005, 07:41 PM
RMHunter RMHunter is offline
Junior Member
 
Join Date: May 2005
Posts: 8
RMHunter
Default RE: asterisk sipura 3000 pstn help

Yeah, still giving me problems...

If I attempt a call from either a SIP phone connected to asterisk OR from the telephone connected to line1, I get the same result..

example..

I'll dial 18005551212

*Consol says:

(when using a sip hardphone)
Executing Dial("SIP/300-36b6", "SIP/18005551212@pstn-spa3k|60|") in new stack
Called 18005551212@pstn-spa3k

(when using telephone connected to line1)
Executing Dial("SIP/350-2193", "SIP/18005551212@pstn-spa3k|60|") in new stack
Called 18005551212@pstn-spa3k


The result over the line is silence for both cases.

If I dial from the phone connected to line1 with a # pre-appended, (avoiding asterisk) the call goes through.

the 3k's software version is 2.0.11 and hardware version 2.0.1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9 (permalink)  
Old May 31st, 2005, 10:08 PM
craig's Avatar
craig craig is offline
Senior Member
 
Join Date: Jan 2005
Posts: 109
craig
Default RE: asterisk sipura 3000 pstn help

I just tried dialing out myself from a SIP softphone and get the same first line as you, but it then continues. Here is my output:

Executing Dial("SIP/craig-b8d1", "SIP/01234567890@pstn-spa3k|60|") in new stack
-- Called 01234567890@pstn-spa3k
-- SIP/pstn-spa3k-5d4b is ringing
-- SIP/pstn-spa3k-5d4b answered SIP/craig-b8d1
-- Attempting native bridge of SIP/craig-b8d1 and SIP/pstn-spa3k-5d4b

For some reason you are not advancing to the next stage. However, you seem to be authenticating OK, since you don't get a reject message from the SPA3000 when you try to dial (I misconfigured mine to see what asterisk sees). I wonder if it's a dialplan issue. What is your configuration on the PSTN Line tab for the VoIP-To-PSTN Gateway Setup?

As a secondary note, the firmware version you list is a bit old. You might want to upgrade to the lastest 2.0.13g.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10 (permalink)  
Old May 31st, 2005, 10:36 PM
RMHunter RMHunter is offline
Junior Member
 
Join Date: May 2005
Posts: 8
RMHunter
Default RE: asterisk sipura 3000 pstn help

Ahh.. that must be it...
Under "VoIP-To-PSTN Gateway Setup"

-- Gateway Enable:yes
-- VoIP Auth Method:HTTP Digest
-- PIN Max retry:3
-- One Stage Dialing:yes

-- VoIP Caller Default DP:none

further, all the dial plans are set "(xx.)" save DP8, which is "(<S0:1000>)"

What should I have there?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old May 31st, 2005, 10:36 PM
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: asterisk sipura 3000 pstn help
Thread Thread Starter Forum Replies Last Post
Forwarding PSTN calls from Sipura 3000 to Sipura 2002 rogerduthie Linksys (Sipura) VoIP Support Forum 5 October 13th, 2005 02:36 PM
Asterisk and Sipura SPA3000 does not clear down PSTN line mgream Asterisk Support Forum 0 June 19th, 2005 04:37 PM
Asterisk - Sipura 3000 - PSTN to VOIP - Voice Menu Help bellagio Asterisk Support Forum 9 June 14th, 2005 06:01 AM
Asterisk - Sipura 3000 - PSTN to VOIP Help bellagio Asterisk Support Forum 2 June 12th, 2005 10:59 PM
Asterisk -> SPA 3000 -> PSTN angelh3 Linksys (Sipura) VoIP Support Forum 1 September 3rd, 2004 05:02 PM



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


vBulletin, Copyright ©2000 - 2009, 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.