ycaner
February 17, 2017, 2:11pm
1
Hello,
asterisk pjsip dont send options packets. when i look wiki page or forum there isnt any problem. it is always unavaible. Could you have a look my conf please!
Thanks
[system]
type=system
threadpool_auto_increment=15
[global]
type=global
max_forwards=30
user_agent=A
keep_alive_interval=20
default_realm=Aaaa
default_from_user=Net
[notsimple]
type=transport
protocol=udp
bind=172.20.12.186
[kaa]
type = endpoint
transport=notsimple
t38_udptl=no
fax_detect=no
allow_transfer=no
direct_media=no
disallow=all
allow=g729
allow=ulaw
allow=alaw
allow=g723
allow=g722
aors=kaa
rtp_timeout=120
context=kaa-in
rewrite_contact=yes
allow_subscribe=no
user_eq_phone=yes
direct_media=no
[kaa]
type=identify
endpoint=kaa
match=172.20.12.186
match=172.20.25.99
match=172.20.25.35
[kaa]
type = aor
max_contacts = 10
qualify_frequency=60
qualify_timeout=5.0 ; Qualify timeout in fractional seconds (default: "3.0")
authenticate_qualify=no
jcolp
February 17, 2017, 2:13pm
2
Is your device registered? What is the console output?
ycaner
February 17, 2017, 2:14pm
3
Hello, there isnt any registration. it is only ip auth.
endpoint: kaa Unavailable 0 of inf
Aor: kaa 0
Transport: notsimple udp 0 0 172.20.12.186:5060
Identify: kaa/kaa
Match: 172.20.12.186/32
Match: 172.20.25.99/32
Match: 172.20.25.35/32
jcolp
February 17, 2017, 2:15pm
4
That would be why. There is no contact on the ‘kaa’ AOR. It has no knowledge of where an OPTIONS would be sent. You can add an explicit one using the contact option, such as:
contact=sip:172.20.12.186
ycaner
February 17, 2017, 2:23pm
5
hello, it is work.
Thanks
it is last conf. to help others.
[kaa]
type = aor
max_contacts = 10
qualify_frequency=60
qualify_timeout=5.0 ; Qualify timeout in fractional seconds (default: "3.0")
authenticate_qualify=no
contact=sip:172.20.25.99
asterisk 13 pjsip qualify options packets Unavailable