You can use the ResetCDR() application with the w flag in it after you get
the unavailable, busy or etc message from the callee. It will store the cdr
of that call and after forwarding to mobile, that cdr will be dumped again.

On Wed, Sep 24, 2008 at 8:26 AM, Nhadie <[EMAIL PROTECTED]> wrote:

> hi,
>
> i'm using this macro to dial an extension and forward to a mobile if
> unavailable,busy or noanswer
>
> exten => 100,1,Macro(dial-ext|SIP/${EXTEN}|vm-100|moh-100)
> exten => 100,2,Goto(100-${DIALSTATUS}|1)
> exten => 100-BUSY,1,Macro(dialout-local-mobile|91234567)
> exten => 100-BUSY,2,Voicemail([EMAIL PROTECTED]|u)
> exten => 100-CONGESTION,1,Macro(dialout-local-mobile|91234567)
> exten => 100-CONGESTION,2,Voicemail([EMAIL PROTECTED]|u)
> exten => 100-NOANSWER,1,Macro(dialout-local-mobile|91234567)
> exten => 100-NOANSWER,2,Voicemail([EMAIL PROTECTED]|u)
>
> my prob is on the CDR, from extension 500 i called 100, 100 is not
> online so it should forward it to my mobile
>
> but on the cdr it shows like this:
>
>  From    To
> 500     100-CHANUNAVAIL
>
> should it be like
>
>  From    To
> 500     91234567
>
> or
>
>  From    To
> 100     91234567
>
> any idea how to fix those?
>
> regards,
> nhadie
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Best Regards
Rizwan Hisham
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to