Hi,

I am using SHARED() function to push 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/[email protected],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>.

-- Executing [...@default:1] Set("SIP/somechannel<ZOMBIE>",
"CDR(DST_CODEC)=") in new stack

Is there any workaround for the above issue?

Regards,
Chris

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to