Maybe stupid question, but You’re sending

To: <sip:number_to_call@123.ims.my_provider.net>

Number_to_call

As the “to” user, did you remove the actual number or are sending that?

On Mon, 17 Jun 2019 at 11:25, Sean Devoy <sdevoy@bizfocused.com> wrote:

Hi Paolo,

 

I had a similar problem with one provider in the US.  It may be unrelated, but I thought I would mention it. The issue was in the outgoing number.  In my case the provider required “+” then 1 and my area code and number.  Are you sure you have the outbound number syntax correct to meet their requirements?

 

Regards,

Sean

 

From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of paolo.visnoviz@vipcomputers.it
Sent: Saturday, June 15, 2019 5:16 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] No outbounds calls

 

Yes, and unallocated number too, but I can't figure out why... :-(

Il 15/06/19 08:35, Brian : ha scritto:

Hi Paolo,
 
  SIP/2.0 404 Not Found
   Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe
   To: <sip:number_to_call@123.ims.my_provider.net>;tag=ztesipsuDgPzVN*2-4-20481*giag.2
   From: "?"<sip:123456789@ims.my_provider.net>;tag=8g41KmQBgB0pm
   Call-ID: 9b55b86c-0972-1238-0aa8-080027755653
   CSeq: 5714138 INVITE
   X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net"
   Content-Length: 0
 
Thanks & Regards
 
On Sat, Jun 15, 2019 at 12:50 AM paolo.visnoviz@vipcomputers.it
<paolo.visnoviz@vipcomputers.it> wrote:
 
Ok guys, I give up. So I must ask help. :-(
 
In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please?
 
This is my gateway conf:
 
<include>
  <gateway name="outbound-my_provider">
    <param name="username" value="123456789"/>
    <!-- param name="auth-username" value="123456789@ims.my_provider.net"/ -->
    <!-- param name="password" value="my_password"/ -->
    <param name="realm" value="ims.my_provider.net"/>
    <param name="from-user" value="123456789"/>
    <param name="from-domain" value="ims.my_provider.net"/>
    <param name="caller-id-in-from" value="true"/>
    <param name="proxy" value="123.ims.my_provider.net:5060"/>
    <param name="register" value="false"/>
    <!-- param name="register-transport" value="udp"/ -->
    <param name="context" value="public"/>
    <param name="extension" value="123456789"/>
    <param name="extension-in-contact" value="true"/>
    <param name="expire-seconds" value="3600"/>
    <!--param name="cid-type" value="rpid"/-->
    <!-- param name="contact-params" value="domain_name=$${domain}"/ -->
  </gateway>
  <gateway name="123456789">
    <param name="username" value="123456789@ims.my_provider.net"/>
    <param name="password" value="my_password"/>
    <param name="extension" value="123456789"/>
    <param name="proxy" value="ims.my_provider.net"/>
    <param name="from-user" value="123456789"/>
    <param name="from-domain" value="ims.my_provider.net"/>
    <param name="register-proxy" value="123.ims.my_provider.net:5060"/>
    <param name="expire-seconds" value="1800"/>
    <param name="retry-seconds" value="120"/>
    <param name="register" value="true"/>
    <param name="dtmf-type" value="rfc2833"/>
    <param name="register-transport" value="udp"/>
    <param name="context" value="public"/>
  </gateway>
 
This is my dialplan:
 
<!-- /etc/freeswitch/dialplan/public/my_gateway.xml -->
<include>
  <extension name="outbound_calls">
    <condition field="destination_number" expression="(^\d{5,14}$)">
     <action application="set" data="effective_caller_id_name=123456789"/>
     <action application="set" data="effective_caller_id_number=123456789"/>
     <!-- action application="set" data="sip_h_P-Preferred-Identity=sip:123456789@ims.my_provider.net"/ -->
     <action application="bridge" data="sofia/gateway/outbound-my_provider/$1"/>
    </condition>
  </extension>
</include>
 
I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209.
 
This is my pastebin of my external call attempt: https://pastebin.freeswitch.org/view/05befe95
Thank you in advance. Best regards
 
--
Distinti saluti
Paolo Visnoviz
 
_________________________________________________________________________
 
The FreeSWITCH project is sponsored by SignalWire 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
 
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
 
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
 
_________________________________________________________________________
 
The FreeSWITCH project is sponsored by SignalWire 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
 
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
 
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com

--
Distinti saluti
Paolo Visnoviz

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire 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

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337