[Freeswitch-users] Controlling the caller ID
Avi Marcus
avi at avimarcus.net
Thu Oct 11 12:58:24 MSD 2012
As Ken said... before the bridge you can set the effective_caller_id_number
and effective_caller_id_name.
Depending on your gateway, however, it will want the caller ID passed a
different way.
Many want it in the FROM in the invite.
In the gateway:
Authentication<http://wiki.freeswitch.org/wiki/Authentication> -
you can set "caller-id-in-from" to be true.
For any other CID type, you can change it in the channel:
Channel_Variables#Caller_ID_Related<http://wiki.freeswitch.org/wiki/Channel_Variables#Caller_ID_Related>,
specifically: Variable_sip_cid_type<http://wiki.freeswitch.org/wiki/Variable_sip_cid_type>
-Avi
On Thu, Oct 11, 2012 at 5:26 AM, Ken Rice <krice at freeswitch.org> wrote:
> termination is termination and origination is origination... just because
> out interconnect tech is primarily sip vs tdm (pots pri ss7 etc) the
> terminology does not change.
>
>
> as far as freeswitch controlling what clid is passed thru, that is up to
> how you configure freswitch. yes it can pass thru what the customer sends
> or it can block that and send something you have configured for the
> customer... for the later see the effective caller id name and number
> variables on the fs wiki.
>
> Ken
> Sent from my iPad
>
> On Oct 10, 2012, at 9:43 PM, "D'Arcy J.M. Cain" <darcy at Vex.Net> wrote:
>
> > On Wed, 10 Oct 2012 13:35:06 -0700
> > Michael Collins <msc at freeswitch.org> wrote:
> >> Can you restate your question? I think a lot of us got confused when
> >> you said that you're only worried about termination. Can you explain
> >> what you want without using FreeSWITCH-specific terminology? I think
> >> that will clear up the confusion.
> >
> > I am not knowingly using FreeSWITCH terminology. I am using telco
> > terminology. Termination is where I send calls from my clients out to
> > the PSTN world. Origination is how the world calls me. It does seem
> > backwards but that's how it is.
> >
> > http://en.wikipedia.org/wiki/Call_termination
> >
> > So, in my case I have clients who terminate with my switch and I pass
> > that on to the PSTN network through my termination provider. My
> > origination provider (happens to be the same company in this case)
> > provides me with DIDs and originates calls to me that I pass on to my
> > client. My question here concerns the former.
> >
> > It just occurred to me that I may have left out a relevant piece of
> > information. I am in Canada and use a Canadian provider. Canada and
> > the US use different methods for passing CNAME information. In the US
> > there is a central database of numbers and carriers "dip" into it to
> > get the information. In Canada each phone provider keeps their own
> > database and passes the information through the network.
> >
> > So, here is my problem. My clients can send me any number and CNAME
> > that they want and currently I pass it on. If someone misuses that
> > they could cause the excrement to start rolling downhill and while I am
> > not the final destination, handling shit is never fun.
> >
> > So, what I want to do is ignore the values that they send me and insert
> > the actual phone number and the CNAME that is registered in my billing
> > database for them. Does FreeSWITCH call that termination or
> > origination?
> >
> > --
> > D'Arcy J.M. Cain
> > System Administrator, Vex.Net
> > http://www.Vex.Net/ IM:darcy at Vex.Net
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121011/e2820a6f/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list