VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
alex at sinapticode.ro Guest
|
Posted: Thu Feb 19, 2009 5:47 am Post subject: [Freeswitch-users] origination_caller_id_number used instead |
|
|
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,
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
alex at sinapticode.ro Guest
|
Posted: Thu Feb 19, 2009 6:13 am Post subject: [Freeswitch-users] origination_caller_id_number used instead |
|
|
Just a follow up, I execute the following command:
originate
{effective_caller_id_number=40722333444}sofia/gateway/provider/<phone1>
&bridge('sofia/gateway/provider/<phone2>')
And it worked, but when I add origination_caller_id_number ... it
overrides effective_caller_id_number.
My provider's setup is nothing fancy, something like:
<param name="username" value="anything" />
<param name="password" value="anything"/>
<param name="realm" value="<ip>" />
<param name="register" value="false"/>
<!-- tried setting this on and off -->
<!--<param name="caller-id-in-from" value="true"/>-->
On Thu, 2009-02-19 at 12:36 +0200, Alexandru Nedelcu wrote:
Quote: | 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,
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|