Warning all time never stop

Hi all

i set my pjsip.conj like these ;

[transport-udp-nat]
type=transport
protocol=udp
bind=0.0.0.0
local_net=xxx.xxx.xxx.xxx/255.255.255.255

[6000]
type=endpoint
context=default
disallow=all
allow=ulaw
allow=gsm
direct_media=no
rtp_symmetric=yes
force_rport=yes
;callgroup=default
;pickup_group=1
language=xx
auth=6000
aors=6000

[6000]
type=auth
auth_type=userpass
password=xxxxxxxxxxxxxxx
username=6000

[6000]
type=aor
max_contacts=1

but now appears thse warning
[May 31 00:02:27] WARNING[7487]: res_pjsip_pubsub.c:608 subscription_get_handler_from_rdata: No registered subscribe handler for event as-feature-event

how i can fix ?

Regards,

You can’t, unless you can turn it off from the client. It is trying to subscribe to something using the ‘as-feature-event’ type which is not implemented.

Hi jcop

what i nedd to implemented for stop these message ?

Regards,

You would need to either modify the code to remove the warning, write a handler for the ‘as-feature-event’ body type, or configure logging to not have warnings output which would not be great.

Or stop the peer from trying to subscribe to this sort of event!