[asterisk-users] Why CDR is recording dst value = h?

Zeeshan Zakaria zishanov at gmail.com
Wed Jul 15 08:04:37 CDT 2009


Understood.

Zeeshan

On Wed, Jul 15, 2009 at 8:50 AM, Alex Balashov <abalashov at evaristesys.com>wrote:

> It is not a personal attack.  It is a statement about the appearance that
> your manner of formulating your follow-up creates, intentionally or
> otherwise.
>
> "Experts" do not like being prodded; and take a critical view of rhetorical
> manipulation techniques designed to appeal to their baser tendencies (e.g.
> ego, competition, proving that they can do something).
>
> --
> Sent from mobile device
>
> On Jul 15, 2009, at 8:20 AM, Zeeshan Zakaria <zishanov at gmail.com> wrote:
>
> Alex, no need for personal attacks.
>
> Zeeshan
>
> On Wed, Jul 15, 2009 at 2:23 AM, Alex Balashov <<abalashov at evaristesys.com>
> abalashov at evaristesys.com> wrote:
>
>> Yes, provided they are inclined to look at your issue.  Do not be
>> presumptuous or self-entitled.
>>
>> Zeeshan Zakaria wrote:
>>
>> > It should be an easy one for many of the experts here.
>> >
>> > On Mon, Jul 13, 2009 at 8:10 PM, Zeeshan Zakaria < <zishanov at gmail.com>
>> zishanov at gmail.com
>> > <mailto: <zishanov at gmail.com>zishanov at gmail.com>> wrote:
>> >
>> >     For a new project, I have written a dialplan and it is pretty
>> >     straight forward: The [dialout] context dials out a number, and h
>> >     extension in this context writes the CDR. But what is happening is
>> >     that if the callee hangs up first, all values in the CDR are fine,
>> >     but if the caller hangs up first, the 'dst' column is always 'h'. I
>> >     put a NoOp right in the begining of this macro to verify it.
>> >
>> >     Any idea why is this happening and how can I have correct 'dst'
>> >     value if the caller hangs up first.
>> >
>> >     [dialout]
>> >             exten => _NXXNXXXXXX,s,1,Dial(SIP/XXXXXX/${EXTEN},30)
>> >             exten => h,1,Macro(hangupcall,${EXTEN},${CDR(accountcode)})
>> >
>> >     [macro-hangupcall]
>> >             NoOp(${CDR(dst)})
>> >             Set(dialout_num=${ARG1})
>> >             Set(user_id=${ARG2})
>> >             ResetCDR(vw);
>> >             NoCDR();
>> >             Hangup();
>> >
>> >
>> >     --
>> >     Zeeshan A Zakaria
>> >
>> >
>> >
>> >
>> > --
>> > Zeeshan A Zakaria
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > -- Bandwidth and Colocation Provided by <http://www.api-digital.com>
>> http://www.api-digital.com --
>> >
>> > asterisk-users mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >     <http://lists.digium.com/mailman/listinfo/asterisk-users>
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>> --
>> Alex Balashov
>> Evariste Systems
>> Web     : <http://www.evaristesys.com/>http://www.evaristesys.com/
>> Tel     : (+1) (678) 954-0670
>> Direct  : (+1) (678) 954-0671
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by <http://www.api-digital.com>
>> http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   <http://lists.digium.com/mailman/listinfo/asterisk-users>
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
> Zeeshan A Zakaria
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    <http://lists.digium.com/mailman/listinfo/asterisk-users>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Zeeshan A Zakaria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090715/bf86a656/attachment.htm 


More information about the asterisk-users mailing list