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


23681 posts

Uber Geek


#11467 24-Jan-2007 22:36
Send private message

using 1.4.0-beta3 at the moment on there.

Its commented out at the moment because its not working, sending all calls into the 1000 and getting the message and hangup.

nnn is the last digits of my number

exten => 6499744nnn,1,NoOp(${CALLERID}) ; log callerID string
exten => 6499744nnn,2,GotoIf($["foo${CALLERIDNUM}" = "foo"]?1000)
exten => 6499744nnn,3,Dial(SIP/richard,25,tr)

exten => 6499744nnn,4,Hangup

exten => 6499744nnn,1000,Answer
exten => 6499744nnn,1001,Wait(1)
exten => 6499744nnn,1002,Playback(privacy-screening-unidentified-calls)
exten => 6499744nnn,1003,Playback(goodbye)
exten => 6499744nnn,1004,Hangup

on incoming calls I get in the console

-- Executing [6499744nnn@mainmenu:1] NoOp("SIP/6499743yyy-081c4320", "") in new stack
-- Executing [6499744nnn@mainmenu:2] GotoIf("SIP/6499743yyy-081c4320", "1?1000") in new stack
-- Goto (mainmenu,6499744nnn,1000)
-- Executing [6499744nnn@mainmenu:1000] Answer("SIP/6499743yyy-081c4320", "") in new stack
-- Executing [6499744nnn@mainmenu:1001] Wait("SIP/6499743yyy-081c4320", "1") in new stack
-- Executing [6499744nnn@mainmenu:1002] Playback("SIP/6499743yyy-081c4320", "privacy-screening-unidentified-calls") in new stack
-- Playing 'privacy-screening-unidentified-calls' (language 'en')
== Spawn extension (mainmenu, 6499744nnn, 1002) exited non-zero on 'SIP/6499743yyy-081c4320'

The bold bit is my flatmates italk number which makes no sense since I am calling in on the old 025 mobile. Same thing goes on in there with or without 0197

if I change to having

exten => 6499744123,1,Dial(SIP/richard,30,Tr)

then calls come thru to my ata just fine, with caller ID if allowed, and nothing if withheld.


Create new topic

23681 posts

Uber Geek


  #58873 26-Jan-2007 00:00
Send private message

Found it

changed that line to

exten => 6499744nnn,2,GotoIf($["foo${CALLERID(num)}" = "foo"]?1000) and it worked.


Create new topic

News »

Huawei launches IdeaHub Pro in New Zealand
Posted 27-Oct-2020 16:41

Southland-based IT specialist providing virtual services worldwide
Posted 27-Oct-2020 15:55

NASA discovers water on sunlit surface of Moon
Posted 27-Oct-2020 08:30

Huawei introduces new features to Petal Search, Maps and Docs
Posted 26-Oct-2020 18:05

Nokia selected by NASA to build first ever cellular network on the Moon
Posted 21-Oct-2020 08:34

Nanoleaf enhances lighting line with launch of Triangles and Mini Triangles
Posted 17-Oct-2020 20:18

Synology unveils DS16211+
Posted 17-Oct-2020 20:12

Ingram Micro introduces FootfallCam to New Zealand channel
Posted 17-Oct-2020 20:06

Dropbox adopts Virtual First working policy
Posted 17-Oct-2020 19:47

OPPO announces Reno4 Series 5G line-up in NZ
Posted 16-Oct-2020 08:52

Microsoft Highway to a Hundred expands to Asia Pacific
Posted 14-Oct-2020 09:34

Spark turns on 5G in Auckland
Posted 14-Oct-2020 09:29

AMD Launches AMD Ryzen 5000 Series Desktop Processors
Posted 9-Oct-2020 10:13

Teletrac Navman launches integrated multi-camera solution for transport and logistics industry
Posted 8-Oct-2020 10:57

Farmside hits 10,000 RBI customers
Posted 7-Oct-2020 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.