NO JOY Single digits dialing ringgroups

balefireeyed

Member
Joined
Sep 5, 2013
Messages
53
Reaction score
3
PBX in a Flash GREEN Status Program

│ PIAF Installed Version = 2.0.6.4 under *HARDWARE* │
│ FreePBX Version = 2.10.0.2 │
│ Running Asterisk Version = 1.8.23.0 │
│ Asterisk Source Version = 1.8.23.0 │
│ Dahdi Source Version = 2.7.0 │
│ Libpri Source Version = 1.4.12 │
│ IP Address = 192.168.11.254 on eth0 │
│ Operating System = CentOS release 6.4 (Final) │
│ Kernel Version = 2.6.32-358.6.2.el6.i686 - 32 Bit
What's happening is, if a user dials a single digit, a corepsponding ringgroup is dialed. if a user enters 1 on the phone and dials that number, then ringgroup 600 is dialed. If 2 is dialed, ringgroup 601 is dialed, and so on. It doesn't matter what type of phone, it seems, as we've tried it on spa504g's as well as snom phones.
I'll follow up with a call trace and extension config file
 

balefireeyed

Member
Joined
Sep 5, 2013
Messages
53
Reaction score
3
Here's a scrubbed call trace:
Here's a scrubbed call trace:

Code:
    -- Executing [1@from-internal:1] NoOp("SIP/4041-000018d8", "(Fake Lab LLC) Changing cid to 5551235554 <4041>") in new stack
    -- Executing [1@from-internal:2] Set("SIP/4041-000018d8", "CALLERID(name)=5551235554") in new stack
    -- Executing [1@from-internal:3] Set("SIP/4041-000018d8", "CALLERID(num)=4041") in new stack
    -- Executing [1@from-internal:4] Goto("SIP/4041-000018d8", "ext-group,600,1") in new stack
    -- Goto (ext-group,600,1)
    -- Executing [600@ext-group:1] Macro("SIP/4041-000018d8", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/4041-000018d8", "AMPUSER=4041") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/4041-000018d8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/4041-000018d8", "1?Set(REALCALLERIDNUM=4041)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/4041-000018d8", "AMPUSER=4041") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/4041-000018d8", "AMPUSERCIDNAME=Test") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/4041-000018d8", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/4041-000018d8", "AMPUSERCID=4041") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/4041-000018d8", "CALLERID(all)="Test" <4041>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/4041-000018d8", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/4041-000018d8", "0?Set(GROUP(concurrency_limit)=4041)") in new stack
    -- Executing [s@macro-user-callerid:11] GosubIf("SIP/4041-000018d8", "0?sub-ccss,s,1(ext-group,1)") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("SIP/4041-000018d8", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("SIP/4041-000018d8", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:14] Set("SIP/4041-000018d8", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/4041-000018d8", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,26)
    -- Executing [s@macro-user-callerid:26] Set("SIP/4041-000018d8", "CALLERID(number)=4041") in new stack
    -- Executing [s@macro-user-callerid:27] Set("SIP/4041-000018d8", "CALLERID(name)=Test") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/4041-000018d8", "CHANNEL(language)=en") in new stack
    -- Executing [600@ext-group:2] Macro("SIP/4041-000018d8", "blkvm-setifempty,") in new stack
    -- Executing [s@macro-blkvm-setifempty:1] GotoIf("SIP/4041-000018d8", "1?init") in new stack
    -- Goto (macro-blkvm-setifempty,s,4)
    -- Executing [s@macro-blkvm-setifempty:4] Set("SIP/4041-000018d8", "__BLKVM_CHANNEL=SIP/4041-000018d8") in new stack
    -- Executing [s@macro-blkvm-setifempty:5] Set("SIP/4041-000018d8", "SHARED(BLKVM,SIP/4041-000018d8)=TRUE") in new stack
    -- Executing [s@macro-blkvm-setifempty:6] Set("SIP/4041-000018d8", "GOSUB_RETVAL=TRUE") in new stack
    -- Executing [s@macro-blkvm-setifempty:7] MacroExit("SIP/4041-000018d8", "") in new stack
    -- Executing [600@ext-group:3] GotoIf("SIP/4041-000018d8", "1?skipov") in new stack
    -- Goto (ext-group,600,6)
    -- Executing [600@ext-group:6] Set("SIP/4041-000018d8", "RRNODEST=") in new stack
    -- Executing [600@ext-group:7] Set("SIP/4041-000018d8", "__NODEST=600") in new stack
    -- Executing [600@ext-group:8] GosubIf("SIP/4041-000018d8", "0?sub-rgsetcid,s,1()") in new stack
    -- Executing [600@ext-group:9] Macro("SIP/4041-000018d8", "prepend-cid,Fake LAB LLC/") in new stack
    -- Executing [s@macro-prepend-cid:1] GotoIf("SIP/4041-000018d8", "1?REPCID") in new stack
 

balefireeyed

Member
Joined
Sep 5, 2013
Messages
53
Reaction score
3
sorry, limit on characters...

Code:
    -- Goto (macro-prepend-cid,s,5)
    -- Executing [s@macro-prepend-cid:5] Set("SIP/4041-000018d8", "_RGPREFIX=Fake LAB LLC/") in new stack
    -- Executing [s@macro-prepend-cid:6] Set("SIP/4041-000018d8", "CALLERID(name)=Fake LAB LLC/Test") in new stack
    -- Executing [600@ext-group:10] Gosub("SIP/4041-000018d8", "sub-record-check,s,1(rg,600,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/4041-000018d8", "1?check") in new stack
    -- Goto (sub-record-check,s,3)
    -- Executing [s@sub-record-check:3] Set("SIP/4041-000018d8", "MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:4] GotoIf("SIP/4041-000018d8", "1?next") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] ExecIf("SIP/4041-000018d8", "0?Return()") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/4041-000018d8", "0?rg,1") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/4041-000018d8", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:10] ExecIf("SIP/4041-000018d8", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [s@sub-record-check:11] Set("SIP/4041-000018d8", "NOW=1390507523") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/4041-000018d8", "__DAY=23") in new stack
    -- Executing [s@sub-record-check:13] Set("SIP/4041-000018d8", "__MONTH=01") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/4041-000018d8", "__YEAR=2014") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/4041-000018d8", "__TIMESTR=20140123-140523") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/4041-000018d8", "__FROMEXTEN=4041") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/4041-000018d8", "__CALLFILENAME=rg-600-4041-20140123-140523-1390507523.6471") in new stack
    -- Executing [s@sub-record-check:18] Goto("SIP/4041-000018d8", "rg,1") in new stack
    -- Goto (sub-record-check,rg,1)
    -- Executing [rg@sub-record-check:1] GosubIf("SIP/4041-000018d8", "0?record,1(rg,dontcare,4041)") in new stack
    -- Executing [rg@sub-record-check:2] Return("SIP/4041-000018d8", "") in new stack
    -- Executing [600@ext-group:11] Set("SIP/4041-000018d8", "RingGroupMethod=ringall") in new stack
    -- Executing [600@ext-group:12] Macro("SIP/4041-000018d8", "dial,20,tr,4044-4042") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/4041-000018d8", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/4041-000018d8", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is 'Fake LAB LLC/Test' number is '4041'
      > dialparties.agi: USE_CONFIRMATION:  'FALSE'
      > dialparties.agi: RINGGROUP_INDEX:  ''
dialparties.agi: Methodology of ring is  'ringall'
    -- dialparties.agi: Added extension 4044 to extension map
    -- dialparties.agi: Added extension 4042 to extension map
    -- dialparties.agi: Extension 4044 cf is disabled
    -- dialparties.agi: Extension 4042 cf is disabled
    -- dialparties.agi: Extension 4044 do not disturb is disabled
    -- dialparties.agi: Extension 4042 do not disturb is disabled
      > dialparties.agi: extnum 4044 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/4044 to 4041
      > dialparties.agi: extnum 4042 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
    -- dialparties.agi: dbset CALLTRACE/4042 to 4041
    -- dialparties.agi: Filtered ARG3: 4044-4042
      > dialparties.agi: NODEST: 600 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
      > dialparties.agi: NODEST: 600 blkvm enabled macro already in dialopts: trM(auto-blkvm)
    -- <SIP/4041-000018d8>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/4041-000018d8", "SIP/4044&SIP/4042,20,trM(auto-blkvm)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/4044
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/4042
    -- SIP/4044-000018d9 connected line has changed. Saving it until answer for SIP/4041-000018d8
    -- SIP/4042-000018da connected line has changed. Saving it until answer for SIP/4041-000018d8
  == Extension Changed 4042[ext-local] new state Ringing for Notify User 4044
    -- SIP/4042-000018da is ringing
    -- SIP/4044-000018d9 is ringing
    -- SIP/4042-000018da is ringing
    -- SIP/4044-000018d9 is ringing
    -- SIP/4042-000018da is ringing
    -- SIP/4044-000018d9 is ringing
    -- SIP/4044-000018d9 connected line has changed. Saving it until answer for SIP/4041-000018d8
    -- SIP/4044-000018d9 answered SIP/4041-000018d8
    -- Executing [s@macro-auto-blkvm:1] Set("SIP/4044-000018d9", "__MACRO_RESULT=") in new stack
    -- Executing [s@macro-auto-blkvm:2] Macro("SIP/4044-000018d9", "blkvm-clr,") in new stack
  == Extension Changed 4042[ext-local] new state Idle for Notify User 4044
    -- Executing [s@macro-blkvm-clr:1] Set("SIP/4044-000018d9", "SHARED(BLKVM,SIP/4041-000018d8)=") in new stack
    -- Executing [s@macro-blkvm-clr:2] Set("SIP/4044-000018d9", "GOSUB_RETVAL=") in new stack
    -- Executing [s@macro-blkvm-clr:3] MacroExit("SIP/4044-000018d9", "") in new stack
    -- Executing [s@macro-auto-blkvm:3] ExecIf("SIP/4044-000018d9", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=4044)") in new stack
    -- Executing [s@macro-auto-blkvm:4] ExecIf("SIP/4044-000018d9", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=Reception (OffiCenters))") in new stack
    -- Executing [h@macro-dial:1] Macro("SIP/4041-000018d8", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/4041-000018d8", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] Hangup("SIP/4041-000018d8", "") in new stack
  == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/4041-000018d8' in macro 'hangupcall'
  == Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/4041-000018d8'
  == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/4041-000018d8' in macro 'dial'
  == Spawn extension (ext-group, 600, 12) exited non-zero on 'SIP/4041-000018d8'
 

balefireeyed

Member
Joined
Sep 5, 2013
Messages
53
Reaction score
3
I've never changed it, but here's my /etc/asterisk/extensions_custom.conf
Code:
; This file contains example extensions_custom.conf entries.
; extensions_custom.conf should be used to include customizations
; to AMP's Asterisk dialplan.
; Extensions in AMP have access to the 'from-internal' context.
; The context 'from-internal-custom' is included in 'from-internal' by default
[from-internal-custom]
exten => 1234,1,Playback(demo-congrats)        ; extensions can dial 1234
exten => 1234,2,Hangup()
exten => h,1,Hangup()
include => custom-recordme                      ; extensions can also dial 5678
; custom-count2four,s,1 can be used as a custom target for
; a Digital Receptionist menu or a Ring Group
[custom-count2four]
exten => s,1,SayDigits(1234)
exten => s,2,Hangup
; custom-recordme,5678,1 can be used as a custom target for
; a Digital Receptionist menu or a Ring Group
[custom-recordme]
exten => 5678,1,Wait(2)
exten => 5678,2,Record(/tmp/asterisk-recording:gsm)
exten => 5678,3,Wait(2)
exten => 5678,4,Playback(/tmp/asterisk-recording)
exten => 5678,5,Wait(2)
exten => 5678,6,Hangup
; This macro is for dev purposes and just dumps channel/app variables.  Useful when designing new contexts.
[macro-dumpvars]
exten => s,1,Noop(ACCOUNTCODE=${ACCOUNTCODE})
exten => s,2,Noop(ANSWEREDTIME=${ANSWEREDTIME})
exten => s,3,Noop(BLINDTRANSFER=${BLINDTRANSFER})
exten => s,4,Noop(CALLERID=${CALLERID(all)})
exten => s,5,Noop(CALLERID(name)=${CALLERID(name)})
exten => s,6,Noop(CALLERID(number)=${CALLERID(number)})
exten => s,7,Noop(CALLINGPRES=${CALLINGPRES})
exten => s,8,Noop(CHANNEL=${CHANNEL})
exten => s,9,Noop(CONTEXT=${CONTEXT})
exten => s,10,Noop(DATETIME=${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)})
exten => s,11,Noop(DIALEDPEERNAME=${DIALEDPEERNAME})
exten => s,12,Noop(DIALEDPEERNUMBER=${DIALEDPEERNUMBER})
exten => s,13,Noop(DIALEDTIME=${DIALEDTIME})
exten => s,14,Noop(DIALSTATUS=${DIALSTATUS})
exten => s,15,Noop(DNID=${CALLERID(dnid)})
exten => s,16,Noop(EPOCH=${EPOCH})
exten => s,17,Noop(EXTEN=${EXTEN})
exten => s,18,Noop(HANGUPCAUSE=${HANGUPCAUSE})
exten => s,19,Noop(INVALID_EXTEN=${INVALID_EXTEN})
exten => s,20,Noop(LANGUAGE=${LANGUAGE()})
exten => s,21,Noop(MEETMESECS=${MEETMESECS})
exten => s,22,Noop(PRIORITY=${PRIORITY})
exten => s,23,Noop(RDNIS=${CALLERID(rdnis)}})
exten => s,24,Noop(SIPDOMAIN=${SIPDOMAIN})
exten => s,25,Noop(SIP_CODEC=${SIP_CODEC})
exten => s,26,Noop(SIPCALLID=${SIPCALLID})
exten => s,27,Noop(SIPUSERAGENT=${SIPUSERAGENT})
exten => s,29,Noop(TXTCIDNAME=${TXTCIDNAME})
exten => s,30,Noop(UNIQUEID=${UNIQUEID})
exten => s,31,Noop(TOUCH_MONITOR=${TOUCH_MONITOR})
exten => s,32,Noop(MACRO_CONTEXT=${MACRO_CONTEXT})
exten => s,33,Noop(MACRO_EXTEN=${MACRO_EXTEN})
exten => s,34,Noop(MACRO_PRIORITY=${MACRO_PRIORITY})
;[google-out]
; you will need to replace [email protected] with something real
exten => 701,1,Dial(gtalk/gtalk_account/[email protected])
[google-in]
exten => s,1,NoOp( Call from Gtalk )
exten => s,n,Set(CALLERID(name)="From Google Talk")
exten => s,n,Dial(SIP/100) ; this can be a ringgroup or direct extension
;jabber notification of inbound call
exten => 703,1,JABBERSend(gtalk_account,[email protected],Inbound call from ${CALLERID(all)})
Any ideas how I can stop the system from doing this?
 

balefireeyed

Member
Joined
Sep 5, 2013
Messages
53
Reaction score
3
I did notice that; I thought that purple was installed, but there it is. Nope, incredible PBX is not installed, just base PIAF system.
 

Members online

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top