All pastes #559756 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-11 21:46 UTC
rendered paste body
/etc/asterisk/zapata.conf


usecallerid=yes
hidecallerid=no
callwaiting=yes
callerid=asreceived
cidsignalling=bell
cidstart=ring
sendcalleridafter=0
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=3.0
txgain=0.0
group=0
callgroup=3
pickupgroup=3
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf


signalling=fxs_ks
context=from-pstn
group=0
channel => 1-4





Jun 11 17:45:28 NOTICE[20303] chan_zap.c: Got event 18 (Ring Begin)...
Jun 11 17:45:28 NOTICE[20303] chan_zap.c: Got event 17 (Polarity Reversal)...
Jun 11 17:45:29 NOTICE[20303] chan_zap.c: Got event 17 (Polarity Reversal)...
Jun 11 17:45:29 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:29 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:29 DEBUG[20303] pbx.c: Function result is 'NO ANSWER'
Jun 11 17:45:29 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:29 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Took Zap/1-1 off hook
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Enabled echo cancellation on channel 1
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Engaged echo training on channel 1
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Exception on 16, channel 1
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Got event Polarity Reversal(17) on channel 1 (index 0)
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Ignore switch to REVERSED Polarity on channel 1, state 6
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Ignoring Polarity switch to IDLE on channel 1, state 6
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Polarity Reversal event occured - DEBUG 2: channel 1, state 6, pol= 0, aonp= 0, honp= 0, pdelay= 600, tv= 482322877
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Exception on 16, channel 1
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Got event Polarity Reversal(17) on channel 1 (index 0)
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Ignore switch to REVERSED Polarity on channel 1, state 6
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Ignoring Polarity switch to IDLE on channel 1, state 6
Jun 11 17:45:29 DEBUG[20303] chan_zap.c: Polarity Reversal event occured - DEBUG 2: channel 1, state 6, pol= 0, aonp= 0, honp= 0, pdelay= 600, tv= 482322973
Jun 11 17:45:30 DEBUG[20303] channel.c: Scheduling timer at 160 sample intervals
Jun 11 17:45:37 DEBUG[20303] chan_zap.c: DTMF digit: 2 on Zap/1-1
Jun 11 17:45:37 DEBUG[20303] channel.c: Scheduling timer at 0 sample intervals
Jun 11 17:45:37 DEBUG[20303] pbx.c: Oooh, got something to jump out with ('2')!
Jun 11 17:45:37 DEBUG[20303] chan_zap.c: DTMF digit: 2 on Zap/1-1
  recordingcheck|20070611-174538|1181598328.3: Inbound recording not enabled
Jun 11 17:45:38 NOTICE[19961] chan_sip.c: Registration from 'PSTN <sip:pstn@192.168.38.1>' failed for '10.14.15.2' - Username/auth name mismatch
Jun 11 17:45:38 DEBUG[20303] chan_zap.c: DTMF digit: 0 on Zap/1-1
Jun 11 17:45:38 DEBUG[20303] chan_zap.c: DTMF digit: 1 on Zap/1-1
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Noop
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: NoOp
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '/user' in family 'DEVICE'
Jun 11 17:45:38 DEBUG[20303] func_db.c: DB: DEVICE//user not found in database.
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '/cidname' in family 'AMPUSER'
Jun 11 17:45:38 DEBUG[20303] func_db.c: DB: AMPUSER//cidname not found in database.
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Noop
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '-1'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is '64'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is '"" <>'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: NoOp
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is '20'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is '20'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is '20'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Noop
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: NoOp
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '/user' in family 'DEVICE'
Jun 11 17:45:38 DEBUG[20303] func_db.c: DB: DEVICE//user not found in database.
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '/cidname' in family 'AMPUSER'
Jun 11 17:45:38 DEBUG[20303] func_db.c: DB: AMPUSER//cidname not found in database.
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Noop
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is '"" <>'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: NoOp
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Macro
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '2201' in family 'CFU'
Jun 11 17:45:38 DEBUG[20303] func_db.c: DB: CFU/2201 not found in database.
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is ''
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Set
Jun 11 17:45:38 DEBUG[20303] pbx.c: Function result is '0'
Jun 11 17:45:38 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:38 VERBOSE[20303] logger.c:   recordingcheck|20070611-174538|1181598328.3: Inbound recording not enabled
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: DeadAGI
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Noop
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: Macro
  dialparties.agi: Starting New Dialparties.agi
  dialparties.agi: priority is 1
  dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
  dialparties.agi: Methodology of ring is  'none'
  dialparties.agi: Extension 2201 has ExtensionState: 0
Jun 11 17:45:38 VERBOSE[20303] logger.c:   dialparties.agi: Starting New Dialparties.agi
Jun 11 17:45:38 VERBOSE[20303] logger.c:   dialparties.agi: priority is 1
Jun 11 17:45:38 VERBOSE[20303] logger.c:   dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
Jun 11 17:45:38 VERBOSE[20303] logger.c:   dialparties.agi: Methodology of ring is  'none'
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '2201' in family 'CF'
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '2201' in family 'DND'
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '2201' in family 'CW'
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '2201' in family 'CFB'
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '2201' in family 'CFU'
Jun 11 17:45:38 DEBUG[20308] manager.c: Manager received command 'login'
Jun 11 17:45:38 WARNING[20308] config.c: Unknown directive 'permit=192.168.1.0/255.255.255.0' at line 18 of /etc/asterisk/manager_custom.conf
Jun 11 17:45:38 DEBUG[20308] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl for peer
Jun 11 17:45:38 DEBUG[20308] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0 appended to acl for peer
Jun 11 17:45:38 DEBUG[20308] acl.c: ##### Testing 127.0.0.1 with 0.0.0.0
Jun 11 17:45:38 DEBUG[20308] acl.c: ##### Testing 127.0.0.1 with 127.0.0.0
Jun 11 17:45:38 DEBUG[20308] manager.c: Manager received command 'ExtensionState'
Jun 11 17:45:38 DEBUG[20308] manager.c: Manager received command 'Logoff'
Jun 11 17:45:38 VERBOSE[20303] logger.c:   dialparties.agi: Extension 2201 has ExtensionState: 0
Jun 11 17:45:38 DEBUG[20303] db.c: Unable to find key '2201' in family 'CALLTRACE'
Jun 11 17:45:38 DEBUG[20303] app_macro.c: Executed application: DeadAGI
Jun 11 17:45:38 DEBUG[20303] chan_sip.c: Setting NAT on RTP to 524288
Jun 11 17:45:38 DEBUG[20303] chan_sip.c: Outgoing Call for 2201
Jun 11 17:45:38 DEBUG[20303] chan_zap.c: Requested indication 3 on channel Zap/1-1
Jun 11 17:45:38 DEBUG[19961] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '0fd3a9ad151046837615524e1fef8e69@10.9.0.1' Request 102: Found
Jun 11 17:45:38 DEBUG[19961] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '0fd3a9ad151046837615524e1fef8e69@10.9.0.1' Request 102: Found
Jun 11 17:45:44 DEBUG[20303] chan_zap.c: Exception on 16, channel 1
Jun 11 17:45:44 DEBUG[20303] chan_zap.c: Got event On hook(1) on channel 1 (index 0)
Jun 11 17:45:44 DEBUG[20303] chan_zap.c: disabled echo cancellation on channel 1
Jun 11 17:45:44 DEBUG[20303] chan_sip.c: update_call_counter(2201) - decrement call limit counter
Jun 11 17:45:44 DEBUG[20303] chan_sip.c: Acked pending invite 102
Jun 11 17:45:44 DEBUG[20303] chan_sip.c: Stopping retransmission on '0fd3a9ad151046837615524e1fef8e69@10.9.0.1' of Request 102: Match Found
Jun 11 17:45:44 DEBUG[20303] app_dial.c: Exiting with DIALSTATUS=CANCEL.
Jun 11 17:45:44 DEBUG[20303] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Jun 11 17:45:44 DEBUG[20303] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2007-06-11 17:45:29','','','2201','ivr-2', 'Zap/1-1','SIP/2201-09c58808','ResetCDR','w',15,15,'ANSWERED',3,'','1181598328.3')
Jun 11 17:45:44 DEBUG[20303] app_macro.c: Executed application: ResetCDR
Jun 11 17:45:44 NOTICE[20303] cdr.c: CDR on channel 'Zap/1-1' not posted
Jun 11 17:45:44 NOTICE[20303] cdr.c: CDR on channel 'Zap/1-1' lacks end
Jun 11 17:45:44 DEBUG[20303] app_macro.c: Executed application: NoCDR
Jun 11 17:45:44 DEBUG[20303] pbx.c: Expression result is '1'
Jun 11 17:45:44 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:44 DEBUG[20303] pbx.c: Expression result is '0'
Jun 11 17:45:44 DEBUG[20303] pbx.c: Not taking any branch
Jun 11 17:45:44 DEBUG[20303] app_macro.c: Executed application: GotoIf
Jun 11 17:45:44 DEBUG[20303] app_macro.c: Executed application: Noop
Jun 11 17:45:44 DEBUG[20303] app_macro.c: Executed application: DBDel
Jun 11 17:45:44 DEBUG[20303] chan_zap.c: Hangup: channel: 1 index = 0, normal = 16, callwait = -1, thirdcall = -1
Jun 11 17:45:44 DEBUG[20303] chan_zap.c: disabled echo cancellation on channel 1
Jun 11 17:45:44 DEBUG[20303] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1