[AsteriskBrasil] dstchannel

Caio Begotti caio em ueberalles.net
Sábado Dezembro 8 20:34:14 BRST 2007


On 06/12/2007, at 16:39, Bernardo Vieira wrote:

> http://www.asterisk.org/doxygen/1.2/structast__cdr.html
>
> Rodrigo Filardo Reinig wrote:
>> Gostaria de saber o que é essa marcação em hexadecimal aqui, pois
>> estamos desenvolvendo uma aplicação para o asterisk e ta dando um  
>> pouco
>> de dor de cabeça descobrir isso.
>>

Bernardo, acho que o Rodrigo tava procurando outra coisa, ao invés da  
struct que você colou do 1.2. Pelo que entendi ele quer saber o que  
são os chars ao lado dos nomes dos canais, e a ast_cdr não explica de  
forma clara isso. Isso aqui deve servir:

The thread ID is printed on the debug line, and that can be grepped for,
once you identify which channel is associated with which thread ID.   
Channel
names are a bit less useful, since the same ID may refer to hundreds of
different calls (though not concurrently).  This is because the unique
identifier added to the end of a channel name is currently the  
address in
memory where the channel structure lives, and the chunk of memory for a
channel tends to get reused quite often for other channels.  Thread  
IDs, OTOH,
are not recycled very often.

Logging/debug features: 3 ideas for discussion
http://www.mail-archive.com/asterisk-dev@lists.digium.com/msg28323.html

Falou,

--
Caio Begotti <http://caio.ueberalles.net>

    assinatura de e-mail chapa branca



Mais detalhes sobre a lista de discussão AsteriskBrasil