[Freeswitch-users] Question about effective caller ID & origination caller ID

Mario mario_fs at mgtech.com
Wed Oct 6 11:24:30 PDT 2010


I have the inbound caller ID working for a bridge but can't reconcile
why effective_caller_id.. does not work. I spent a lot of time the last
few days reading the wiki and other web info. Since I can't find the
answer anywhere can anyone shed some light on this?

The wiki states:
effective_caller_id_number
Sets the effective callerid number. This is automatically exported to
the B-leg; however, it is not valid in an origination string. In other
words, set this before calling bridge, otherwise use
origination_caller_id_number

Does NOT work before the bridge:
        <!--action application="set"
data="effective_caller_id_number=${caller_id_number}"/>
        <action application="set"
data="effective_caller_id_name=${caller_id_name}"/-->

Does NOT work before the bridge:
        <!--action application="set"
data="origination_caller_id_number=${caller_id_number}"/>
        <action application="set"
data="origination_caller_id_name=${caller_id_name}"/-->
        <!--action application="set"

ONLY way IT WORKS (must be added before dialstring):
        <action application="bridge"
data="<originate_timeout=15,origination_caller_id_number=${caller_id_number},origination_caller_id_name=${caller_id_name}>group/MGT@${domain_name}:_:sofia/gateway/uuid1/19162223333:_:sofia/gateway/uuid1/19164445555"/>


The caller ID is lost in an extension, although I still don't know why
at least I got it back.




More information about the FreeSWITCH-users mailing list