VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
aina.mestre at airenet... Guest
|
Posted: Mon Nov 07, 2022 7:28 am Post subject: [Freeswitch-users] Sofia Status |
|
|
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 |
|
Back to top |
|
|
avi at avimarcus.net Guest
|
Posted: Mon Nov 07, 2022 8:08 am Post subject: [Freeswitch-users] Sofia Status |
|
|
It sounds like you want `sofia status...`
`sofia <status|xmlstatus> profile <name> [reg [<contact str>]] | [pres <pres str>] | [user <user@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@airenetworks.es (aina.mestre@airenetworks.es)> wrote:
|
|
Back to top |
|
|
brian at freeswitch.com Guest
|
|
Back to top |
|
|
brian at freeswitch.com Guest
|
|
Back to top |
|
|
aina.mestre at airenet... Guest
|
Posted: Mon Nov 07, 2022 10:06 am Post subject: [Freeswitch-users] Sofia Status |
|
|
Hi,
Yeah i know that, the problema is that is says:
De: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> En nombre de Brian West
Enviado el: lunes, 7 de noviembre de 2022 14:41
Para: FreeSWITCH Users Help <freeswitch-users@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@avimarcus.net (avi@avimarcus.net)> wrote:
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url][url=https://twitter.com/freeswitch] |
|
Back to top |
|
|
brian at freeswitch.com Guest
|
|
Back to top |
|
|
aina.mestre at airenet... Guest
|
Posted: Tue Nov 08, 2022 2:04 am Post subject: [Freeswitch-users] Sofia Status |
|
|
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@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@lists.freeswitch.org> En nombre de Brian West
Enviado el: lunes, 7 de noviembre de 2022 16:35
Para: FreeSWITCH Users Help <freeswitch-users@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@airenetworks.es (aina.mestre@airenetworks.es)> wrote:
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com (sales@freeswitch.com)
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com (brian@freeswitch.com)
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com
[/url][url=https://twitter.com/freeswitch] |
|
Back to top |
|
|
|
|
|
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
|