[asterisk-users] Asterisk mysql CDR
Rizwan Hisham
rizwanhasham at gmail.com
Wed Sep 24 04:16:35 CDT 2008
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 <nhadie at gmail.com> 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(100 at vm-100|u)
> exten => 100-CONGESTION,1,Macro(dialout-local-mobile|91234567)
> exten => 100-CONGESTION,2,Voicemail(100 at vm-100|u)
> exten => 100-NOANSWER,1,Macro(dialout-local-mobile|91234567)
> exten => 100-NOANSWER,2,Voicemail(100 at vm-100|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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080924/8a6c0234/attachment.htm
More information about the asterisk-users
mailing list