Inconsistency In CDR Between NO ANSWER And BUSY Calls

Hi

I’m using asterisk 1.8.7

My dialplan for an inbound number is along the lines of

[default]
exten => idenfier,1,Goto(specific-context,s,1)

[specific-context]
exten => s,1,NoOp()
exten => s,2,Dial(SIP/some-extenion,20)

I have been testing the following 2 scenarios:
1) Caller calls in to identifier, caller hangs up (NO ANSWER)
2) Caller calls in to identifier, callee rejects (BUSY)

In both scenarios the dialplan works properly and dials
‘some-extension’. However, there is some divergence with what is entered into the CDR. In both scenarios the following are the same (as they should be)
a) lastapp b) lastdata

But, in scenario 1 the dcontext is ‘specific-context’ (this is what I
would expect) and in scenario 2 the dcontext remains ‘default’ even though the call moved to a different context.

This cannot possibly be intentional and it is causing problems with our set up.

Has anyone else experienced this? Is it actually correct behaviour and if so, why? If it is a bug, has it already been raised?

Thanks in advance

3 Responses to “Inconsistency In CDR Between NO ANSWER And BUSY Calls”

  1. Ishfaq Malik said:

    Jul 18, 12 at 3:13 am

    Would I be better off asking this question of the dev community?

    Thanks

    Ish

  2. Matthew Jordan said:

    Jul 18, 12 at 9:18 am

    —– Original Message —

  3. Ishfaq Malik said:

    Jul 18, 12 at 9:50 am

    That makes sense to me

    Fair enough, now that I know why it behaves as it does, I can go about making it behave the way I want it to.

    Your answers have been very helpful and I really appreciate it.