[Freeswitch-users] Possible problem in adding channel variables to the bridge destinations

Jon Bruel jbr at consiglia.dk
Fri Sep 19 06:07:07 PDT 2008


I have tested the option of adding channel variables to the bridge
string, and it does not work.
This dialplan works:
<extension name="External calls">
<condition field="destination_number" expression="^(\d{8})$">
<action application="set" data="effective_caller_id_number=45161061"/>
<action application="bridge" data="sofia/gateway/45161061/$1"/>
</condition>
</extension>

While this one does not work, it is rejected by the gateway:
<extension name="External calls">
<condition field="destination_number" expression="^(\d{8})$">
<action application="bridge"
data="[effective_caller_id_number=45161061]sofia/gateway/45161061/$1"/>
</condition>
</extension>
The INVITE Remote-Party-ID header differs. In the firs case it is:
"Extension 1000"
<sip:45161061 at jbconsulting.v2tel.dk>;screen=yes;privacy=off
And in the second case it is: 
"Extension 1000" <sip:1000 at jbconsulting.v2tel.dk>;screen=yes;privacy=off

Is this an error on my behalf, or do we have a bug?





More information about the FreeSWITCH-users mailing list