Yate Community Forum
General Category => Yate users hangout place => Topic started by: xyswitchz on May 01, 2018, 06:25:46 AM
-
How to set sip header on a call via direct command
.*=dispatch call.execute;callto=dumb/;direct=sip/sip:54321@x.x.x.x;osip_X-Acct=${acctid}
No header present with X-Acct. This does not seem to works. What the correct way please?
-
You need to add an extra parameter indicating the parameters to be copied when the call is re-executed by dumb module:
.*=dispatch call.execute;callto=dumb/;direct=sip/sip:54321@x.x.x.x;osip_X-Acct=${acctid};copyparams=osip_X-Acct
The 'copyparams' parameter is a comma separated list of parameters to be copied.