Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] dutch kpn gateway and freeswitch, registration and calling works only the first few minutes, help


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jelledejong at powercr...
Guest





PostPosted: Fri May 06, 2022 11:26 am    Post subject: [Freeswitch-users] dutch kpn gateway and freeswitch, registr Reply with quote

Hello everybody,

I am configuring a gateway after a forced migration to new voip service
provider, and I got the registration working and I can make incoming and
outgoing calls, but the gateway always stops working after a while.

I do not see any incoming invites any more when trying to reach the number.

Does someone know how to debug or solve this?

The only hint I can find in the logs is this:

2022-05-06 16:13:29.518588 91.40% [DEBUG] sofia_reg.c:2745 Missing
Authenticate Header!

emily:~# cat /etc/freeswitch/sip_profiles/external/provider.xml
<include>
<gateway name="provider">
<param name="auth-username" value="aaba37818192@ims.imscore.net" />
<param name="username" value="+31105221234" />
<param name="extension" value="0105221234" />
<param name="password" value="secret" />
<param name="realm" value="ims.imscore.net" />
<param name="register-proxy" value="voip1-ext.kpn.net" />
<!--
<param name="realm" value="ims.imscore.net" />
<param name="proxy" value="ims.imscore.net" />
<param name="outgoing-proxy" value="voip1-ext.kpn.net" />
<param name="register-proxy" value="voip1-ext.kpn.net" />
<param name="expire-seconds" value="1800"/>
<param name="retry-seconds" value="30"/>
<param name="ping" value="20"/>
-->
<param name="expire-seconds" value="1800"/>
<param name="register-transport" value="udp" />
<param name="register" value="true" />
<param name="context" value="public"/>
<param name="log-auth-failures" value="true"/>
<param name="debug" value="1"/>
</gateway>
</include>

emily:~# fs_cli -x "sofia status gateway provider"
=================================================================================================
Name provider
Profile external
Scheme Digest
Realm ims.imscore.net
Username +31105221234
Password yes
From <sip:+31105221234@ims.imscore.net>
Contact <sip:gw+provider@77.169.195.30:5080;transport=udp;gw=provider>
Exten 0105221234
To sip:+31105221234@ims.imscore.net
Proxy sip:ims.imscore.net
Context public
Expires 1800
Freq 1800
Ping 0
PingFreq 0
PingTime 0.00
PingState 0/0/0
State REGED
Status UP
Uptime 189s
CallsIN 1
CallsOUT 0
FailedCallsIN 0
FailedCallsOUT 0
=================================================================================================



_________________________________________________________________________

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
Back to top
len at freeswitch.org
Guest





PostPosted: Fri May 06, 2022 11:38 am    Post subject: [Freeswitch-users] dutch kpn gateway and freeswitch, registr Reply with quote

Try adding <param name="extension-in-contact" value="true"/>

On Fri, May 6, 2022 at 11:40 AM Jelle de Jong <jelledejong@powercraft.nl (jelledejong@powercraft.nl)> wrote:

Quote:
Hello everybody,

I am configuring a gateway after a forced migration to new voip service
provider, and I got the registration working and I can make incoming and
outgoing calls, but the gateway always stops working after a while.

I do not see any incoming invites any more when trying to reach the number.

Does someone know how to debug or solve this?

The only hint I can find in the logs is this:

2022-05-06 16:13:29.518588 91.40% [DEBUG] sofia_reg.c:2745 Missing
Authenticate Header!

emily:~# cat /etc/freeswitch/sip_profiles/external/provider.xml
<include>
     <gateway name="provider">
       <param name="auth-username" value="aaba37818192@ims.imscore.net (aaba37818192@ims.imscore.net)" />
       <param name="username" value="+31105221234" />
       <param name="extension" value="0105221234" />
       <param name="password" value="secret" />
       <param name="realm" value="ims.imscore.net" />
       <param name="register-proxy" value="voip1-ext.kpn.net" />
<!--
       <param name="realm" value="ims.imscore.net" />
       <param name="proxy" value="ims.imscore.net" />
       <param name="outgoing-proxy" value="voip1-ext.kpn.net" />
       <param name="register-proxy" value="voip1-ext.kpn.net" />
       <param name="expire-seconds" value="1800"/>
       <param name="retry-seconds" value="30"/>
       <param name="ping" value="20"/>
-->
       <param name="expire-seconds" value="1800"/>
       <param name="register-transport" value="udp" />
       <param name="register" value="true" />
       <param name="context" value="public"/>
       <param name="log-auth-failures" value="true"/>
       <param name="debug" value="1"/>
     </gateway>
</include>

emily:~# fs_cli -x "sofia status gateway provider"
=================================================================================================
Name            provider
Profile         external
Scheme          Digest
Realm           ims.imscore.net
Username        +31105221234
Password        yes
 From           <sip:+31105221234@ims.imscore.net ([email]sip%3A%2B31105221234@ims.imscore.net[/email])>
Contact         <sip:gw+provider@77.169.195. ([email]sip%3Agw%2Bprovider@77.169.195.[/email])30:5080;transport=udp;gw=provider>
Exten           0105221234
To              sip:+31105221234@ims.imscore.net ([email]sip%3A%2B31105221234@ims.imscore.net[/email])
Proxy           sip:ims.imscore.net
Context         public
Expires         1800
Freq            1800
Ping            0
PingFreq        0
PingTime        0.00
PingState       0/0/0
State           REGED
Status          UP
Uptime          189s
CallsIN         1
CallsOUT        0
FailedCallsIN   0
FailedCallsOUT  0
=================================================================================================



_________________________________________________________________________

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 (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 (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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services