[asterisk-dev] No CDR for non-bridged outgoing calls

Klaus Darilion klaus.mailinglists at pernau.at
Tue Dec 29 09:21:13 CST 2009

Jim Gottlieb schrieb:
> On 2009-12-28 at 12:24, Kaloyan Kovachev (kkovachev at varna.net) wrote:
>> just use Dial(Local/${SOME_EXTEN}/n) for the outgoing call
> Good idea, but for some reason (perhaps because it's some kind of
> pseudo-channel?), the channel structure isn't filled with the usual
> information, which breaks our application (it reads this info from the
> channel structure).  The CDR record does have all the information, however.
> If I do a 'zap show channel' on the channel that's been connected this
> way, the Extension:, CallerID: and Calling TON: fields are empty.
> Using the 'o' and/or 'f' options to Dial() does not seem to help.

Probably you have to specify channel variables as "global", using _ 
(inherited once) or __ (inherited always).

e.g: Set(_MYVAR=foobar) instead of Set(MYVAR=foobar)


> _______________________________________________
> --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