Yate Community Forum

General Category => Yate users hangout place => Topic started by: xyswitchz on April 30, 2018, 07:32:08 PM

Title: copyparams propagation
Post by: xyswitchz on April 30, 2018, 07:32:08 PM
I dial outbound like this
.*=sip/sip:54321@x.x.x.x;copyparams=param1,param2;param1=aaa;param1=bbb

I want to access variables param1 and param2 from call.answered event however
they appear to be missing from this event.

What do i need to do to make them accessible on call.answered?

Title: Re: copyparams propagation
Post by: Monica Tepelus on May 01, 2018, 03:44:40 AM
Hi,

They are copied to call.cdr message, routing and call.execute. Maybe you can change your implementation and use call.cdr instead of call.answered. I think a call.cdr with operation update is emited when call is answered
Title: Re: copyparams propagation
Post by: xyswitchz on May 01, 2018, 06:22:33 AM
ok thanks I have rearranged to use call.cdr