[Freeswitch-users] Bridge question
mario_fs
mario_fs at mgtech.com
Thu Apr 25 16:20:13 UTC 2019
I set the effective caller name if a number matches a table, because many numbers call without a name.
I don’t know why you would set the internal extensions using sip reply, I only use it for the outgoing 2 cell phones.
I am pretty sure you can use it in [] or {} because I think I tested that way but it’s been a while and memory is not what is used to be.
As for leg_delay, it’s because we want time to answer the call on internal extensions/ipads before going to cell phones.
If you want the cell to take the VM then call_timeout not needed, if you want Freeswitch to take the VM then it's critical and not something with a lot of choice. Keep in mind I want the internals ring 24 seconds, then the internals continue ringing and cells start, but if no answer at cell let Freeswitch take the voicemail. This means we do not want the cell company to take the VM, so the call must be timed out before 30 seconds, actually 24 since call setup is included in that 30. Now…. Most cells switch to VM in 20 seconds so in addition to all this, you need to set the carrie VM to 30 seconds which is the max for att, T-mobile, etc. You can find instructions on the web for each how to do this.
Hope this helps a little.
Mario G
> On Apr 24, 2019, at 2:54 PM, Sean Devoy <sdevoy at bizfocused.com> wrote:
>
> Mario,
> Thanks for your reply. I think I get the majority of what you are saying.
> I am pretty sure the I can get it based on your response as my requirements are not as broad as yours.
>
> If I set the effective caller id name and number to the external values and then use sip_h_In-Reply-To=${sip_call_id} for the internal extensions in the dial-string, I think I am good.
>
> I was wondering if I could set the channel variables for caller id in the dial-string with {} or in this case []?
>
> That of course leaves the political debate of how long to delay for VM (call_timeout=) and [leg_delay_start=] for the cell phone connection (attempt).
>
> Sean
>
> From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org>> On Behalf Of mario_fs
> Sent: Wednesday, April 24, 2019 11:40 AM
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org>>
> Subject: Re: [Freeswitch-users] Bridge question
>
> I do exactly that and more. First, see this page for what the caller hears: https://freeswitch.org/confluence/display/FREESWITCH/macOS <https://freeswitch.org/confluence/display/FREESWITCH/macOS>
>
> I replace the early media ringing with custom prerecorded messages that includes the caller name.
>
> The I bridge with the parts below built from a LUA program. The called cell phone displays the callerid of the original caller (that took a year to figure out).
>
> What you are after is "sip_h_In-Reply-To=${sip_call_id}”. But… keep two things in mind: First. Your ITSP must support it, in my case I use Callcentric and you MUST inform them you are doing this so they can turn it on for your account. Second, the biggie: with stir/shaken (https://www.fcc.gov/call-authentication <https://www.fcc.gov/call-authentication>) coming up I don’t think this will be possible anymore. See my comment below.
>
> {originate_timeout=48,alert_info=<http://127.0.0.1 <http://127.0.0.1/>>;info=Family}${group_call(deskphone@${domain_name}+A)},${group_call(iPads@${domain_name}+A)},${group_call(iPhones@${domain_name}+A)},[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12121234567,[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12127654321
>
> More than you asked about but important to note:
> Because of problems below (there are more) bridging to a cell phone, I am trying something different and if it works will put it in the wiki. Instead of bridging the call I want to make the cell phone a simple Freeswitch extension. That resolves all the problems including passing callerID. This is done using VPN and a SIP app, in this case Bria for iPhone which uses Apple Notifications to trigger the app when a call comes on. Only problem is… VPN on demand does not work with Bria because it uses sockets instead of the recommended Apple API. So I have been trying to convince Counterpath to add one DNS lookup to trigger VPN On Demand. This solution would be 1000 percent better than bridging.
>
> Problems with this method:
> Due to the T-Mobile (ATT and Verizon same) 30 second ring limit before voicemail, we cannot ring our iPhones at the same time as the local phones, so people have to wait a very long time before the cell rings.
> When the iPhones do ring, we may miss a call simply because we cannot get the iPhone out in 20-30 seconds.
> If the cellular network has a quirk, the iPhone will not connect for a long time, then a voicemail is taken by the iPhone VM( which we never look at) instead of Freeswitch, so the voicemail is essentially lost.
>
>
>
>
>
> On Apr 23, 2019, at 2:19 PM, Sean Devoy <sdevoy at bizfocused.com <mailto:sdevoy at bizfocused.com>> wrote:
>
> Hi,
>
> My customer wants to ring the local extension, then 15 seconds later connect their cell phone. I have the leg_delay_start working fine. What I don’t know is how to pass the internal Caller ID to one and the external caller id to the other?
>
> Thanks,
> Sean
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>
> Professional FreeSWITCH Services
> sales at freeswitch.com <mailto:sales at freeswitch.com>
> https://freeswitch.com <https://freeswitch.com/>
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
> https://cluecon.com <https://cluecon.com/>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> https://freeswitch.com <https://freeswitch.com/>
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <https://signalwire.com/>
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time https://signalwire.community <https://signalwire.community/>
>
> Professional FreeSWITCH Services
> sales at freeswitch.com <mailto:sales at freeswitch.com>
> https://freeswitch.com <https://freeswitch.com/>
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
> https://cluecon.com <https://cluecon.com/>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> https://freeswitch.com <https://freeswitch.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190425/2f289aed/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list