Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #610626 17-Apr-2012 16:02
Send private message

gchiu: Sadly not working. I get a message that call can not complete as dialled.

Dunno if this is relevant but when I created the route, it insisted I needed a dial pattern so I just made up a few like this

02ZNNNNNNN
0[3469]NXXXXXX
NXXXXXX



These aren't valid. You just need a simple route with X.

You'll then need to work on dialplans for the phones, the default ones are horrible and will restrict some calls along with a long timeout period after dialling the number unless you press #






gchiu

1211 posts

Uber Geek

Trusted
DR

  #610639 17-Apr-2012 16:17
Send private message

I don't think I've done anything ( except to install a fix for kernel warnings from Centos 6.2 in grub.conf as per http://bugs.centos.org/view.php?id=5371 ), and now it won't even register with plus.2talk.co.nz timing out all the time :(

gchiu

1211 posts

Uber Geek

Trusted
DR

  #610994 18-Apr-2012 09:18
Send private message

Ok, I had to re-enable the port forwarding on 5060 otherwise I could not register.



vespaman
88 posts

Master Geek


  #611487 18-Apr-2012 21:19
Send private message

so are you sorted ? don't forward the port 5060 if you don't have to.

gchiu

1211 posts

Uber Geek

Trusted
DR

  #611579 18-Apr-2012 22:56
Send private message

Close .. to giving up! lol

I installed the 3CX soft phone, and can connect directly to 2talk server and call.  If I switch to the asterisk server, it registers, but I get an error that my calls can not be completed as dialled.  The asterisk debug log shows the number I called ( I don't need a 1 to get the outside line ) but is not offering any explanations.  The softphone can call the SPA303 phone on extension 1000, but the SPA303 won't let me call the softphone on 1001.

Maybe I corrupted something earlier on, and need to reinstall ...

gchiu

1211 posts

Uber Geek

Trusted
DR

  #611592 18-Apr-2012 23:47
Send private message

Ok, made more random changes

My 2talk route has a dial plan of 1|.

Trunk name - 2talk

host=27.111.14.65
username=028xxxxxxx
secret=********
type=peer
context=from-sipout
canreinvite=no
qualify=yes
disallow=all
allow=ilbc&gsm&alaw&ulaw
insecure=invite,port
register=no

User-context: from-sipout

username=028xxxxxxx
type=peer
secret=********
insecure=invite,port
host=27.111.14.65

and now my softphone can dial out!  So, 1 and then the number to dial :)

No idea what setting in the above made things work this far!

The spa303, my principal interest, just gives me a hung up tone when I try to dial anything ... so more work to do on this.  Maybe it's the 303's internal dial plan I need to fix.

gchiu

1211 posts

Uber Geek

Trusted
DR

  #611598 19-Apr-2012 00:40
Send private message

I had this dial plan from C-talk's site for the spa303

(0[2-9][2-9]xxxxxx|[2-9]xxxxxx|020x.|021x.|0508x.|0800x.|022x.|027x.|028x.|029x.|00x.|1xx|2xx|01x|*x.)

which works for 2talk directly (I think), but doesn't work for asterisk.  I added a 1 at the front viz:

1(0[2-9][2-9]xxxxxx|[2-9]xxxxxx|020x.|021x.|0508x.|0800x.|022x.|027x.|028x.|029x.|00x.|1xx|2xx|01x|*x.)

and now I can call national numbers, but not 021 numbers, and I can't call the extensions 100n

 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #611620 19-Apr-2012 06:27
Send private message

The above dialplan can't work because it's not valid for a 1 predigit across all numbers.

Why have you chosen to use 1 as a predigit rather than my solution above which removes the need for a predigit?

gchiu

1211 posts

Uber Geek

Trusted
DR

  #611656 19-Apr-2012 09:13
Send private message

Was working with what works. Ok, now switched from 1|. to |X. and now my spa303 can now dial out. But it can't dial the extension 1001 ie. it tries to dial on the 100

gchiu

1211 posts

Uber Geek

Trusted
DR

  #611698 19-Apr-2012 10:15
Send private message

Switching to 3 digit extensions has "solved" that issue.

I wonder if I have to port forward 5060 because I have an original firmware wrt54g

vespaman
88 posts

Master Geek


  #611748 19-Apr-2012 10:57
Send private message

short term you may get away with port forwarding as you are only playing but long term get a router that does full cone NAT or similar if you are going to do this sort of thing long term.

keep persevering with this as you cant get any better (free) hands on telephony / network experience than what you are doing. lucky for you i guess is that you don't also have PCI cards or cisco 79XX series phones as well to learn about.

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #611764 19-Apr-2012 11:21
Send private message

gchiu: Was working with what works. Ok, now switched from 1|. to |X. and now my spa303 can now dial out. But it can't dial the extension 1001 ie. it tries to dial on the 100


That's because your SPA303 dialplan won't allow dialling 4 digit numbers.

gchiu

1211 posts

Uber Geek

Trusted
DR

  #611901 19-Apr-2012 14:06
Send private message

I have a spare VFX number that I have now asked to be used on the Open VFX so can see if I can get that working on my asterisk. Hopefully it won't be that different to get working. I will then be able to test incoming calls. 028 numbers are a bit expensive just for testing.

So, if I can configure this, will it mean I can have one trunk with VFX, and one with 2talk, and the different lines on the phones can be allocated to each, or I can use a dialing plan to select the trunk I want?

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #611973 19-Apr-2012 15:27
Send private message

If you want each phone to be able to call out of different trunks you're going to have to use custom contexts for each to restrict trunk access to the speific trunk you want.

A basic dialplan will allow specific calls to be routed via a specific trunk.


gchiu

1211 posts

Uber Geek

Trusted
DR

  #612027 19-Apr-2012 16:56
Send private message

Sounds complicated.

In the meantime I have disabled the 2talk trunk and added a Vfx one.  I can now call out on the vfx line, but if I try to call it, it says the number is not in service.  This is a message from vfx and not asterisk (  that TV personality's voice ), and so I wonder if this is a NAT issue.  

1 | 2 | 3 | 4
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.