Author Topic: Billid in call.answered  (Read 6105 times)

kolyanu4

  • Newbie
  • *
  • Posts: 4
    • View Profile
Billid in call.answered
« on: October 03, 2013, 10:03:06 AM »
Hello!

I'm doing call.execute from my external script with callto='fork' and other params. фтв Аfter receiving call.answered from yate there is no billid of call.

Is there any way to receive it?


Thanks!

vankooch

  • Administrator
  • Newbie
  • *****
  • Posts: 49
    • View Profile
Re: Billid in call.answered
« Reply #1 on: October 17, 2013, 06:54:07 AM »
Use copy param function. When you use sniffer the copy param should look like this:

Code: [Select]
param['copyparams'] = 'rtp_addr,rtp_port,billid, ANY OTHER parameter'

marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: Billid in call.answered
« Reply #2 on: October 18, 2013, 01:31:14 AM »
Use chan.masquerade with message=call.execute and id=id_of_sending_channel