<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks again David for the last tip. It did not work but I am posting how I got it to work in case this info is useful to others:<div class=""><br class=""></div><div class="">I could not get the callerid passed no way using a variety of methods using a gateway. The param mentioned did not work. Years ago, passing callerid through worked but due to spoofing I think ITSPs are eliminating this capability.</div><div class=""><br class=""></div><div class="">I gave up and just for kicks tried INTERNAL, and<b class=""> got it to work</b>! I tried to pass sip auth name, password and realm and I kept getting not authorized even though I used the correct info. Then, I remembered my ITSP <a href="http://callcentric.com" class="">callcentric.com</a> had info that stated if a URI came in from a non-callcentric account use “<a href="http://in.callcentric.com" class="">in.callcentric.com</a>”. Since there is no gateway using internal, I removed the sip authorization, add “in." to the url, and bingo, the call went through, forwarded to push server, rang both iPhones, and passed the callerid! One caveat though, I had people call me to test and I always got the number not always the name. For instance, had someone call from Home Depot, I got the number but no name. Calls from landlines worked for both. Will need to look into this further but at least now the callerid is back when Freeswitch bridges a call to our iPhones.</div><div class=""><br class=""></div><div class="">Hope this helps someone someday. I worked years on this, all January, and finally all the last 3 days. My line is a simple:</div><div class=""><br class=""></div><div class=""><a href="mailto:sofia/internal/12345678901130@in.callcentric.com" class="">sofia/internal/12345678901130@in.callcentric.com</a></div><div class="">The number is the account number followed by 3 digit extension (130).</div><div class=""><br class=""></div><div class="">Mario G<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 23, 2020, at 10:57 AM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" class="">david.villasmil.work@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">You need to set in the gateway configuration </div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><param name=“caller-id-in-from” value=”true”/></div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><br class=""></div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 23 Oct 2020 at 18:10, mario_fs <<a href="mailto:mario_fs@mgtech.com" class="">mario_fs@mgtech.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div style="word-wrap:break-word;line-break:after-white-space" class="">Thank you. I did wind up using the first one, but may try the second one to see if original callerid will be passed. FYI here is what I am doing:<div class=""><br class=""></div><div class="">1 Call inbound to FS.</div><div class="">2 Bridge to local phones, iPads, and an 18 second delay to external unregistered ITSP extension.</div><div class="">3 The unregistered extension at the ITSP fowards to 2 other registered extensions on same account which ring cell phones.</div><div class=""><br class=""></div><div class="">The only bummer is that callerid is not forwarded even though I am providing it in the bridge. The only way to get caller ID to pass is to use VPN and register iPhones as local extensions but can’t keep VPN on permanently.</div><div class=""><br class=""></div><div class="">I setup VPN per app on IO but it will not work with Bria. I am changing from calling the 2 mobile numbers directly because sometimes mobile VM is tripped because of 30 second max ringing instead of allowing FS to handle it and we miss messages. Now the timeout is handled via the bridge parameters.</div><div class=""><br class=""></div><div class="">Mario G </div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Oct 22, 2020, at 2:31 PM, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="auto" class="">I’m not really sure I understand what you’re trying to do.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">If you already have a gateway pointing to your service provider, i.e.: it is registered on your provider, simply doing</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">sofia/gateway/GATEWAYNAME/+1234567890 </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Should work. That’s just saying “call +1234567890 using the gateway named GATEWAYNAME which is the xml gateway you created which registers on the service provider.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">About using internal/external and calling directly like </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">sofia/internal/+1234567890@SERVICEPROVIDER_IP</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Is just saying send a call to ip SERVICEPROVIDER_IP with phone number +1234567890 using the internal profile, which is bound to whatever port it is using (usually 5060). This one doesn’t do authentication. (Unless you add it like you said, setting user/pass on the bridge, but I’ve never done it that way)</div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Oct 2020 at 18:40, mario_fs <<a href="mailto:mario_fs@mgtech.com" target="_blank" class="">mario_fs@mgtech.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div style="word-wrap:break-word;line-break:after-white-space" class="">I am trying to bridge an incoming call to an external number(s). I currently have this working for years to normal cell phones. I want to change it to call my ITSP instead of a mobile number but having problems. I have ready the wiki and many posts but they have many variations. Have tried with registered and unregistered. I am missing something.<div class=""><br class=""></div><div class="">The question is what is the correct/best format, I can register the outbound # since it’s my account, the inbound is already registered.</div><div class="">Thanks very much! Mario G<div class=""><br class=""></div><div class=""> I tried #1 below and it does not work. <div class=""><div class=""><br class=""></div><div class="">1. sofia/gateway/${dial_gateway}/<a class="">sip:number@itsp.com</a>. <- NOGO</div></div><div class=""><br class=""></div><div class="">2. WIki has these but I am really puzzled but the use of “internal": </div><div class=""><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;white-space:pre-wrap;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;background-color:rgb(0,0,0);color:rgb(235,219,141)" class="">data</code><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;white-space:pre-wrap;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;background-color:rgb(0,0,0);color:rgb(211,211,211)" class="">=</code><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;white-space:pre-wrap;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;background-color:rgb(0,0,0);color:rgb(255,158,123)" class="">"<a href="mailto:sofia/internal/9998881111@sip.yourprovider.com" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace" target="_blank" class="">sofia/internal/9998881111@sip.yourprovider.com</a>”</code></div><div class="">OR</div><div class=""><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;white-space:pre-wrap;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;background-color:rgb(0,0,0);color:rgb(255,158,123)" class=""><span style="white-space:nowrap;font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;color:rgb(51,51,51)" class=""> </span><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:inherit;color:rgb(235,219,141)" class="">data</code><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:inherit;color:rgb(211,211,211)" class="">=</code><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:inherit" class="">"{sip_auth_username=foo,<a href="mailto:sip_auth_password=bar%7Dsofia/internal/9998881111@sip.yourprovider.com" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace" target="_blank" class="">sip_auth_password=bar}sofia/internal/9998881111@sip.yourprovider.com</a>”</code><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:inherit;color:rgb(211,211,211)" class="">/></code></code></div><div class=""><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;white-space:pre-wrap;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;font-size:14px;min-height:inherit;background-color:rgb(0,0,0);color:rgb(255,158,123)" class=""><code style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;background-image:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:inherit;color:rgb(211,211,211)" class=""><br class=""></code></code></div><div class="">Wiki also shows this example which I use to call cell #, but does not work for directions ITSP call:</div><div class=""><span style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px;white-space:pre-wrap;background-color:rgb(0,0,0);color:rgb(211,211,211)" class="">sofia/gateway/asterlink/18005551212</span></div><div class=""><br class=""></div><div class="">And found this:</div><div class=""><span style="font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;background-color:rgb(255,255,255);color:rgb(36,39,41)" class="">action application="bridge" data="sofia/gateway/providerA/$1</span></div></div></div></div>_________________________________________________________________________<br class="">
<br class="">
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com/" rel="noreferrer" target="_blank" class="">https://signalwire.com</a><br class="">
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">
Build your next product on our scalable cloud platform.<br class="">
<br class="">
Join our online community to chat in real time <a href="https://signalwire.community/" rel="noreferrer" target="_blank" class="">https://signalwire.community</a><br class="">
<br class="">
Professional FreeSWITCH Services<br class="">
<a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class="">
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/confluence</a><br class="">
<a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a></blockquote></div></div>-- <br class=""><div dir="ltr" data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class="">Regards,</div><div class=""><br class=""></div>David Villasmil<div class="">email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.com</a></div><div class="">phone: +34669448337</div></div></div>
_________________________________________________________________________<br class=""><br class="">The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com/" target="_blank" class="">https://signalwire.com</a><br class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">Build your next product on our scalable cloud platform.<br class=""><br class="">Join our online community to chat in real time <a href="https://signalwire.community/" target="_blank" class="">https://signalwire.community</a><br class=""><br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class=""><a href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="https://freeswitch.com/oss" target="_blank" class="">https://freeswitch.com/oss</a><br class=""><a href="https://freeswitch.org/confluence" target="_blank" class="">https://freeswitch.org/confluence</a><br class=""><a href="https://cluecon.com/" target="_blank" class="">https://cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class=""><a href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a></div></blockquote></div><br class=""></div></div>_________________________________________________________________________<br class="">
<br class="">
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com/" rel="noreferrer" target="_blank" class="">https://signalwire.com</a><br class="">
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">
Build your next product on our scalable cloud platform.<br class="">
<br class="">
Join our online community to chat in real time <a href="https://signalwire.community/" rel="noreferrer" target="_blank" class="">https://signalwire.community</a><br class="">
<br class="">
Professional FreeSWITCH Services<br class="">
<a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class="">
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/confluence</a><br class="">
<a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a></blockquote></div></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class="">Regards,</div><div class=""><br class=""></div>David Villasmil<div class="">email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.com</a></div><div class="">phone: +34669448337</div></div></div>
_________________________________________________________________________<br class=""><br class="">The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" class="">https://signalwire.com</a><br class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">Build your next product on our scalable cloud platform.<br class=""><br class="">Join our online community to chat in real time <a href="https://signalwire.community" class="">https://signalwire.community</a><br class=""><br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></div></body></html>