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:[EMAIL PROTECTED]>;screen=yes;privacy=off
And in the second case it is: 
"Extension 1000" <sip:[EMAIL PROTECTED]>;screen=yes;privacy=off

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


_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to