on 01-24-2014 01:37 AM
Hi Steve,
As mentioned in the TCL IVR programming guide for accessing the headers associated with the protocol we can make use of 'leg_proto_headers'
Syntax: infotag get leg_proto_headers [<attribute-name>]
where <attribute-name> is the name of the header to get.
But currently, only access to headers in SIP invite, subscribe, notify and H.323 setup messages are supported.
Also if <attribute-name> is not specified, all headers are returned in a concatenated string, with each header separated by a "&" symbol and if legID is not provided, the first incoming leg is applied.
And related to you question whether there are any future plans for adding this API, please let us share your requirments in detail so that we will pass it on to the marketing team and get back to you with their response.
Thanks,
Anusha
Hi Travis,
I had gone through the running configs that you had sent to me and found that you are missing the mandatory configs for headers passing. Please include the following configs and try it out.
sip
header-passing
Thanks,
Anusha
After I did this config change sip header passing, I could see cli is coming as : sip:username@domain instead of 17607058888.
Is there anyway so that CLI and CLD remains same.
Srikanth
Thanks a lot
Here is the issue i am facing with after I enabled sip header passing
I have a translation rule
voice translation-rule 7
rule 1 /\+/ //
!
this rule is applied through translation profile on dial-peer for incoming number
this rule is supposed to strip '+' from CLI
Example : CLI : +99999999999 it will come into script as 99999999999
right now CLI coming as sip:99999999999@domain.. so this rule is getting failed. How can I make a workaround so I could able to apply translation rule on CLI.
please help me out.
Thanks a lot
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: