[Freeswitch-users] origination_caller_id_number used instead of effective_caller_id_number
Alexandru Nedelcu
alex at sinapticode.ro
Thu Feb 19 02:36:08 PST 2009
I don't know what I'm doing wrong. origination_caller_id_number is used
on the B-leg of the bridge, although I also specify the
effective_caller_id_number.
The thing is that it originally worked in my tests, and I can't figure
out what changed in the meantime.
The code is something like this ...
session = new
Session("{originate_retry_sleep_ms=30000,ignore_early_media=true,is_callcenter=0,origination_caller_id_number=+40722333444,effective_caller_id_number=+40711222333}sofia/gateway/provider/<phone>");
if (session.ready()) {
new_session = new Session("sofia/gateway/provider/<another phone>",
session);
if (new_session.ready())
bridge(session, new_session);
}
Thanks,
More information about the Freeswitch-users
mailing list