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.




3463 posts

Uber Geek
+1 received by user: 455

Trusted

# 138954 23-Jan-2014 01:41
Send private message

Hey guys,
Just getting my new 1800 Faktortel number (Aus) setup on our AKL based PBX in a Flash (asterisk). Its all registered but when my friend in Brisbane tried to call she got just beeps and in asterisk -r i see this:

-- Executing [s@from-sip-external:1] GotoIf("SIP/202.43.66.2-00000eed", "0?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,5)
-- Executing [s@from-sip-external:5] Set("SIP/202.43.66.2-00000eed", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2014-01-23 01:35:18.170 NZDT.
-- Executing [s@from-sip-external:6] Answer("SIP/202.43.66.2-00000eed", "") in new stack
-- Executing [s@from-sip-external:7] Wait("SIP/202.43.66.2-00000eed", "2") in new stack
-- Executing [s@from-sip-external:8] Playback("SIP/202.43.66.2-00000eed", "ss-noservice") in new stack
-- <SIP/202.43.66.2-00000eed> Playing 'ss-noservice.gsm' (language 'en')
== Spawn extension (from-sip-external, s, 8) exited non-zero on 'SIP/202.43.66.2-00000eed'
-- Executing [h@from-sip-external:1] Hangup("SIP/202.43.66.2-00000eed", "") in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/202.43.66.2-00000eed'

I thought it was a bad inbound route yet I followed their guide. I then added an inbound router with all DID and CID. No help. The caller just reports beeps.

Any ideas?





Create new topic
27902 posts

Uber Geek
+1 received by user: 7385

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  # 972584 23-Jan-2014 07:39
Send private message

That shows the call coming in as anonymous, ie not matching an inbound route and therefore just hitting the from-sip-external context and being rejected with the default message.








3463 posts

Uber Geek
+1 received by user: 455

Trusted

  # 980711 5-Feb-2014 14:47
Send private message

Thanks Sbiddle. I spoke to them about this and it looks like they added a DID number. So I think the DID is 1800177551. I made that the DID on an inbound rotue but still get the same message. Even having a "all did all CID" inbound route still fails. In the trunk settings the context is "context=from-trunk". Unlike VFX they wanted me to add stuff in the context section. Not sure if that gets in the way?

Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [1800177551@from-sip-external:1] NoOp("SIP/202.43.66.5-0000109f", "Received incoming SIP connection from unknown peer to 1800177551") in new stack
-- Executing [1800177551@from-sip-external:2] Set("SIP/202.43.66.5-0000109f", "DID=1800177551") in new stack
-- Executing [1800177551@from-sip-external:3] Goto("SIP/202.43.66.5-0000109f", "s,1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/202.43.66.5-0000109f", "0?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,5)
-- Executing [s@from-sip-external:5] Set("SIP/202.43.66.5-0000109f", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2014-02-05 14:39:06.155 NZDT.
-- Executing [s@from-sip-external:6] Answer("SIP/202.43.66.5-0000109f", "") in new stack
-- Executing [s@from-sip-external:7] Wait("SIP/202.43.66.5-0000109f", "2") in new stack
-- Executing [s@from-sip-external:8] Playback("SIP/202.43.66.5-0000109f", "ss-noservice") in new stack
-- Playing 'ss-noservice.gsm' (language 'en')
== Spawn extension (from-sip-external, s, 8) exited non-zero on 'SIP/202.43.66.5-0000109f'
-- Executing [h@from-sip-external:1] Hangup("SIP/202.43.66.5-0000109f", "") in new stack
== Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/202.43.66.5-0000109f'
pbx*CLI>






 
 
 
 


27902 posts

Uber Geek
+1 received by user: 7385

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  # 980864 5-Feb-2014 17:25
Send private message

It's still an unknown peer so gets treated as an anonymous call. My Default FreePBX blocks anonymous SIP peers for security reasons so it simply treats it as a blocked call and plays the ss-noservice file.



3463 posts

Uber Geek
+1 received by user: 455

Trusted

  # 980903 5-Feb-2014 18:08
Send private message

OK so the question is, how do I make it a known peer? This is what asterisk -r says:

VFX/YYYY 58.28.20.150 N 5060 Unmonitored
ftel/XXXX 202.43.66.3 N 5060 OK (67 ms)

I'm not sure why VFX says unmonitored but it works OK. In the faktortel trunk settings it has this too:

type=peer

Do you think Faktortel need to change something?





4024 posts

Uber Geek
+1 received by user: 1740

Subscriber

  # 980955 5-Feb-2014 19:53
Send private message

I always use type=friend for trunks but not really sure if it would make a difference.

It sounds like Asterisk just can't match any incoming calls to either users or known peers so it is defaulting to the default context which I guess is just flicking it through to the anonymous.

When incoming calls hit the box are they coming from the correct IP for faktortel's server?



3463 posts

Uber Geek
+1 received by user: 455

Trusted

  # 981551 6-Feb-2014 22:07
Send private message

Cool thanks for the tips guys. Faktortel support came back and apparently the issue was that the userconext should be the 095 number not the 1800 number. I changed it in the trunk settings and its working now!





Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Xero announces new smarter tools, push into the North American market
Posted 19-Jun-2019 17:20


New report by Unisys shows New Zealanders want action by social platform companies and police to monitor social media sites
Posted 19-Jun-2019 17:09


ASB adds Google Pay option to contactless payments
Posted 19-Jun-2019 17:05


New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35


Air New Zealand uses drones to inspect aircraft
Posted 17-Jun-2019 15:39


TCL Electronics launches its first-ever 8K TV
Posted 17-Jun-2019 15:18


E-scooter share scheme launches in Wellington
Posted 17-Jun-2019 12:34


Anyone can broadcast with Kordia Pop Up TV
Posted 13-Jun-2019 10:51


Volvo and Uber present production vehicle ready for self-driving
Posted 13-Jun-2019 10:47


100,000 customers connected to fibre broadband network through Enable
Posted 13-Jun-2019 10:35


5G uptake even faster than expected
Posted 12-Jun-2019 10:01


Xbox showcases 60 anticipated games
Posted 10-Jun-2019 20:24


Trend Micro Turns Public Hotspots into Secure Networks with WiFi Protection for Mobile Devices
Posted 5-Jun-2019 13:24


Bold UK spinoff for beauty software company Flossie
Posted 2-Jun-2019 14:10


Amazon Introduces Echo Show 5
Posted 1-Jun-2019 15:32



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.