Inconsistency In CDR Between NO ANSWER And BUSY Calls


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
Asterisk Users 3.3 years ago 3 Answers

Answers ( 3 )

  1. Ishfaq Malik
    July 18, 2012 at 03:13 am

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



  2. Matthew Jordan
    July 18, 2012 at 09:18 am

    ----- Original Message ---

  3. Ishfaq Malik
    July 18, 2012 at 09: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.

 Prev question

Next question