Hello Group!
While parsing my cdrs of the last week, i realized that approx. 1 in
100 _successful_ outbound zap-calls are recorded with a truncated
destination number in the verbose logs and in the cdrs.
Several digits are simply missing. eg 0049xxxxxxxx is recorded as
0049. I have received cdrs from the telco, and have verified that the
"long version" was definitely dialed, and answered.
Most of my traffic (99%) is via DISA, and so far this behaviour has
only surfaced with outbound DISA calls. I can't be certain that its a
DISA only problem, though.
I've added the dialplan that applies to these calls(dialplan_disa.txt), the
agis
that are beeing executed(disa-usergroup1.sh, disacut.sh), samples of verbose
logs for wrong numbers, cdr's and corresponding cdr's from my
telco(examples_cdr_verboselog.txt). I've upgraded to 1.2 final on 25.11.2000
03:00am in the hope this would be resolved but also today i have faulty records.
Hope someone can give me information on this issue.
regards
christian
-------------- next part --------------
[disa]
include => disa-verified
exten => s, 1, AGI(disa,${CALLERIDNUM}) ;this agi verfies if the users are
authorized(for personal use)
exten => s, 2, NoOp(${ERG}) ;show me the answer the agi sent
exten => s, 3, GotoIf($["${ERG}" =
"0"]?disa-verified|s|100:)
exten => s, 4, AGI(disa-usergroup1,${CALLERIDNUM}) ;this agi verfies if the
users are authorized(for users belonging to usergroup1)
exten => s, 5, NoOp(${ERG})
exten => s, 6, GotoIf($["${ERG}" =
"0"]?disa-verified|s|200:)
exten => s, 7, SetAccount(00000000000001) ;if the calleridnum is in no
list, give him a chance to authorize
exten => s, 8, Set(TIMEOUT(digit)=5)
exten => s, 9, Set(TIMEOUT(response)=15)
exten => s, 10, Authenticate(5678345)
exten => s, 11, DISA(no-password|disa2)
[disa-verified]
exten => s, 200, SetAccount(123456789) ;Accountnumber of usergroup1
exten => s, 201, Set(TIMEOUT(digit)=5)
exten => s, 202, Set(TIMEOUT(response)=15)
exten => s, 203, DISA(no-password|disa2)
[disa2]
;=======================================
exten => _X., 1, NoOp(${EXTEN}) ;Added on 24.11.2005 due to
errorenous records(cut offs)
exten => _X., 2, AGI(disacut,${EXTEN}) ;agi to cut away * and # dialed by
mistake
exten => _X., 3, GotoIf($["${CALLERIDNUM:0:1}" =
"0"]?100:)
exten => _X., 4, GotoIf($["${CALLINGPRES}" = "33"]?200:)
exten => _X., 5, GotoIf($["${EXTEN:0:5}" = "43650"]?200:)
exten => _X., 6, GotoIf($["${EXTEN:0:4}" = "0650"]?200:)
;these calls will be sent with a prohib presbit
exten => _X., 7, SetCIDNum(${CALLERIDNUM}) ;i know this is useless, used to
be something different earlier
exten => _X., 8, SetCDRUserField(${MODCLI}) ;MODCLI received from agi
disacut(without # and *) for proper cdr's
exten => _X., 9, Set(FROM_EXTEN=${EXTEN}) ;another relict from earlier days
exten => _X., 10, NoOp(${EXTEN}) ;show me again what the user has
dialed! added on 24.11.2005
exten => _X., 11, Dial(Zap/G1/${MODCLI}|120|gH) ;dial whatever disacut gives
us
exten => _X., 12, GotoIf($["${DIALSTATUS}" !=
"ANSWER"]?s-${DIALSTATUS}|1) ;if the call failed, play some sounds and
get back to authentication
exten => _X., 13, Playback(beep)
exten => _X., 14, Goto(disa,s,1)
exten => _X., 15, Hangup
exten => _X., 200, SetCallerPres(prohib)
exten => _X., 201, NoOp(${CALLINGPRES}) ;relict
exten => _X., 202, SetCIDNum(${CALLERIDNUM}) ;relict
exten => _X., 203, SetCDRUserField(${MODCLI}) ;MODCLI received from agi
disacut(without # and *) for proper cdr's
exten => _X., 204, Set(FROM_EXTEN=${MODCLI}) ;relict
exten => _X., 205, NoOp(${EXTEN}) ;show me what the user has dialed!
added on 24.11.2005
exten => _X., 206, Dial(Zap/G1/${MODCLI}|120|gH) ;dial whatever disacut gives
us
exten => _X., 207, Set(FROM_EXTEN=${EXTEN}) ;relict
exten => _X., 208, GotoIf($["${DIALSTATUS}" !=
"ANSWER"]?s-${DIALSTATUS}|1) ;if the call failed, play some sounds and
get back to authentication
exten => _X., 209, Playback(beep)
exten => _X., 210, Goto(disa,s,1)
exten => _X., 211, Hangup
exten => s-NOANSWER, 1, Zapateller
exten => s-NOANSWER, 2, Playback(that-is-not-rec-phn-num)
exten => s-NOANSWER, 3, Playback(please-try-again)
exten => s-NOANSWER, 4, Goto(disa,s,1)
exten => s-NOANSWER, 5, Hangup
exten => s-BUSY, 1, Playtones(Congestion)
exten => s-BUSY, 2, Wait(5)
exten => s-BUSY, 3, Playback(the-number-u-dialed)
exten => s-BUSY, 4, Playback(is-curntly-busy)
exten => s-BUSY, 5, Playback(please-try-again)
exten => s-BUSY, 6, Goto(disa,s,1)
exten => s-CONGESTION, 1, Playtones(Congestion)
exten => s-CONGESTION, 2, Wait(2)
exten => s-CONGESTION, 3, Playback(the-number-u-dialed)
exten => s-CONGESTION, 4, Playback(is-curntly-busy)
exten => s-CONGESTION, 5, Playback(please-try-again)
exten => s-CONGESTION, 6, Goto(disa,s,1)
exten => s-CANCEL, 1, Playback(please-try-again)
exten => s-CANCEL, 2, Goto(disa,s,1)
exten => s-CANCEL, 3, Hangup
;==================================================================--------------
next part --------------
A non-text attachment was scrubbed...
Name: disa-usergroup1.sh
Type: application/x-shellscript
Size: 778 bytes
Desc: not available
Url :
http://lists.digium.com/pipermail/asterisk-users/attachments/20051125/2fa3a5be/disa-usergroup1.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disacut.sh
Type: application/x-shellscript
Size: 119 bytes
Desc: not available
Url :
http://lists.digium.com/pipermail/asterisk-users/attachments/20051125/2fa3a5be/disacut.bin
-------------- next part --------------
Example 1(Asterisk 1.2beta2)
verbose log:
Nov 22 10:31:50 VERBOSE[10017] logger.c: -- Starting simple switch on
'Zap/1-1'
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
Goto("Zap/1-1", "disa|s|1") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Goto (disa,s,1)
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
AGI("Zap/1-1", "disa|43664XXXXXXX") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- AGI Script disa completed,
returning 0
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
NoOp("Zap/1-1", "1") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
GotoIf("Zap/1-1", "0?disa-verified|s|100:") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
AGI("Zap/1-1", "disa-usergroup1|43664XXXXXXX") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa-usergroup1
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- AGI Script disa-usergroup1
completed, returning 0
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
NoOp("Zap/1-1", "0") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
GotoIf("Zap/1-1", "1?disa-verified|s|200:") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Goto (disa-verified,s,200)
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
SetAccount("Zap/1-1", "123456789") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
Set("Zap/1-1", "TIMEOUT(digit)=5") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Digit timeout set to 5
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
Set("Zap/1-1", "TIMEOUT(response)=15") in new stack
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Response timeout set to 15
Nov 22 10:31:53 VERBOSE[10017] logger.c: -- Executing
DISA("Zap/1-1", "no-password|disa2") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
AGI("Zap/1-1", "disacut|0091981") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disacut
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- AGI Script disacut completed,
returning 0
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
GotoIf("Zap/1-1", "0?100:") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
GotoIf("Zap/1-1", "0?300:") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
GotoIf("Zap/1-1", "0?300:") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
GotoIf("Zap/1-1", "0?300:") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
SetCIDNum("Zap/1-1", "43664XXXXXXX") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
AppendCDRUserField("Zap/1-1", "0091981") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
Set("Zap/1-1", "FROM_EXTEN=0091981") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Executing
Dial("Zap/1-1", "Zap/g1/0091981|120|") in new stack
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Requested transfer capability:
0x00 - SPEECH
Nov 22 10:32:16 VERBOSE[10017] logger.c: -- Called g1/0091981
Nov 22 10:32:24 VERBOSE[10017] logger.c: -- Zap/4-1 is proceeding passing it
to Zap/1-1
Nov 22 10:32:29 VERBOSE[10017] logger.c: -- Zap/4-1 is ringing
Nov 22 10:32:43 VERBOSE[10017] logger.c: -- Zap/4-1 answered Zap/1-1
Nov 22 10:32:43 VERBOSE[10017] logger.c: -- Attempting native bridge of
Zap/1-1 and Zap/4-1
Nov 22 10:36:22 VERBOSE[10017] logger.c: -- Hungup 'Zap/4-1'
Nov 22 10:36:22 VERBOSE[10017] logger.c: == Spawn extension (disa2, 0091981,
9) exited non-zero on 'Zap/1-1'
Nov 22 10:36:22 VERBOSE[10017] logger.c: -- Hungup 'Zap/1-1'
cdr records from asterisk:
uniqueid|userfield|accountcode|src|dst|dcontext|clid|channel|dstchannel|lastapp|lastdata|calldate|duration|billsec|disposition|amaflags
1132651910.16023||123456789|43664XXXXXXX|s|disa-verified|43664XXXXXXX|Zap/1-1||DISA|no-password|disa2|2005-11-22
10:31:53|23|23|ANSWERED|3
1132651910.16023|0091981|123456789|43664XXXXXXX|0091981|disa2|43664XXXXXXX|Zap/1-1|Zap/4-1|Dial|Zap/g1/0091981|120||2005-11-22
10:32:16|246|219|ANSWERED|3
corresponding cdr records from the telco:
"" "22.11.2005" "10:32:42" 220,00
"91981XXXXXXX" "India-Mobile"
##########################################################################################################################
Example 2(Asterisk 1.2beta2)
verbose log:
Nov 22 13:56:34 VERBOSE[14612] logger.c: -- Starting simple switch on
'Zap/1-1'
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
Goto("Zap/1-1", "disa|s|1") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Goto (disa,s,1)
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
AGI("Zap/1-1", "disa|431XXXXXXX") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- AGI Script disa completed,
returning 0
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
NoOp("Zap/1-1", "1") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
GotoIf("Zap/1-1", "0?disa-verified|s|100:") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
AGI("Zap/1-1", "disa-usergroup1|431XXXXXXX") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa-usergroup1
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- AGI Script disa-usergroup1
completed, returning 0
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
NoOp("Zap/1-1", "0") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
GotoIf("Zap/1-1", "1?disa-verified|s|200:") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Goto (disa-verified,s,200)
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
SetAccount("Zap/1-1", "123456789") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
Set("Zap/1-1", "TIMEOUT(digit)=5") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Digit timeout set to 5
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
Set("Zap/1-1", "TIMEOUT(response)=15") in new stack
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Response timeout set to 15
Nov 22 13:56:37 VERBOSE[14612] logger.c: -- Executing
DISA("Zap/1-1", "no-password|disa2") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
AGI("Zap/1-1", "disacut|0044") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disacut
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- AGI Script disacut completed,
returning 0
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
GotoIf("Zap/1-1", "0?100:") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
GotoIf("Zap/1-1", "0?300:") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
GotoIf("Zap/1-1", "0?300:") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
GotoIf("Zap/1-1", "0?300:") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
SetCIDNum("Zap/1-1", "431XXXXXXX") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
AppendCDRUserField("Zap/1-1", "0044") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
Set("Zap/1-1", "FROM_EXTEN=0044") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Executing
Dial("Zap/1-1", "Zap/g1/0044|120|") in new stack
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Requested transfer capability:
0x10 - 3K1AUDIO
Nov 22 13:56:45 VERBOSE[14612] logger.c: -- Called g1/0044
Nov 22 13:56:50 VERBOSE[14612] logger.c: -- Zap/2-1 is proceeding passing it
to Zap/1-1
Nov 22 13:56:55 VERBOSE[14612] logger.c: -- Zap/2-1 is ringing
Nov 22 13:57:15 VERBOSE[14612] logger.c: -- Zap/2-1 answered Zap/1-1
Nov 22 13:57:15 VERBOSE[14612] logger.c: -- Attempting native bridge of
Zap/1-1 and Zap/2-1
Nov 22 13:57:55 VERBOSE[14612] logger.c: -- Hungup 'Zap/2-1'
Nov 22 13:57:55 VERBOSE[14612] logger.c: == Spawn extension (disa2, 0044, 9)
exited non-zero on 'Zap/1-1'
Nov 22 13:57:55 VERBOSE[14612] logger.c: -- Hungup 'Zap/1-1'
cdr records from asterisk:
uniqueid|userfield|accountcode|src|dst|dcontext|clid|channel|dstchannel|lastapp|lastdata|calldate|duration|billsec|disposition|amaflags
1132664194.16377||123456789|431XXXXXXX|s|disa-verified|431XXXXXXX|Zap/1-1||DISA|no-password|disa2|2005-11-22
13:56:37|8|8|ANSWERED|3
1132664194.16377|0044|123456789|431XXXXXXX|0044|disa2|431XXXXXXX|Zap/1-1|Zap/2-1|Dial|Zap/g1/0044|120||2005-11-22
13:56:45|70|40|ANSWERED|3
corresponding cdr-records from the telco:
"" "22.11.2005" "13:57:14" 41,00
"447XXXXXXXXX" "Great-Britain-Mobile-Vodafone"
###########################################################################################################################
Example 3(Asterisk 1.2beta2)
verbose log:
Nov 14 20:01:44 VERBOSE[22528] logger.c: -- Starting simple switch on
'Zap/2-1'
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
Goto("Zap/2-1", "disa|s|1") in new stack
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Goto (disa,s,1)
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
AGI("Zap/2-1", "disa-usergroup1|43676XXXXXXX") in new stack
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa-usergroup1
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- AGI Script disa-usergroup1
completed, returning 0
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
NoOp("Zap/2-1", "0") in new stack
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
GotoIf("Zap/2-1", "1?disa-verified|s|100:") in new stack
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Goto (disa-verified,s,100)
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
SetAccount("Zap/2-1", "123456789") in new stack
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
Set("Zap/2-1", "TIMEOUT(digit)=5") in new stack
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Digit timeout set to 5
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
Set("Zap/2-1", "TIMEOUT(response)=15") in new stack
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Response timeout set to 15
Nov 14 20:01:47 VERBOSE[22528] logger.c: -- Executing
DISA("Zap/2-1", "no-password|disa2") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
GotoIf("Zap/2-1", "0?100:") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
GotoIf("Zap/2-1", "0?300:") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
GotoIf("Zap/2-1", "0?300:") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
GotoIf("Zap/2-1", "0?300:") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
SetCIDNum("Zap/2-1", "43676XXXXXXX") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
AppendCDRUserField("Zap/2-1", "0049") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
Set("Zap/2-1", "FROM_EXTEN=0049") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Executing
Dial("Zap/2-1", "Zap/g1/0049|120|") in new stack
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Requested transfer capability:
0x00 - SPEECH
Nov 14 20:01:57 VERBOSE[22528] logger.c: -- Called g1/0049
Nov 14 20:02:12 VERBOSE[22528] logger.c: -- Zap/11-1 is proceeding passing
it to Zap/2-1
Nov 14 20:02:12 VERBOSE[22528] logger.c: -- Zap/11-1 is ringing
Nov 14 20:02:23 VERBOSE[22528] logger.c: -- Zap/11-1 answered Zap/2-1
Nov 14 20:02:23 VERBOSE[22528] logger.c: -- Attempting native bridge of
Zap/2-1 and Zap/11-1
Nov 14 20:14:56 VERBOSE[22528] logger.c: -- Hungup 'Zap/11-1'
Nov 14 20:14:56 VERBOSE[22528] logger.c: == Spawn extension (disa2, 0049, 8)
exited non-zero on 'Zap/2-1'
Nov 14 20:14:56 VERBOSE[22528] logger.c: -- Hungup 'Zap/2-1'
cdr records from asterisk:
uniqueid|userfield|accountcode|src|dst|dcontext|clid|channel|dstchannel|lastapp|lastdata|calldate|duration|billsec|disposition|amaflags
1131994904.1762||123456789|43676XXXXXXX|s|disa-verified|43676XXXXXXX|Zap/2-1||DISA|no-password|disa2|2005-11-14
20:01:47|10|10|ANSWERED|3
1131994904.1762|0049|123456789|43676XXXXXXX|0049|disa2|43676XXXXXXX|Zap/2-1|Zap/11-1|Dial|Zap/g1/0049|120||2005-11-14
20:01:57|779|753|ANSWERED|3
corresponding cdr records from the telco:
"" "14.11.2005" "20:02:23" 753,00
"499XXXXXXXX" "Germany - Nuernberg"
###############################################################################################################################
Example 4(Asterisk 1.2 Final)
verbose log:
Nov 25 10:16:28 VERBOSE[10467] logger.c: -- Starting simple switch on
'Zap/2-1'
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
Goto("Zap/2-1", "disa|s|1") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Goto (disa,s,1)
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
AGI("Zap/2-1", "disa|43664XXXXXXX") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- AGI Script disa completed,
returning 0
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
NoOp("Zap/2-1", "1") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "0?disa-verified|s|100:") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
AGI("Zap/2-1", "disa-usergroup1|43664XXXXXXX") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa-usergroup1
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- AGI Script disa-usergroup1
completed, returning 0
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
NoOp("Zap/2-1", "0") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "1?disa-verified|s|200:") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Goto (disa-verified,s,200)
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
SetAccount("Zap/2-1", "123456789") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
Set("Zap/2-1", "TIMEOUT(digit)=5") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Digit timeout set to 5
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
Set("Zap/2-1", "TIMEOUT(response)=15") in new stack
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Response timeout set to 15
Nov 25 10:16:31 VERBOSE[10467] logger.c: -- Executing
DISA("Zap/2-1", "no-password|disa2") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
NoOp("Zap/2-1", "00661") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
AGI("Zap/2-1", "disacut|00661") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disacut
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- AGI Script disacut completed,
returning 0
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "0?100:") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "0?200:") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "0?200:") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "0?200:") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
SetCIDNum("Zap/2-1", "43664XXXXXXX") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
SetCDRUserField("Zap/2-1", "00661") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
Set("Zap/2-1", "FROM_EXTEN=00661") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
NoOp("Zap/2-1", "00661") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Executing
Dial("Zap/2-1", "Zap/G1/00661|120|gH") in new stack
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Requested transfer capability:
0x00 - SPEECH
Nov 25 10:16:48 VERBOSE[10467] logger.c: -- Called G1/00661
Nov 25 10:16:58 VERBOSE[10467] logger.c: -- Zap/124-1 is proceeding passing
it to Zap/2-1
Nov 25 10:17:04 VERBOSE[10467] logger.c: -- Zap/124-1 is ringing
Nov 25 10:17:31 VERBOSE[10467] logger.c: -- Zap/124-1 is making progress
passing it to Zap/2-1
Nov 25 10:17:36 VERBOSE[10467] logger.c: -- Zap/124-1 answered Zap/2-1
Nov 25 10:17:36 VERBOSE[10467] logger.c: -- Attempting native bridge of
Zap/2-1 and Zap/124-1
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Hungup 'Zap/124-1'
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "0?s-ANSWER|1") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
Playback("Zap/2-1", "beep") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Playing 'beep' (language
'de')
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
Goto("Zap/2-1", "disa|s|1") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Goto (disa,s,1)
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
AGI("Zap/2-1", "disa|43664XXXXXXX") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- AGI Script disa completed,
returning 0
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
NoOp("Zap/2-1", "1") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "0?disa-verified|s|100:") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
AGI("Zap/2-1", "disa-usergroup1|43664XXXXXXX") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/disa-usergroup1
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- AGI Script disa-usergroup1
completed, returning 0
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
NoOp("Zap/2-1", "0") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
GotoIf("Zap/2-1", "1?disa-verified|s|200:") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Goto (disa-verified,s,200)
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
SetAccount("Zap/2-1", "123456789") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
Set("Zap/2-1", "TIMEOUT(digit)=5") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Digit timeout set to 5
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
Set("Zap/2-1", "TIMEOUT(response)=15") in new stack
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Response timeout set to 15
Nov 25 10:18:38 VERBOSE[10467] logger.c: -- Executing
DISA("Zap/2-1", "no-password|disa2") in new stack
Nov 25 10:18:41 VERBOSE[10467] logger.c: == Spawn extension (disa-verified, s,
203) exited non-zero on 'Zap/2-1'
Nov 25 10:18:41 VERBOSE[10467] logger.c: -- Hungup 'Zap/2-1'
cdrs from asterisk:
uniqueid|userfield|accountcode|src|dst|dcontext|clid|channel|dstchannel|lastapp|lastdata|calldate|duration|billsec|disposition|amaflags
1132910188.225||123456789|43664XXXXXXX|s|disa-verified|43664XXXXXXX|Zap/2-1||DISA|no-password|disa2|2005-11-25
10:16:31|17|17|ANSWERED|3
1132910188.225|00661|123456789|43664XXXXXXX|s|disa-verified|43664XXXXXXX|Zap/2-1|Zap/124-1|DISA|no-password|disa2|2005-11-25
10:16:48|113|65|ANSWERED|3
no cdrs from the telco today for this example