[Freeswitch-users] Sofia Status
Aina Mestre
aina.mestre at airenetworks.es
Tue Nov 8 06:47:45 UTC 2022
Good morning,
Yes, i’m sure i’m listing the correct profile. I had the parameter “accept-blind-reg” on false, but i change it to true and the result is the same. Which parameters can affect to this data?
This is my sofia profile configurations:
[root at fsproxysmart4 autoload_configs]# cat sofia.conf.xml
<!--
# Copyright 2013 Mathias WOLFF
# This file is part of pyfreebilling.
#
# pyfreebilling is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# pyfreebilling is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with pyfreebilling. If not, see <http://www.gnu.org/licenses/>
-->
<configuration name='sofia.conf' description='sofia endpoint'>
<global_settings>
<param name='log-level' value='9'/>
<param name='auto-restart' value='true'/>
<param name='debug-presence' value='0'/>
<param name='accept-blind-reg' value='true'/>
<param name='sip-trace' value='no'/>
<param name="tracelevel" value="error"/>
<param name='sip-capture' value='true'/>
<param name='auth-calls' value='true'/>
<param name='dtmf-type' value='rfc2833'/>
<param name='disable-hold' value='true'/>
<param name='rtp-autofix-timing' value='false'/>
<param name='disable-transfer' value='true'/>
<param name='sip-options-respond-503-on-busy' value='false'/>
<param name='capture-server' value='udp:graylog.---------:9060'/>
<param name="parse-all-invite-headers" value="true"/>
</global_settings>
<profiles>
<profile name='external'>
<domains>
<domain name="all" alias="true" parse="true"/>
</domains>
<settings>
<!--nuevo -->
<param name='dialplan' value='XML'/>
<param name="user-agent-string" value="FS Proxy Smart" />
<param name='username' value='pyfreebilling' />
<param name="ext-rtp-ip" value="auto" />
<param name="ext-sip-ip" value="auto" />
<param name="rtp-ip" value="auto" />
<param name="sip-ip" value="auto" />
<param name="sip-port" value="5060" />
<param name="nonce-ttl" value="60" />
<param name="rtp-timeout-sec" value="300" />
<param name="rtp-hold-timeout-sec" value="1800" />
<param name="rtp-timer-name" value="soft" />
<!-- nuevo -->
<param name='aggressive-nat-detection' value='False'/>
<!-- nuevo -->
<param name='NDLB-received-in-nat-reg-contact' value='False'/>
<!-- nuevo -->
<param name="parse-all-invite-headers" value="true"/>
<!-- nuevo -->
<param name='NDLB-broken-auth-hash' value='False'/>
<!-- nuevo -->
<param name='enable-timer' value='False'/>
<!-- nuevo -->
<param name='session-timeout' value='1800'/>
<!-- nuevo -->
<param name='apply-nat-acl' value='rfc1918'/>
<param name="inbound-codec-prefs" value="$${global_codec_prefs}" />
<param name="outbound-codec-prefs" value="$${outbound_codec_prefs}" />
<!-- nuevo -->
<param name='inbound-codec-negotiation' value='generous'/>
<!-- nuevo -->
<param name='disable-transcoding' value='True'/>
<param name="debug" value="0" />
<param name="dtmf-duration" value="100" />
<!-- <param name="sip-trace" value="no" /> -->
<param name="sip-capture" value="yes" />
<!-- <param name="rfc2833-pt" value="101" /> -->
<!-- nuevo -->
<param name='disable-register' value='False'/>
<!-- nuevo -->
<param name='challenge-realm' value='auto_from'/>
<!-- cambio valor -->
<param name='auth-calls' value='True'/>
<!-- nuevo -->
<param name='log-auth-failures' value='True'/>
<param name="context" value="public" />
<param name="apply-inbound-acl" value="domains" />
<param name="inbound-late-negotiation" value="true" />
<!-- nuevo -->
<param name="pass-rfc2833" value="true"/>
<!-- nuevo -->
<param name='pass-callee-id' value='true'/>
<param name="manage-presence" value="false" />
<!-- nuevo -->
<param name='timer-T1X64' value='1000'/>
<!-- nuevo -->
<param name="enable-3pcc" value="true"/>
<!--
<param name="local-network-acl" value="localnet.auto" />
<param name="inbound-codec-negotiation" value="greedy" />
<param name="inbound-zrtp-passthru" value="true" />
<param name="register" value="false"/>
-->
</settings>
<gateways>
<gateway name='NP000'>
<param name='username' value=''/>
<param name='from-user' value=''/>
<param name='realm' value=''/>
<param name='from-domain' value=''/>
<param name='password' value=''/>
<param name='caller-id-in-from' value='True'/>
<param name='extension' value=''/>
<!--<param name="extension" value="auto_to_user"/>-->
<param name='proxy' value='----------'/>
<param name='register' value='false'/>
<!-- <param name="reuse-connections" value="false"/> -->
<param name='expire-seconds' value='3600'/>
<param name='retry-seconds' value='60'/>
<param name='ping' value='60'/>
<param name='context' value='public'/>
<variables>
<variable name='gateway' value='2'/>
</variables>
</gateway>
</gateways>
</profile>
<profile name='Internal'>
<domains>
<domain name="all" alias="true" parse="true"/>
</domains>
<settings>
<param name="dialplan" value="XML" />
<!-- nuevo -->
<param name="user-agent-string" value="FS Proxy Smart" />
<!-- nuevo -->
<param name='username' value='pyfreebilling' />
<param name="ext-rtp-ip" value="auto" />
<param name="ext-sip-ip" value="auto" />
<!-- modificar
<param name="rtp-ip" value="109.167.76.242" />
<param name="sip-ip" value="109.167.76.242" />
-->
<param name='rtp-ip' value='auto'/>
<param name='sip-ip' value='auto'/>
<param name="sip-port" value="5080" />
<!-- nuevo -->
<param name='nonce-ttl' value='60'/>
<param name="rtp-timeout-sec" value="300" />
<param name="rtp-hold-timeout-sec" value="1800" />
<param name="rtp-timer-name" value="soft" />
<!-- nuevo -->
<param name='NDLB-received-in-nat-reg-contact' value='False'/>
<!-- nuevo -->
<param name="parse-all-invite-headers" value="true"/>
<!-- nuevo -->
<param name='NDLB-broken-auth-hash' value='False'/>
<!-- nuevo -->
<param name='enable-timer' value='False'/>
<!-- nuevo -->
<param name='session-timeout' value='1800'/>
<param name="apply-nat-acl" value="rfc1918" />
<param name="inbound-codec-prefs" value="PCMA,PCMU,G729" />
<param name="outbound-codec-prefs" value="PCMA,PCMU,G729" />
<param name="inbound-codec-negotiation" value="generous" />
<!-- nuevo -->
<param name='disable-transcoding' value='True'/>
<param name="debug" value="0" />
<param name="rfc2833-pt" value="101" />
<param name="dtmf-duration" value="100" />
<!-- nuevo -->
<param name='disable-register' value='False'/>
<!-- nuevo -->
<param name='challenge-realm' value='auto_from'/>
<param name="auth-calls" value="true" />
<param name="log-auth-failures" value="true" />
<!-- diferente -->
<param name="context" value="pyfreebill" />
<param name="apply-inbound-acl" value="domains" />
<param name="inbound-late-negotiation" value="true" />
<!-- nuevo -->
<param name="pass-rfc2833" value="true"/>
<!-- nuevo -->
<param name='pass-callee-id' value='true'/>
<param name="manage-presence" value="true" />
<!-- nuevo -->
<param name='timer-T1X64' value='1000'/>
<!-- nuevo -->
<param name="enable-3pcc" value="true"/>
<!-- Eliminamos
<param name="sip-trace" value="no" />
<param name="sip-capture" value="no" />
<param name="watchdog-enabled" value="no" />
<param name="watchdog-step-timeout" value="30000" />
<param name="watchdog-event-timeout" value="30000" />
<param name="forward-unsolicited-mwi-notify" value="false" />
<param name="context" value="pyfreebill" />
<param name="hold-music" value="$${hold_music}" />
<param name="local-network-acl" value="localnet.auto" />
<param name="record-path" value="$${recordings_dir}" />
<param name="record-template" value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav" />
<param name="manage-presence" value="true" />
<param name="presence-hosts" value="$${domain},$${local_ip_v4}" />
<param name="presence-privacy" value="$${presence_privacy}" />
<param name="inbound-zrtp-passthru" value="true" />
<param name="inbound-reg-force-matching-username" value="true" />
<param name="auth-all-packets" value="false" />
<param name="force-register-domain" value="$${domain}" />
<param name="force-subscription-domain" value="$${domain}" />
<param name="force-register-db-domain" value="$${domain}" />
<param name="NDLB-force-rport" value="true"/>
<param name="all-reg-options-ping" value="true"/>
<param name="nat-options-ping" value="true"/>
-->
</settings>
</profile>
</profiles>
</configuration>
De: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> En nombre de Brian West
Enviado el: lunes, 7 de noviembre de 2022 16:35
Para: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Asunto: Re: [Freeswitch-users] Sofia Status
Este e-mail fue originado fuera de Aire Networks. Ayúdanos a mantener segura nuestra empresa. Por favor, extrema las medidas de seguridad con los adjuntos, los enlaces o las solicitudes que pueda contener.
Sure you're listing the correct profile? and blind-reg isn't turned on or something setup to not write it down?
On Mon, Nov 7, 2022 at 8:57 AM Aina Mestre <aina.mestre at airenetworks.es<mailto:aina.mestre at airenetworks.es>> wrote:
Hi,
Yeah i know that, the problema is that is says:
[cid:image001.png at 01D8F345.3FC22250]
De: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> En nombre de Brian West
Enviado el: lunes, 7 de noviembre de 2022 14:41
Para: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Asunto: Re: [Freeswitch-users] Sofia Status
Este e-mail fue originado fuera de Aire Networks. Ayúdanos a mantener segura nuestra empresa. Por favor, extrema las medidas de seguridad con los adjuntos, los enlaces o las solicitudes que pueda contener.
HAHA, we both replied within the same minute. :).
Happy FreeSWITCHing.
On Mon, Nov 7, 2022 at 7:08 AM Avi Marcus <avi at avimarcus.net<mailto:avi at avimarcus.net>> wrote:
It sounds like you want `sofia status...`
`sofia <status|xmlstatus> profile <name> [reg [<contact str>]] | [pres <pres str>] | [user <user at domain>]`
So for plain text output to check all active registrations on the 'internal' profile, do:
`sofia status profile internal reg`
(You can get xmlstatus returned instead, or filter for specific results)
-Avi Marcus
On Mon, Nov 7, 2022 at 2:25 PM Aina Mestre <aina.mestre at airenetworks.es<mailto:aina.mestre at airenetworks.es>> wrote:
Good morning,
I would like to know to which file does freeswitch read the status of a profile. Because even if I have my PBX registered against Freeswitch with user and password or peers, and I can make calls normally. If i write “fs_cli -x “sofia status”” it appers there is nothing registered.
Thanks in advance
_________________________________________________________________________
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
--
Brian West | Co-founder and Developer
Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian at freeswitch.com<mailto:brian at freeswitch.com>
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>
[https://www.facebook.com/signalwireinc?src=email]<https://www.facebook.com/freeswitch>[https://twitter.com/freeswitch]<https://twitter.com/freeswitch>
_________________________________________________________________________
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
--
Brian West | Co-founder and Developer
Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian at freeswitch.com<mailto:brian at freeswitch.com>
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>
[https://www.facebook.com/signalwireinc?src=email]<https://www.facebook.com/freeswitch>[https://twitter.com/freeswitch]<https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20221108/8c2f9f6e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7210 bytes
Desc: image001.png
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20221108/8c2f9f6e/attachment-0001.png>
More information about the FreeSWITCH-users
mailing list