flexisip-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Flexisip-developers] registers with itself until 483 Too Many Hops


From: Nicolas Michon
Subject: Re: [Flexisip-developers] registers with itself until 483 Too Many Hops
Date: Tue, 23 Jul 2019 16:33:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

The module of interest here is "Forward". It will be responsible to forward requests unresolved by flexisip to your Asterisk server.

Try to define the [module::Forward] route=sip:<Asterisk IP/FQDN>:5060


Cheers,

Nicolas

On 7/23/19 4:23 PM, Brian J. Murrell wrote:
On Tue, 2019-07-23 at 16:12 +0200, Nicolas Michon wrote:
Hi,
Hi,

Please share your flexisip configuration.
[global]
log-level=debug
syslog-level=warning
user-errors-logs=false
dump-corefiles=true
auto-respawn=true
aliases=localhost # pbx.example.com
default-servers=proxy
transports=sip:*:5061
tls-certificates-dir=/etc/flexisip/tls/
tls-ciphers=HIGH:!SSLv2:!SSLv3:!TLSv1:!EXP:!ADH:!RC4:!3DES:!aNULL:!eNULL
idle-timeout=600
keepalive-interval=300
proxy-to-proxy-keepalive-interval=60
require-peer-certificate=false
transaction-timeout=32000
udp-mtu=1460
enable-snmp=true
unique-id=
plugins-dir=/opt/belledonne-communications/lib/flexisip/plugins
plugins=

[cluster]
enabled=false
cluster-domain=
nodes=
internal-transport=sip:%auto:5059;transport=tcp

[mdns-register]
enabled=false
mdns-priority=0
mdns-weight=100
mdns-ttl=3600

[event-logs]
enabled=true
logger=filesystem
dir=/var/log/flexisip
database-backend=mysql
database-connection-string=db='mydb' user='myuser' password='mypass' 
host='myhost.com'
database-max-queue-size=100
database-nb-threads-max=10

[monitor]
enabled=false
test-interval=30
logfile=/etc/flexisip/flexisip_monitor.log
switch-port=12345
password-salt=

[stun-server]
enabled=true
bind-address=0.0.0.0
port=3478

[presence-server]
enabled=false
transports=sip:127.0.0.1:5065;transport=tcp
expires=600
notify-limit=200
leak-detector=false
long-term-enabled=true
bypass-condition=false
external-list-subscription-request=
soci-connection-string=
max-thread=50
max-thread-queue-size=50

[conference-server]
enabled=false
transport=sip:127.0.0.1:6064;transport=tcp
conference-factory-uri=
enable-one-to-one-chat-room=true
outbound-proxy=sip:127.0.0.1:5060;transport=tcp
database-backend=mysql
database-connection-string=db='mydb' user='myuser' password='mypass' 
host='myhost.com'
check-capabilities=true

[module::DoSProtection]
enabled=false
filter=
time-period=3000
packet-rate-limit=20
ban-time=2
iptables-chain=FLEXISIP

[module::SanityChecker]
enabled=true
filter=

[module::GarbageIn]
enabled=false
filter=false

[module::NatHelper]
enabled=true
filter=
contact-verified-param=verified
fix-record-routes=false
fix-record-routes-policy=safe

[module::Authentication]
enabled=false
filter=
auth-domains=localhost
trusted-hosts=
db-implementation=file
datasource=
nonce-expires=3600
cache-expire=1800
no-403=false
reject-wrong-client-certificates=false
tls-client-certificate-required-subject=
new-auth-on-407=false
enable-test-accounts-creation=false
disable-qop-auth=false
available-algorithms=MD5
trust-domain-certificates=false
soci-password-request=select password, 'MD5' from accounts where login = :id 
and domain = :domain
soci-user-with-phone-request=
soci-users-with-phones-request=
soci-poolsize=100
soci-backend=mysql
soci-connection-string=db=mydb user=myuser password='mypass' host=myhost.com
soci-max-queue-size=1000

[module::Redirect]
enabled=false
filter=
contact=

[module::Presence]
enabled=false
filter=is_request && (request.method-name == 'PUBLISH' || request.method-name 
== 'NOTIFY' || request.method-name == 'SUBSCRIBE')
presence-server=sip:127.0.0.1:5065;transport=tcp
only-list-subscription=false
check-domain-in-presence-results=false

[module::Registrar]
enabled=true
filter=
reg-domains=*
reg-on-response=true
max-contacts-by-aor=12
unique-id-parameters=+sip.instance pn-tok line
max-expires=604800
min-expires=60
force-expires=-1
static-records-file=
static-records-timeout=600
db-implementation=internal
redis-server-domain=localhost
redis-server-port=6379
redis-auth-password=
redis-server-timeout=1500
redis-record-serializer=protobuf
redis-slave-check-period=60
service-route=
name-message-expires=message-expires
register-expire-randomizer-max=0

[module::StatisticsCollector]
enabled=false
filter=is_request && request.method-name == 'PUBLISH'
collector-address=

[module::Router]
enabled=true
filter=(is_request && request.uri.params contains 'doroute') || is_response
use-global-domain=false
fork=true
stateful=true
fork-late=true
fork-no-global-decline=false
treat-decline-as-urgent=false
treat-all-as-urgent=false
call-fork-timeout=90
call-fork-urgent-timeout=5
call-fork-current-branches-timeout=10
call-push-response-timeout=0
message-fork-late=true
message-delivery-timeout=604800
message-accept-timeout=15
fallback-route=
allow-target-factorization=false
generated-contact-route=
generated-contact-expected-realm=
generate-contact-even-on-filled-aor=false
preroute=
resolve-routes=false
parent-domain-fallback=false

[module::PushNotification]
enabled=true
filter=
timeout=1
max-queue-size=100
time-to-live=2592000
apple=false
apple-certificate-dir=/etc/flexisip/apn
google=false
google-projects-api-keys=
firebase=true
firebase-projects-api-keys=[redacted]
windowsphone=false
windowsphone-package-sid=
windowsphone-application-secret=
no-badge=false
external-push-uri=
external-push-method=GET

[module::MediaRelay]
enabled=true
filter=
nortpproxy=nortpproxy
sdp-port-range-min=1024
sdp-port-range-max=65535
bye-orphan-dialogs=false
max-calls=0
force-relay-for-non-ice-targets=true
prevent-loops=true
early-media-relay-single=true
max-early-media-per-call=0
inactivity-period=3600
force-public-ip-for-sdp-masquerading=false

[module::Transcoder]
enabled=false
filter=
jb-nom-size=0
rc-user-agents=
audio-codecs=speex/8000 amr/8000 iLBC/8000 gsm/8000 pcmu/8000 pcma/8000 
telephone-event/8000
remove-bw-limits=false
block-retransmissions=false

[module::Forward]
enabled=true
filter=
route=
add-path=true
rewrite-req-uri=false
default-transport=udp
params-to-remove=pn-tok pn-type app-id pn-msg-str pn-call-str pn-call-snd 
pn-msg-snd pn-timeout

[inter-domain-connections]
accept-domain-registrations=false
assume-unique-domains=false
domain-registrations=/etc/flexisip/domain-registrations.conf
verify-server-certs=true
keepalive-interval=30
reg-when-needed=false

I'd be surprised if that is not more configuration than is needed for a
simply push-proxy application, but trying to get working configurations
together seems difficult, so starting from another working
configuration is the best way to get started.

Also this section describing modules configuration can help:
https://wiki.linphone.org/xwiki/wiki/public/view/Flexisip/Modules%20Reference%20Guide/
I have been through all of that.  The problem is that it's an "option-
by-option reference" not a higher level description of what the modules
do how call processing flows through and how they inter-operate.

Much thanks in advance for any help or suggestions you can make.

Cheers,
b.

--
Nicolas Michon, Software Engineer
Belledonne Communications
http://www.belledonne-communications.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]