All pastes #2118115 Raw Edit

Mine

public text v1 · immutable
#2118115 ·published 2012-02-11 19:44 UTC
rendered paste body
    -- Executing [s@macro-user-callerid:8] Set("SIP/7159-00000009", "CALLERID(all)="Ian" <7159>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/7159-00000009", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:10] ExecIf("SIP/7159-00000009", "0?Set(GROUP(concurrency_limit)=7159)") in new stack
    -- Executing [s@macro-user-callerid:11] ExecIf("SIP/7159-00000009", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:12] GosubIf("SIP/7159-00000009", "7?sub-ccss,s,1(from-internal,5555)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/7159-00000009", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/7159-00000009", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/7159-00000009", "0?monitor_config,1(from-internal,5555):monitor_default,1(from-internal,5555)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/7159-00000009", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/7159-00000009", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/7159-00000009", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("SIP/7159-00000009", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:14] Set("SIP/7159-00000009", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/7159-00000009", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,26)
    -- Executing [s@macro-user-callerid:26] Set("SIP/7159-00000009", "CALLERID(number)=7159") in new stack
    -- Executing [s@macro-user-callerid:27] Set("SIP/7159-00000009", "CALLERID(name)=Ian") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/7159-00000009", "CHANNEL(language)=en") in new stack
    -- Executing [5555@from-internal:2] Set("SIP/7159-00000009", "MEETME_ROOMNUM=5555") in new stack
    -- Executing [5555@from-internal:3] Set("SIP/7159-00000009", "MAX_PARTICIPANTS=0") in new stack
    -- Executing [5555@from-internal:4] Set("SIP/7159-00000009", "MEETME_MUSIC=IAN") in new stack
    -- Executing [5555@from-internal:5] Gosub("SIP/7159-00000009", "sub-record-check,s,1(conf,5555,never)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/7159-00000009", "1?check") in new stack
    -- Goto (sub-record-check,s,3)
    -- Executing [s@sub-record-check:3] Set("SIP/7159-00000009", "MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:4] GotoIf("SIP/7159-00000009", "1?next") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] ExecIf("SIP/7159-00000009", "0?Return()") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/7159-00000009", "0?conf,1") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/7159-00000009", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:10] ExecIf("SIP/7159-00000009", "1?Set(__REC_POLICY_MODE=never)") in new stack
    -- Executing [s@sub-record-check:11] Set("SIP/7159-00000009", "NOW=1328987957") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/7159-00000009", "__DAY=11") in new stack
    -- Executing [s@sub-record-check:13] Set("SIP/7159-00000009", "__MONTH=02") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/7159-00000009", "__YEAR=2012") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/7159-00000009", "__TIMESTR=20120211-141917") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/7159-00000009", "__FROMEXTEN=7159") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/7159-00000009", "__CALLFILENAME=conf-5555-7159-20120211-141917-1328987957.9") in new stack
    -- Executing [s@sub-record-check:18] Goto("SIP/7159-00000009", "conf,1") in new stack
    -- Goto (sub-record-check,conf,1)
    -- Executing [conf@sub-record-check:1] Gosub("SIP/7159-00000009", "recconf,1(conf,5555,5555)") in new stack
    -- Executing [recconf@sub-record-check:1] Set("SIP/7159-00000009", "__CALLFILENAME=") in new stack
    -- Executing [recconf@sub-record-check:2] ExecIf("SIP/7159-00000009", "0?Set(DB(RECCONF/5555)=)") in new stack
    -- Executing [recconf@sub-record-check:3] Set("SIP/7159-00000009", "MEETME_RECORDINGFILE=/var/spool/asterisk/monitor/2012/02/11/") in new stack
    -- Executing [recconf@sub-record-check:4] Set("SIP/7159-00000009", "MEETME_RECORDINGFORMAT=wav") in new stack
    -- Executing [recconf@sub-record-check:5] ExecIf("SIP/7159-00000009", "0") in new stack
    -- Executing [recconf@sub-record-check:6] Set("SIP/7159-00000009", "__REC_STATUS=RECORDING") in new stack
    -- Executing [recconf@sub-record-check:7] Set("SIP/7159-00000009", "CDR(recordingfile)=.wav") in new stack
    -- Executing [recconf@sub-record-check:8] Return("SIP/7159-00000009", "") in new stack
    -- Executing [conf@sub-record-check:2] Return("SIP/7159-00000009", "") in new stack
    -- Executing [5555@from-internal:6] GotoIf("SIP/7159-00000009", "0?READPIN") in new stack
    -- Executing [5555@from-internal:7] Answer("SIP/7159-00000009", "") in new stack
    -- Executing [5555@from-internal:8] Wait("SIP/7159-00000009", "1") in new stack
    -- Executing [5555@from-internal:9] Set("SIP/7159-00000009", "PINCOUNT=0") in new stack
    -- Executing [5555@from-internal:10] Read("SIP/7159-00000009", "PIN,enter-conf-pin-number,,,,") in new stack
    -- <SIP/7159-00000009> Playing 'enter-conf-pin-number.ulaw' (language 'en')
    -- User entered '10011'
    -- Executing [5555@from-internal:11] GotoIf("SIP/7159-00000009", "1?USER") in new stack
    -- Goto (from-internal,5555,19)
    -- Executing [5555@from-internal:19] Set("SIP/7159-00000009", "MEETME_OPTS=Msm") in new stack
    -- Executing [5555@from-internal:20] Goto("SIP/7159-00000009", "STARTMEETME,1") in new stack
    -- Goto (from-internal,STARTMEETME,1)
    -- Executing [STARTMEETME@from-internal:1] ExecIf("SIP/7159-00000009", "1?Set(CHANNEL(musicclass)=IAN)") in new stack
    -- Executing [STARTMEETME@from-internal:2] Set("SIP/7159-00000009", "GROUP(meetme)=5555") in new stack
    -- Executing [STARTMEETME@from-internal:3] GotoIf("SIP/7159-00000009", "0?MEETMEFULL,1") in new stack
    -- Executing [STARTMEETME@from-internal:4] ConfBridge("SIP/7159-00000009", "5555,,10011") in new stack
  == Spawn extension (from-internal, STARTMEETME, 4) exited non-zero on 'SIP/7159-00000009'
    -- Executing [h@from-internal:1] Hangup("SIP/7159-00000009", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/7159-00000009'
    -- Registered IAX2 to '206.128.94.51', who sees us as 75.150.48.17:56323 with



These are the only FreePBX debug messages....


2012-Feb-11 08:55:07	/usr/local/www/apache22/dat
sandbox# tail -100 !$
tail -100 freepbx_dbug

2012-Feb-11 13:50:44	/usr/local/www/apache22/data/admin/views/footer_content.php:31
[NOTICE]: Undefined variable: module_name

2012-Feb-11 13:50:44	/usr/local/www/apache22/data/admin/views/footer.php:40
[NOTICE]: Undefined variable: reload_needed

2012-Feb-11 13:50:52	/usr/local/www/apache22/data/admin/modules/dahdiconfig/functions.inc.php:582
[WARNING]: file_get_contents(/etc/dahdi/system.conf): failed to open stream: No such file or directory

2012-Feb-11 13:50:52	/usr/local/www/apache22/data/admin/modules/dahdiconfig/functions.inc.php:1233
[WARNING]: fopen(/etc/modprobe.d/dahdi.conf): failed to open stream: No such file or directory

2012-Feb-11 13:50:52	/usr/local/www/apache22/data/admin/modules/dahdiconfig/functions.inc.php:1235
[WARNING]: fwrite() expects parameter 1 to be resource, boolean given

2012-Feb-11 13:50:52	/usr/local/www/apache22/data/admin/modules/dahdiconfig/functions.inc.php:1236
[WARNING]: fwrite() expects parameter 1 to be resource, boolean given

2012-Feb-11 13:50:52	/usr/local/www/apache22/data/admin/modules/dahdiconfig/functions.inc.php:1237
[WARNING]: fwrite() expects parameter 1 to be resource, boolean given

2012-Feb-11 13:50:52	/usr/local/www/apache22/data/admin/modules/dahdiconfig/functions.inc.php:1273
[WARNING]: fwrite() expects parameter 1 to be resource, boolean given

2012-Feb-11 13:50:52	/usr/local/www/apache22/data/admin/modules/dahdiconfig/functions.inc.php:1274
[WARNING]: fclose() expects parameter 1 to be resource, boolean given



My extensions_additional.conf has this for 5555:

exten => 5555,1,Macro(user-callerid,)
exten => 5555,n,Set(MEETME_ROOMNUM=5555)
exten => 5555,n,Set(MAX_PARTICIPANTS=0)
exten => 5555,n,Set(MEETME_MUSIC=${MOHCLASS})
exten => 5555,n,Gosub(sub-record-check,s,1(conf,5555,never))
exten => 5555,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?READPIN)
exten => 5555,n,Answer
exten => 5555,n,Wait(1)
exten => 5555,n,Set(PINCOUNT=0)
exten => 5555,n(READPIN),Read(PIN,enter-conf-pin-number,,,,)
exten => 5555,n,GotoIf($[x${PIN} = x10011]?USER)
exten => 5555,n,GotoIf($[x${PIN} = x11111]?ADMIN)
exten => 5555,n,Set(PINCOUNT=$[${PINCOUNT}+1])
exten => 5555,n,GotoIf($[${PINCOUNT}>3]?h)
exten => 5555,n,Playback(conf-invalidpin)
exten => 5555,n,Goto(READPIN)
exten => 5555,n(ADMIN),Set(MEETME_OPTS=aAMs)
exten => 5555,n,Goto(STARTMEETME,1)
exten => 5555,n(USER),Set(MEETME_OPTS=Ms)
exten => 5555,n,Goto(STARTMEETME,1)

exten => 5555,hint,MeetMe:5555



That does not work - but this kinda get a conference going....

;exten => 5555,1,Macro(user-callerid,)
;exten => 5555,n,Set(MEETME_ROOMNUM=5555)
;exten => 5555,n,Set(MAX_PARTICIPANTS=0)
;exten => 5555,n,Set(MEETME_MUSIC=${MOHCLASS})
;exten => 5555,n,Gosub(sub-record-check,s,1(conf,5555,never))
;exten => 5555,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?READPIN)
;exten => 5555,n,Answer
;exten => 5555,n,Wait(1)
;exten => 5555,n,Set(PINCOUNT=0)
;exten => 5555,n(READPIN),Read(PIN,enter-conf-pin-number,,,,)
;exten => 5555,n,GotoIf($[x${PIN} = x10011]?USER)
;exten => 5555,n,GotoIf($[x${PIN} = x11111]?ADMIN)
;exten => 5555,n,Set(PINCOUNT=$[${PINCOUNT}+1])
;exten => 5555,n,GotoIf($[${PINCOUNT}>3]?h)
;exten => 5555,n,Playback(conf-invalidpin)
;exten => 5555,n,Goto(READPIN)
;exten => 5555,n(ADMIN),Set(MEETME_OPTS=aAMs)
;exten => 5555,n,Goto(STARTMEETME,1)
;exten => 5555,n(USER),Set(MEETME_OPTS=Ms)
;exten => 5555,n,Goto(STARTMEETME,1)

;exten => 5555,hint,MeetMe:5555
exten => 5555,n,Answer()
exten => 5555,n,ConfBridge(5555)

That produces:

  == Using SIP RTP TOS bits 184
    -- Executing [5555@from-internal:1] ResetCDR("SIP/7159-00000000", "") in new stack
    -- Executing [5555@from-internal:2] Answer("SIP/7159-00000000", "") in new stack
    -- Executing [5555@from-internal:3] ConfBridge("SIP/7159-00000000", "5555") in new stack
    -- <SIP/7159-00000000> Playing 'conf-onlyperson.gsm' (language 'en')
    -- <SIP/7159-00000000> Playing 'confbridge-join.gsm' (language 'en')
    -- <Bridge/0x8232b8640-input> Playing 'confbridge-join.gsm' (language 'en')