[Freeswitch-users] No outbounds calls
Sean Devoy
sdevoy at bizfocused.com
Mon Jun 17 14:54:58 UTC 2019
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 at lists.freeswitch.org> On Behalf Of paolo.visnoviz at vipcomputers.it
Sent: Saturday, June 15, 2019 5:16 AM
To: freeswitch-users at 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 at 123.ims.my_provider.net><mailto:sip:number_to_call at 123.ims.my_provider.net>;tag=ztesipsuDgPzVN*2-4-20481*giag.2
From: "?"<sip:123456789 at ims.my_provider.net><mailto:sip:123456789 at 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 at vipcomputers.it<mailto:paolo.visnoviz at vipcomputers.it>
<paolo.visnoviz at vipcomputers.it><mailto:paolo.visnoviz at 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 at ims.my_provider.net"<mailto:123456789 at 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 at ims.my_provider.net"<mailto:123456789 at 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 at ims.my_provider.net"<mailto:sip_h_P-Preferred-Identity=sip:123456789 at 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 at freeswitch.com<mailto:sales at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at freeswitch.com<mailto:sales at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190617/89b07e32/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list