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 
Aaroona

3196 posts

Uber Geek


  #356529 26-Jul-2010 14:09
Send private message

ChillingSilence: Under "Inbound Routes" create a new one, give it a description of something like "Catch All".

Scroll down, find your Ext, and set that as the Destination.

Hit Submit and apply all changes :)


See thats what I thought.. but that doesnt work. :S



ChillingSilence
301 posts

Ultimate Geek


  #356530 26-Jul-2010 14:11
Send private message

What other inbound routes do you have?

The other thing to check is your codecs that you're using. From the console, run:
asterisk -rx 'core show translation recalc 1'

It should show you all the codecs that your system supports. Make sure that you've not accidentally restricted it to something like g729 when you don't have it on your box.

Do you have a local DDI or have you got yourself one of the free 028 numbers?

Aaroona

3196 posts

Uber Geek


  #356535 26-Jul-2010 14:16
Send private message

ChillingSilence: What other inbound routes do you have?

The other thing to check is your codecs that you're using. From the console, run:
asterisk -rx 'core show translation recalc 1'

It should show you all the codecs that your system supports. Make sure that you've not accidentally restricted it to something like g729 when you don't have it on your box.

Do you have a local DDI or have you got yourself one of the free 028 numbers?


I did have a local DDI number for a bit, but that was only for a month. Right now I'm trying to use an 028 number, because basically I want it so I can just change the details and move over to slingshot, so I'm not without a homeline for days on end till I get it sorted.


I checked the codecs, and they seem to be fine, they all match up and should work...

would having an 028 number cause an issue?



ChillingSilence
301 posts

Ultimate Geek


  #356536 26-Jul-2010 14:18
Send private message

It shouldn't, but it'll be costing you every time you try and ring it ;)

Post your trunk config here, minus the passwords.

So, just to clarify, you have just the *one* catch-all inbound route? Can you make a call and post the asterisk output again please, now you've got that?

Aaroona

3196 posts

Uber Geek


  #356544 26-Jul-2010 14:32
Send private message

ChillingSilence: It shouldn't, but it'll be costing you every time you try and ring it ;)

Post your trunk config here, minus the passwords.

So, just to clarify, you have just the *one* catch-all inbound route? Can you make a call and post the asterisk output again please, now you've got that?


Thats alright, I'm borrowing a mates 028 account as well, so it doesnt cost :P


here is the trunk config: https://cdn.geekzone.co.nz/imagessubs/blog02334323795395ba5a2a53514795a422.jpg

type=friend
username=02825502572
fromuser=02825502572
secret=mysecret
host=2talk.co.nz
context=default
dtmfmode=rfc2833
disallow=all
allow=ilbc&gsm&alaw&ulaw
nat=yes
canreinvite=no
insecure=very


and the inbound route config:
https://cdn.geekzone.co.nz/imagessubs/blog3f022203e09e302fc477d123020fbe09.jpg


It's also worth noting that if I use the register string from 2talks website phonenumber:password@2talk.co.nz/phonenumber  it goes to the 2talk voicemail system for my number.

If I use phonenumber:password@2talk.co.nz it goes the goodbye messages.


So I will do a test with both, and give you the output:

with phonenumber in the register string:

Connected to Asterisk 1.6.0.26-FONCORE-r78 currently running on trixbox1 (pid = 2555)
Verbosity is at least 3
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
  == Using SIP VRTP TOS bits 136
  == Using SIP VRTP CoS mark 6
trixbox1*CLI>


Without the number in the string:

Connected to Asterisk 1.6.0.26-FONCORE-r78 currently running on trixbox1 (pid = 2555)
Verbosity is at least 3
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
  == Using SIP VRTP TOS bits 136
  == Using SIP VRTP CoS mark 6
    -- Executing [s@default:1] Playback("SIP/2talk-0000000e", "vm-goodbye") in new stack
    -- <SIP/2talk-0000000e> Playing 'vm-goodbye.gsm' (language 'en')
    -- Executing [s@default:2] Macro("SIP/2talk-0000000e", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2talk-0000000e", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2talk-0000000e", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2talk-0000000e", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/2talk-0000000e", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2talk-0000000e' in macro 'hangupcall'
  == Spawn extension (default, s, 2) exited non-zero on 'SIP/2talk-0000000e'
trixbox1*CLI>

ChillingSilence
301 posts

Ultimate Geek


  #356546 26-Jul-2010 14:36
Send private message

Take out the ilbc&gsm from the trunk

It's a bit of a concern it plays "vm-goodbye". I'm not sure if that's voicemail-specific or if it's also used as the generic "goodbye". Can you also run:
asterisk -rx 'sip show peers'

It should show your Desktop Ext as "OK (5ms)" for example.

One thing you can try - Add a Misc Destionation
Call it "Echo Test"
Dial: *43
Submit that

Adjust your Inbound route so that it goes through to the Echo Test instead of your Ext, then try calling, and post the asterisk log output.

Aaroona

3196 posts

Uber Geek


  #356559 26-Jul-2010 14:52
Send private message

ChillingSilence: Take out the ilbc&gsm from the trunk

It's a bit of a concern it plays "vm-goodbye". I'm not sure if that's voicemail-specific or if it's also used as the generic "goodbye". Can you also run:
asterisk -rx 'sip show peers'

It should show your Desktop Ext as "OK (5ms)" for example.

One thing you can try - Add a Misc Destionation
Call it "Echo Test"
Dial: *43
Submit that

Adjust your Inbound route so that it goes through to the Echo Test instead of your Ext, then try calling, and post the asterisk log output.


My account is showing up fine:


[trixbox1.localdomain ~]# [trixbox1.localdomain ~]# asterisk -rx 'sip show peers'
Name/username              Host            Dyn Nat ACL Port     Status
2talk/02825502572          202.180.76.163       N      5060     Unmonitored
103                        (Unspecified)    D   N   A  5060     UNKNOWN
101/101                    192.168.0.5      D   N   A  48640    OK (103 ms)
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]


I couldnt find that Misc Destination option you were talking about..

There was custom destination and what not, but that didnt work.. So I set the inbound route to go to the phonebook directory, and tried other options like playing hold music and that didnt work

 
 
 

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.
ChillingSilence
301 posts

Ultimate Geek


  #356563 26-Jul-2010 14:57
Send private message

So it shows the exact same thing when you dial through and go to the Phonebook?

You can go into Tools --> Module Admin --> Check in there and make sure Misc Destination is installed and enabled :)

Aaroona

3196 posts

Uber Geek


  #356565 26-Jul-2010 15:00
Send private message

ChillingSilence: So it shows the exact same thing when you dial through and go to the Phonebook?

You can go into Tools --> Module Admin --> Check in there and make sure Misc Destination is installed and enabled :)


Checked there too, still nothing toat says "Misc Destinations" but there was a panel for Custom Destinations, but that again, doesnt work.


Oh yes, sorry forgot to post that, but yes, it shows the same messages

Connected to Asterisk 1.6.0.26-FONCORE-r78 currently running on trixbox1 (pid = 2555)
Verbosity is at least 3
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
  == Using SIP VRTP TOS bits 136
  == Using SIP VRTP CoS mark 6
    -- Executing [s@default:1] Playback("SIP/2talk-0000000f", "vm-goodbye") in new stack
    -- <SIP/2talk-0000000f> Playing 'vm-goodbye.gsm' (language 'en')
    -- Executing [s@default:2] Macro("SIP/2talk-0000000f", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2talk-0000000f", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2talk-0000000f", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2talk-0000000f", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/2talk-0000000f", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2talk-0000000f' in macro 'hangupcall'
  == Spawn extension (default, s, 2) exited non-zero on 'SIP/2talk-0000000f'
  == Manager 'admin' logged on from 127.0.0.1
  == Manager 'admin' logged off from 127.0.0.1
    -- ast_get_srv: SRV lookup for '_sip._UDP.2talk.co.nz' mapped to host fep8.2talk.co.nz, port 5060

Aaroona

3196 posts

Uber Geek


  #356567 26-Jul-2010 15:02
Send private message

Sorry also forgot to mention. The moment I take off those extra codecs, it starts going to the 2talk voicemail box. then when I put them back, it starts saying goodbye :|

ChillingSilence
301 posts

Ultimate Geek


  #356568 26-Jul-2010 15:03
Send private message

Sorry, just realized you're using "default" as your context. Change that to "from-trunk" and it'll work :)

Aaroona

3196 posts

Uber Geek


  #356570 26-Jul-2010 15:05
Send private message

ChillingSilence: Sorry, just realized you're using "default" as your context. Change that to "from-trunk" and it'll work :)


Mate, you are brilliant! That was it. Such a tiny detail. Just made a call without any issues.

One thing I am curious about those is the codec thing.. but thats okay, that can be ironed out at a later date... Will have to read up about it a bit more.. Thanks for that though. awesome!

ChillingSilence
301 posts

Ultimate Geek


  #356574 26-Jul-2010 15:08
Send private message

Make sure that you've got them all enabled in the 2talk control panel. You can set your preferences in there. I personally like the iLBC codec the most myself. It's lower bandwidth, better than gsm, but also free. 2talk support it but WxC do not. You've just gotta make sure that your box also supports it.

Glad we got ya sorted ;)

Aaroona

3196 posts

Uber Geek


  #357313 27-Jul-2010 19:17
Send private message

I seem to be having issues getting my iPhone to work over 3G now :( it works over WiFi no problems, but i cant get any audio over 3G. It rings and registers fine, but just can't hear a damn thing. :( any ideas?

1 | 2 
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.