search for: dst_codec

Displaying 1 result from an estimated 1 matches for "dst_codec".

2009 May 17
1
SHARED() variables and <ZOMBIE> channel
...destination channel info (i.e. audio codec) into "source" channel, in order to record into a customer CDR field. My dialplan looks like: [default] exten => _X.,1,Set(_X-SRC_CHANNEL=${CHANNEL}) exten => _X.,n,Dial(SIP/user at domain.net,30,M(getCalledInfo)) exten => h,1,Set(CDR(DST_CODEC)=${SHARED(X-DST-CODEC,${CHANNEL})}) [macro-getCalledInfo] exten => s,1,Set(SHARED(X-DST-CODEC,${X-SRC_CHANNEL})=${CHANNEL(audionativeformat)}) The above works great, however there is a problem when call is transferred via SIP attended transfer and channel is renamed to Channel<ZOMBIE>....