Author Topic: copyparams propagation  (Read 7482 times)

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
copyparams propagation
« 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?


Monica Tepelus

  • Administrator
  • Full Member
  • *****
  • Posts: 198
    • View Profile
Re: copyparams propagation
« Reply #1 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

xyswitchz

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: copyparams propagation
« Reply #2 on: May 01, 2018, 06:22:33 AM »
ok thanks I have rearranged to use call.cdr