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

Len Graham len at freeswitch.org
Fri May 6 16:15:19 UTC 2022


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

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

> 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 at 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 at ims.imscore.net>
> Contact         <sip:gw+provider at 77.169.195.
> 30:5080;transport=udp;gw=provider>
> Exten           0105221234
> To              sip:+31105221234 at 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 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220506/9117310f/attachment.html>


More information about the FreeSWITCH-users mailing list