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.


gomez

84 posts

Master Geek


#80846 5-Apr-2011 06:24
Send private message


Hi everyone,

I've been having some issues with Asterisk/FreePBX and trying to get a 2talk SIP trunk to work, until last night I had some major breakthroughs, but one remaining hurdle seems to to be getting in the way ... Outgoing calls.

For testing I have been using X-Lite which seems to be doing ... hmmm ... Okay for the job, but will have to do until I get a proper VoIP phone in the house.

When I attempt to make an outgoing call to my mobile, or any landline for that matter I can see the call heading out in the Asterisk CLI, but about 15 seconds later, I get "All circuits are busy at present, please try again later".

Inbound calls are working perfectly.

For my PEER Details in Asterisk I have ...

regseconds=180
registertimeout=20
register=03xxxxxxx:password@2talk.co.nz/03xxxxxx
port=5060
language=en
dtmfmode=rfc2833
disallow=all
bindport=5060
allowoverlap=no
allow=ulaw&alaw&gsm&ilbc
nat=yes
insecure=very

Does anyone have any idea what may be restricting the calls, and what I should be checking for?

Many thanks.

Alex


Create new topic
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #455393 5-Apr-2011 08:35
Send private message

Do 2talk support gsm and ilbc?




philelvey
104 posts

Master Geek


  #455482 5-Apr-2011 12:33
Send private message

Try this trunk config:

[Peer Deatils]
type=friend
username=09XXXXXXX
fromuser=09XXXXXXX
secret=password
host=2talk.co.nz
context=from-trunk
dtmfmode=auto
disallow=all
allow=alaw&ulaw
nat=yes
canreinvite=no
insecure=invite,port


Register string:
09XXXXXXX:password@2talk.co.nz/09XXXXXXX



In your original trunk setup, you had the register value under Peer details by the looks.

Take it out of there and put it in the designated field in FreePBX 

That's a tried and true trunk setup - let me know if it doesn't work

Cheers 

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #455515 5-Apr-2011 13:18
Send private message

dtmfmode=auto has the potential to create lots of issues. dtmfmode=rfc2833 should be used unless you know exactly what you're doing.



gomez

84 posts

Master Geek


#455623 5-Apr-2011 18:45
Send private message

IT WORKS!

Many thanks for the PEER details config. It works perfectly, incoming and outgoing calls all working perfectly!

Many many many thanks for that!

If I were up there I'd definitely shout a beer or few for that advice. :)

philelvey
104 posts

Master Geek


  #455625 5-Apr-2011 18:55
Send private message

Great, glad you got it all working.

Steve thanks for the note about dtmf mode.  What sort of issues have you seen with that value?

I have in the past used dtmfmode=rfc2833 but used the auto setting recently as was having some dtmf issues. 

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #455638 5-Apr-2011 20:07
Send private message

philelvey: Great, glad you got it all working.

Steve thanks for the note about dtmf mode.  What sort of issues have you seen with that value?

I have in the past used dtmfmode=rfc2833 but used the auto setting recently as was having some dtmf issues. 


You should really only ever be using RFC2833 for DTMF and I've never come across any system where RFC2833 didn't work unless things were configured incorrectly somewhere such as incorrect configuration on SIP peers.

Inband obviously can't be used with any codecs apart from G711, the auto mode simply looks for RFC2833 support in the SDP and if that's not there it'll use inband. This can create big problems if you're supporting codecs other than G711 where the scenario of a G.729 connection means DTMF won't work.


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.