<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#333333">
Hi guys, <br>
<br>
I have following problem. For statistical reasons I need to know
what was initiall number dialled by customer. I have 2 premium
numbers, for which customers are billed differently per minute. But
in my CDR table i can see only last dialled extension from voice
menu. In this example it shows me that customer (<tt>077XXXXXXX</tt>)
was billed 293 seconds but i am not seeing which number he dialed.
Only what i can see is last destination he choosed from voice menu
which was '1'. <br>
<br>
What shall I do to see which number was dialled initially?<br>
<br>
ps. Original numer was X-ed.<br>
<br>
<tt> calldate | clid | src | dst |
dcontext | channel | dstchannel | lastapp
| lastdata | duration | billsec |
disposition | amaflags | accountcode | uniqueid | userfield <br>
---------------------+------------+------------+-----+--------------------+------------------------+------------+------------+------------------------------------+----------+---------+-------------+----------+-------------+---------------+-----------<br>
2011-12-12 15:11:26 | 077XXXXXXX | 077XXXXXXX | 1 |
stories-en-options | DAHDI/i1/077XXXXXXX-13 | |
Playback | custom/l_stories/en/en_bible | 293 | 293 |
ANSWERED | 3 | | 1323691886.91 | </tt><br>
<br>
Below is part on my extensioans file and voice menu structure<br>
<br>
<tt>[incoming-calls-from-e1-span1]<br>
exten => 902000111,1,Verbose(Call is comming .... ${EXTEN})<br>
exten => </tt><tt>902000111</tt><tt>,n,Goto(voiceservices_menu,2666,1)<br>
<br>
exten => </tt><tt>902000222</tt><tt>,1,Verbose(Call is comming
.... ${EXTEN})<br>
exten => </tt><tt>902000222</tt><tt>,n,GotoIfTime(08:00-22:59,mon-sun,*,*?supportmenu,2555,1)<br>
exten => </tt><tt>902000222</tt><tt>,n,Playback(custom/l_line/callcenter-closed)<br>
exten => </tt><tt>902000222</tt><tt>,n,Goto(voiceservices_menu,2666,1)<br>
<br>
[voiceservices_menu]<br>
exten => 2666,1,Set(EXT=${EXTEN})<br>
exten => 2666,n,Verbose(EXT -> ${EXT})<br>
exten => 2666,n,Goto(voiceservices_options,s,1)<br>
<br>
[voiceservices_options]<br>
exten => s,1,Background(custom/l_stories/swelcome)<br>
exten => s,n,WaitExten(15) ;wait 10 sec<br>
<br>
exten => 1,1,Verbose(Customer pressed key 1)<br>
exten => 1,n,Goto(storiesmenu-lu,${EXT},1) ;if customer choosed
1 jump to LU lang<br>
<br>
exten => 2,1,Verbose(Customer pressed key 2)<br>
exten => 2,n,Goto(storiesmenu-en,${EXT},1) ;if customer choosed
1 jump to EN lang<br>
<br>
exten => i,1,Playback(invalid)<br>
exten => i,n,Goto(voiceservices_menu,${EXT},1)<br>
<br>
exten => t,1,Playback(vm-goodbye)<br>
exten => t,n,Goto(voiceservices_menu,${EXT},1)<br>
<br>
<br>
[storiesmenu-lu]<br>
exten => 2666,1,Verbose(Entering Luganda menu of stories)<br>
exten => 2666,n,Verbose(EXT = ${EXT})<br>
exten => 2666,n,Goto(storiesmenu-lu-options,s,1)<br>
<br>
<br>
[storiesmenu-lu-options]<br>
exten => s,1,Background(custom/l_stories/lu_service_menu)<br>
exten => s,n,Verbose(EXT = ${EXT})<br>
exten => s,n,WaitExten(10) ;wait 10 sec<br>
<br>
; if customer pressed '1'<br>
exten => 1,1,Goto(stories-lu,${EXT},1)<br>
<br>
; if customer pressed '2'<br>
exten => 2,1,Playback(custom/l_stories/lu/lu_bible1)<br>
exten => 2,n,Wait(2)<br>
exten => 2,n,Playback(custom/l_stories/lu/lu_bible2)<br>
exten => 2,n,Wait(2)<br>
exten => 2,n,Playback(custom/l_stories/lu/lu_bible3)<br>
exten => 2,n,Wait(2)<br>
exten => 2,n,Playback(custom/l_stories/lu/lu_bible4)<br>
exten => 2,n,Wait(2)<br>
exten => 2,n,Playback(custom/l_stories/lu/lu_bible5)<br>
exten => 2,n,Wait(2)<br>
exten => 2,n,Goto(storiesmenu-lu,${EXT},1)</tt><br>
<br>
<br>
<br>
Thanks for your feedback!<br>
<br>
Regards,<br>
Albert<br>
<br>
</body>
</html>