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

Michael Jerris mike at jerris.com
Fri Sep 19 06:20:22 PDT 2008


On Sep 19, 2008, at 9:07 AM, Jon Bruel wrote:

> 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?

effective_caller_id_number is meant to be set on the a leg, not the b  
leg.

Mike




More information about the FreeSWITCH-users mailing list