<div dir="ltr"><div><span lang="en"><span>Hi</span> <span>list</span><span>, I need</span> <span>some help</span> <span>to improve my</span> <span>cdr</span><span>, now in</span> <span>my company</span> <span>are asking</span> <span>me</span> <span>how to know</span> <span>which of my</span> <span>phone numbers</span> <span>are</span> <span>most used</span> <span>when</span> <span>receiving calls</span> <span>from</span> <span>the</span> <span>PSTN</span> <span>and</span> <span>incoming the</span> <span>IVR</span></span><br>


<br><span lang="en"><span>was thinking about using</span> <span>userfield</span> <span>field</span><span>,</span> <span>and I'm</span> <span>trying to do,</span> <span>I have</span> <span>at the moment</span> <span>4 channel</span> <span>DAHDI<br>


<br></span></span><br><span lang="en"><span><span lang="en"><span>; DAHDI CHANNEL 3=23XXXXX6</span></span><br><br><br></span></span><span lang="en"><span><span lang="en"><span>context=in<br>
callerid=asreceived<br>group=1<br>signalling=fxs_ks<br>channel => 3</span></span><br><br></span></span><span lang="en"><span><br>[in]<br>exten => s,1,Set(CDR(userfield)=23XXXXX6)<br>
same=> n,Goto(in2)<br><br></span></span><br><span lang="en"><span><span lang="en"><span>[in2]<br>exten => s,1,GotoIfTime(08:00-17:00|mon-fri|*|*?s,dentro)<br>exten => s,2,Playback(custom/fuera)<br>exten => s,n,Set(CHANNEL(language)=es)<br>

</span></span></span></span></div><span lang="en"><span>etc etc etc ..<br></span></span><div><span lang="en"><span><br>-- Starting simple switch on 'DAHDI/3-1'<br>    -- Executing [s@in:1] Set("DAHDI/3-1", "CDR(userfield)=23XXXXX6") in new stack<br>

    -- Executing [s@in:2] Goto("DAHDI/3-1", "in2") in new stack<br>
[Nov 14 16:45:51] NOTICE[29607]: pbx.c:4522 pbx_extension_helper: No such label 'in2' in extension 's' in context 'in'<br>[Nov 14 16:45:51] WARNING[29607]: pbx.c:10888 pbx_parseable_goto: Priority 'in2' must be a number > 0, or valid label<br>


  == Spawn extension (in, s, 2) exited non-zero on 'DAHDI/3-1'<br>    -- Hanging up on 'DAHDI/3-1'<br>    -- Hungup 'DAHDI/3-1'<br>    -- Starting simple switch on 'DAHDI/3-1'<br>    -- Executing [s@in:1] Set("DAHDI/3-1", "CDR(userfield)=<a href="tel:23400216" value="+50523400216" target="_blank">23400216</a>") in new stack<br>


    -- Executing [s@in:2] Goto("DAHDI/3-1", "in2") in new stack<br>[Nov 14 16:46:03] NOTICE[29608]: pbx.c:4522 pbx_extension_helper: No such label 'in2' in extension 's' in context 'in'<br>


[Nov 14 16:46:03] WARNING[29608]: pbx.c:10888 pbx_parseable_goto: Priority 'in2' must be a number > 0, or valid label<br>  == Spawn extension (in, s, 2) exited non-zero on 'DAHDI/3-1'<br>    -- Hanging up on 'DAHDI/3-1'<br>


    -- Hungup 'DAHDI/3-1'<br><br></span></span><br><span lang="en"><span><span id="result_box" class="" lang="en"><span class="">fails to pass</span> <span class="">the call</span> <span class="">to ivr</span></span><br>

<br></span></span></div><div><span lang="en"><span>any idea ?<br></span></span></div><div><span lang="en"><span><br clear="all"></span></span><br>-- <br>rickygm<br><br><a href="http://gnuforever.homelinux.com" target="_blank">http://gnuforever.homelinux.com</a>
</div></div>