<div>List,</div>
<div> </div>
<div>Does anyone know how to add the dst Country to the CDR's via Macro (preferably).</div>
<div>For example, I will add a column in the cdr DB table and when someone dials 01158212XXX. I want the CDR's to show Caracas as the destination in this new column.</div>
<div> </div>
<div>I have all of the International destinations in my extensions.conf like the example below:</div>
<div> </div>
<div>
<div>[macro-dialout-intl]<br>exten => s,1,SetGroup(${CALLERIDNUM})<br>exten => s,2,CheckGroup(1)<br>exten => s,3,absolutetimeout,${settimeout}<br>exten => s,4,Dial(<a href="mailto:SIP/${ARG1}@${carrierintl">SIP/${ARG1}@${carrierintl
</a>})<br>exten => s,5,hangup<br> </div>
<div>[intl_context]</div>
<div>exten => _01130.,1,Macro(dialout-intl,${EXTEN}) ;Greece<br>exten => _01131.,1,Macro(dialout-intl,${EXTEN}) ;Netherlands<br>exten => _01132.,1,Macro(dialout-intl,${EXTEN}) ;Belgium
<br>exten => _0113271.,1,Macro(dialout-intl,${EXTEN}) ;Belgium<br>exten => _011331.,1,Macro(dialout-intl,${EXTEN}) ;Paris</div>
<div>exten => _01158212.,1,Macro(dialout-intl,${EXTEN}) ;Caracas<br>etc...</div>
<div> </div></div>
<div>It seems like I should be able to put the name of the country into ARG2, but I'm not sure how to write the macro to include the ARG2 into the CDR.<br> </div>
<div>Anyones help would be greatful.</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>bp</div>
<div> </div>