Good morning,
I defined in my directory (/usr/local/freeswitch/conf/directory) a variable called accountcode (it’s okey if it has to be another name because this is already in use) with value 7777. What I need is that in the dialplan is set as a variable
so that i can use it as a SIP_Header for my call as sip-h-P-Charge-Info, like follows:
<extension name="saliente">
<condition field="destination_number" expression="^(\d+)$" break="on-true">
<action application="set" data="effective_caller_id_number=${caller_id_number}"/>
<action application="set"><![CDATA[sip_h_P-Charge-Info=${accountcode}]]></action>
<action application="bridge" data="sofia/gateway/NP/$1"/>
</condition>
</extension>
Is it that posible? How can I solve it?
|
Thank you in advance |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||