[asterisk-dev] Is this a "bug" or a feature?
Kai Hoerner
kai at ciphron.de
Tue Jul 21 09:54:18 CDT 2009
hi alan,
to make the answer short: this is totally normal.
the term "extension" has multiple meanings in asterisk.
a) your phones as extensions of your PBX
b) "extension" as part of the logic in your dialplan
in asterisk an extension is b)..
your phones are devices / channels / sip peers.
if you want to know which phone answered the call, you may want to parse
the channel argument..
or do custom CDRs as Klaus suggested.
regards,
kaii
Klaus Darilion schrieb:
> Alan Lord (News) schrieb:
>
>> Hi,
>>
>> I apologise in advance for jumping in on the dev list but it seems as
>> though ${EXTEN} is not being updated if the final leg of a call comes
>> from within the dialplan (i.e. not user entered digits). The
>> "Destination" record continues to read "s" even though a call is
>> connected to a physical extension such as SIP/101. The "Destination
>> channel" is correct but there is no, apparently simple way to get just
>> the extension number of the b-leg of the call.
>>
>> See this thread on asterisk-user I started a couple of days ago.
>>
>> http://lists.digium.com/pipermail/asterisk-users/2009-July/234925.html
>>
>
> That's probably not what you want to hear - but I always use custom-cdrs
> and specify some variables which should be logged. Then, during dialplan
> logic I fill those variables explicitly. Thus, in the CDRs I always have
> the values which I want to have - not the ones which Asterisk thinks it
> should put in. Probably everybody wants to have the CDRs a little bit
> different, that's why there is the custom CDR engine.
>
> regards
> klaus
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
More information about the asterisk-dev
mailing list