Asterisk 1.8 CALL-ID

Hi guys
is there any way how to get call-id from asterisk???Call-Id is Unique identifier for each call and contains the host address. It must be the same for all the messages within a transaction, it is in SIP Heared.

THX

The call-id is unique, but there is no requirement that it contain the IP address; it is an opaque value.

[quote]centosCLI> core show function SIP_HEADER
centos
CLI>
-= Info about function ‘SIP_HEADER’ =-

[Syntax]
SIP_HEADER([,])

[Synopsis]
Gets the specified SIP header

[Description]
Since there are several headers (such as Via) which can occur multiple
times, SIP_HEADER takes an optional second argument to specify which header with
that name to retrieve. Headers start at offset 1.[/quote]

This is a support question and shoudl have been asked on a support forum.