outbound call with hunting number as the originating caller
Hi All, I have an app running on FS making outbound calls over a PRI line. The calls all caller-id at the endpoints with the PRI's pilot number. Say I wanted to change it so that the endpoint receives the call from one of the block of hunting numbers that my line comes with (instead of the primary/pilot number), how do I originate a call to do that? Here's the command on fs_cli that I'm trying, that doesn't seem to work:
originate {destination_number=XXXXXXXXXX}openzap/smg_prid/a/YYYYYYYYYY@g2&echo
Not sure which channel var(s) I should be setting, or even if that's the way to make this work. Maybe it's up to my PRI service provider to provide this functionality? In case it matters, I am hosting two PRIs on Sangoma hardware, here is my openzap.conf: [span wanpipe smg_prid] name => smg_prid trunk_type =>e1 b-channel => 1:1-15 b-channel => 1:17-31 trunk_type =>e1 b-channel => 2:1-15 b-channel => 2:17-31 Thanks in advance, Neil
On Thu, Aug 12, 2010 at 1:45 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi All,
I have an app running on FS making outbound calls over a PRI line. The calls all caller-id at the endpoints with the PRI's pilot number. Say I wanted to change it so that the endpoint receives the call from one of the block of hunting numbers that my line comes with (instead of the primary/pilot number), how do I originate a call to do that? Here's the command on fs_cli that I'm trying, that doesn't seem to work:
originate {destination_number=XXXXXXXXXX}openzap/smg_prid/a/YYYYYYYYYY@g2&echo
Neil, use "origination_caller_id_number=xxx" like this:
originate {origination_caller_id_number=1234567890,destination_number=XXXXXXXXXX}openzap/smg_prid/a/YYYYYYYYYY@g2&echo
NOTE: The telco must support custom sending of "calling party number" sometimes called CPN. It won't hurt to try it, though, so give it a whirl and let us know. -MC
That did it! Thanks Michael! -Neil On Fri, Aug 13, 2010 at 12:30 AM, Michael Collins <msc@freeswitch.org>wrote:
On Thu, Aug 12, 2010 at 1:45 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi All,
I have an app running on FS making outbound calls over a PRI line. The calls all caller-id at the endpoints with the PRI's pilot number. Say I wanted to change it so that the endpoint receives the call from one of the block of hunting numbers that my line comes with (instead of the primary/pilot number), how do I originate a call to do that? Here's the command on fs_cli that I'm trying, that doesn't seem to work:
originate {destination_number=XXXXXXXXXX}openzap/smg_prid/a/YYYYYYYYYY@g2 &echo
Neil, use "origination_caller_id_number=xxx" like this:
originate {origination_caller_id_number=1234567890,destination_number=XXXXXXXXXX}openzap/smg_prid/a/YYYYYYYYYY@g2&echo
NOTE: The telco must support custom sending of "calling party number" sometimes called CPN. It won't hurt to try it, though, so give it a whirl and let us know.
-MC
_______________________________________________ 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
-
Neil Patel