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.


dcole13

534 posts

Ultimate Geek


#151339 21-Aug-2014 21:45
Send private message

Hi,

I'm trying to hook my 2talk account up to my Asterisk server. I have followed this tutorial, but when I dial out it tries to register with "600@sip.2talk.co.nz", 600 is the extension number. Why is this happening and how can I fix it?

Thanks




Home ADSL:                                                             School: 
 


Create new topic
ajobbins
5052 posts

Uber Geek

Trusted

  #1113185 21-Aug-2014 22:50
Send private message

This might be a better tutorial to follow






Twitter: ajobbins




sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1113216 22-Aug-2014 07:27
Send private message

Those settings are very generic and aren't going to work with 99% of SIP providers. You need to be following what 2talk are telling you to use.


dcole13

534 posts

Ultimate Geek


  #1113570 22-Aug-2014 17:06
Send private message

ajobbins: This might be a better tutorial to follow


Hi,

Thanks for that. I am now able to dial in and out, but since I would like to have multiple SIP accounts how can I make it so SIP account 1 goes to, say extn 600 and SIP account 2 to extn 601?

Thanks




Home ADSL:                                                             School: 
 




ajobbins
5052 posts

Uber Geek

Trusted

  #1113575 22-Aug-2014 17:09
Send private message

dcole13:
ajobbins: This might be a better tutorial to follow


Hi,

Thanks for that. I am now able to dial in and out, but since I would like to have multiple SIP accounts how can I make it so SIP account 1 goes to, say extn 600 and SIP account 2 to extn 601?

Thanks


Inbound routes and outbound routes

You may also want to consider IAX trunking, which should allow you have have alls calls routed down a single registration to 2talk, rather than per SIP account. Details here




Twitter: ajobbins


dcole13

534 posts

Ultimate Geek


  #1113578 22-Aug-2014 17:13
Send private message

ajobbins:
dcole13:
ajobbins: This might be a better tutorial to follow


Hi,

Thanks for that. I am now able to dial in and out, but since I would like to have multiple SIP accounts how can I make it so SIP account 1 goes to, say extn 600 and SIP account 2 to extn 601?

Thanks


Inbound routes and outbound routes

You may also want to consider IAX trunking, which should allow you have have alls calls routed down a single registration to 2talk, rather than per SIP account. Details here


Hi,

Not all of the VoIP accounts will be on 2talk, can I still do it this way?

Thanks




Home ADSL:                                                             School: 
 


ajobbins
5052 posts

Uber Geek

Trusted

  #1113584 22-Aug-2014 17:26
Send private message

 
Hi,

Not all of the VoIP accounts will be on 2talk, can I still do it this way?

Thanks


No, and actually I should have said SIP Peering. You will need at least one registration per provider.




Twitter: ajobbins


dcole13

534 posts

Ultimate Geek


  #1113588 22-Aug-2014 17:32
Send private message

ajobbins:
 
Hi,

Not all of the VoIP accounts will be on 2talk, can I still do it this way?

Thanks


No, and actually I should have said SIP Peering. You will need at least one registration per provider.

I have registered every SIP provider, and I can call out with their individual extensions, but when I call any one of the numbers it just uses the default "exten => s,1,Dial(SIP/600)" How can I make it so I can seperate the SIP providers to go to different extensions? Do I have to replace "s" with something else?

Thanks




Home ADSL:                                                             School: 
 


 
 
 

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.
ajobbins
5052 posts

Uber Geek

Trusted

  #1113613 22-Aug-2014 18:12
Send private message

dcole13:
ajobbins:
 
Hi,

Not all of the VoIP accounts will be on 2talk, can I still do it this way?

Thanks


No, and actually I should have said SIP Peering. You will need at least one registration per provider.

I have registered every SIP provider, and I can call out with their individual extensions, but when I call any one of the numbers it just uses the default "exten => s,1,Dial(SIP/600)" How can I make it so I can seperate the SIP providers to go to different extensions? Do I have to replace "s" with something else?

Thanks


Why not use FreePBX or something to do your config? Much easier. YOu can then easily set each line as a DDI for an extension, or setup inbound routes for the numbers as necessary.




Twitter: ajobbins


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1113695 22-Aug-2014 19:56
Send private message

dcole13:
ajobbins:
 
Hi,

Not all of the VoIP accounts will be on 2talk, can I still do it this way?

Thanks


No, and actually I should have said SIP Peering. You will need at least one registration per provider.

I have registered every SIP provider, and I can call out with their individual extensions, but when I call any one of the numbers it just uses the default "exten => s,1,Dial(SIP/600)" How can I make it so I can seperate the SIP providers to go to different extensions? Do I have to replace "s" with something else?

Thanks


I'll be brutally honest here...

If you need to answer questions like that you need to sit down and find 100 - 200 hours spare and learn how Asterisk works. It's no good explaining how to do this because you need to fully understand the concepts, particularly contexts, and more importantly the security implications.

If you're not willing to invest this time I'd recommend using a FreePBX based distro, you should be able to get a good basic understanding on how things work in 10-20 hours.



dcole13

534 posts

Ultimate Geek


  #1113698 22-Aug-2014 20:00
Send private message

sbiddle:
dcole13:
ajobbins:
 
Hi,

Not all of the VoIP accounts will be on 2talk, can I still do it this way?

Thanks


No, and actually I should have said SIP Peering. You will need at least one registration per provider.

I have registered every SIP provider, and I can call out with their individual extensions, but when I call any one of the numbers it just uses the default "exten => s,1,Dial(SIP/600)" How can I make it so I can seperate the SIP providers to go to different extensions? Do I have to replace "s" with something else?

Thanks


I'll be brutally honest here...

If you need to answer questions like that you need to sit down and find 100 - 200 hours spare and learn how Asterisk works. It's no good explaining how to do this because you need to fully understand the concepts, particularly contexts, and more importantly the security implications.

If you're not willing to invest this time I'd recommend using a FreePBX based distro, you should be able to get a good basic understanding on how things work in 10-20 hours.




I would rather learn about Asterisk and read for 100-200 hours than use something that does everything for me. Do you recommend any book/resource that would help me?




Home ADSL:                                                             School: 
 


chevrolux
4962 posts

Uber Geek
Inactive user


  #1114884 24-Aug-2014 23:12
Send private message

The Official FreePBX Distro is the best option for probably 99% of businesses that want to use an Asterisk-based VoIP solution.

There really is no point sitting down and writing dial plans for hours on end when what you are trying to achieve is a fairly standard thing but is rather tricky with no Asterisk knowledge.

FreePBX will allow you to create a very complex PABX system without needing to go anywhere near Asterisk dial plans - it is far more than just a GUI. When you use the official distro you will get CentOS, Asterisk, FreePBX, Fail2ban all ready to go in 10 minutes. Then you have the option to add commercial modules (spending $75 on the Endpoint Manager is the best money you will ever spend) if you require them and also get commercial support if you need it.

dcole13

534 posts

Ultimate Geek


  #1114931 25-Aug-2014 08:43
Send private message

chevrolux: The Official FreePBX Distro is the best option for probably 99% of businesses that want to use an Asterisk-based VoIP solution.

There really is no point sitting down and writing dial plans for hours on end when what you are trying to achieve is a fairly standard thing but is rather tricky with no Asterisk knowledge.

FreePBX will allow you to create a very complex PABX system without needing to go anywhere near Asterisk dial plans - it is far more than just a GUI. When you use the official distro you will get CentOS, Asterisk, FreePBX, Fail2ban all ready to go in 10 minutes. Then you have the option to add commercial modules (spending $75 on the Endpoint Manager is the best money you will ever spend) if you require them and also get commercial support if you need it.


I corrupted my asterisk and debian install so I might just try that out. Looks a lot easier.




Home ADSL:                                                             School: 
 


dcole13

534 posts

Ultimate Geek


  #1115458 25-Aug-2014 19:54
Send private message

I'll just post here because I don't think people will like a new topic, but when I install FreePBX it seems that it doesn't install Asterisk, because when I boot it, and log in nothing pops up, so I tried to run ./start_asterisk start and all it did was say that /usr/sbin/safe_asterisk didn't exist. I'm installing with Serva Netboot if it matters.




Home ADSL:                                                             School: 
 


chevrolux
4962 posts

Uber Geek
Inactive user


  #1115467 25-Aug-2014 20:37
Send private message

Did you get the official distro from freepbx.org?

I've always installed from either USB or ISO and it literally takes 10 minutes (plus about half an hour for module updates lol) and it works every single time. You should be able to browse to the admin panel and start configuring stuff.

dcole13

534 posts

Ultimate Geek


  #1115472 25-Aug-2014 20:40
Send private message

chevrolux: Did you get the official distro from freepbx.org?

I've always installed from either USB or ISO and it literally takes 10 minutes (plus about half an hour for module updates lol) and it works every single time. You should be able to browse to the admin panel and start configuring stuff.


The PC I'm using won't boot from CD or USB so I had to use netboot.




Home ADSL:                                                             School: 
 


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.