how to pass the original caller number through FS gateway?
i have 2 FS server connected, FS A reg to FS B, and FS B is a gateway for FS A, the external conf of FS A is <gateway name="gwB"> <param name="username" value="1000"/> <param name="password" value="1234"/> <param name="realm" value="192.168.0.100"/> <param name="proxy" value="192.168.0.100"/> </gateway> and i can make call from a phone(e.g. 1001) regestring in FS A to one(e.g. 1005) in FS B, but the calling number shown on the called party is "1000", how can i pass the original caller number("1001") to the called party in FS B?
Do you want every single call from FS A to show "1000" as the caller id? If so just set that in the bridge data in your dialplan. See the effective_caller_id_name and effective_caller_id_number chan vars. -MC On Fri, Jun 21, 2013 at 1:02 AM, Vincent Xia <gmangudai@gmail.com> wrote:
i have 2 FS server connected, FS A reg to FS B, and FS B is a gateway for FS A, the external conf of FS A is
<gateway name="gwB"> <param name="username" value="1000"/> <param name="password" value="1234"/> <param name="realm" value="192.168.0.100"/> <param name="proxy" value="192.168.0.100"/> </gateway>
and i can make call from a phone(e.g. 1001) regestring in FS A to one(e.g. 1005) in FS B, but the calling number shown on the called party is "1000", how can i pass the original caller number("1001") to the called party in FS B?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
got it, many thanks! 2013/6/21 Michael Collins <msc@freeswitch.org>
Do you want every single call from FS A to show "1000" as the caller id? If so just set that in the bridge data in your dialplan. See the effective_caller_id_name and effective_caller_id_number chan vars.
-MC
On Fri, Jun 21, 2013 at 1:02 AM, Vincent Xia <gmangudai@gmail.com> wrote:
i have 2 FS server connected, FS A reg to FS B, and FS B is a gateway for FS A, the external conf of FS A is
<gateway name="gwB"> <param name="username" value="1000"/> <param name="password" value="1234"/> <param name="realm" value="192.168.0.100"/> <param name="proxy" value="192.168.0.100"/> </gateway>
and i can make call from a phone(e.g. 1001) regestring in FS A to one(e.g. 1005) in FS B, but the calling number shown on the called party is "1000", how can i pass the original caller number("1001") to the called party in FS B?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (2)
-
Michael Collins
-
Vincent Xia