Hello,
can you print the Expires header with xlog() to see what value is written in syslog? Just to be sure the header is not removed by other processing rules and msg apply changes...
Cheers,
Daniel
Hello!
Any help is appreciated.
вт, 16 июн. 2020 г. в 15:04, Denys Pozniak <denys.pozniak@gmail.com>:
Hello!
Could someone point me to the possible source of the problem?
Jun 16 09:51:06 proxy-edge /usr/sbin/kamailio[9645]: ERROR: pua [send_publish.c:304]: publ_cback_func(): No Expires header found
Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9640]: ERROR: pua [send_publish.c:304]: publ_cback_func(): No Expires header found
Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9600]: ERROR: pua [send_publish.c:304]: publ_cback_func(): No Expires header found
Jun 16 09:51:07 proxy-edge /usr/sbin/kamailio[9660]: ERROR: pua [send_publish.c:304]: publ_cback_func(): No Expires header found
Modules settings:
loadmodule "pua.so"loadmodule "pua_dialoginfo"loadmodule "dialog.so"
modparam("pua", "default_expires", 1200)modparam("pua", "outbound_proxy", LOCAL_IP_ADDR)modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_dialoginfo", "include_localremote", 1)modparam("pua_dialoginfo", "include_tags", 1)modparam("pua_dialoginfo", "send_publish_flag", 8)
modparam("dialog", "dlg_flag", 4)
modparam("dialog", "db_mode", 0)
modparam("dialog", "enable_stats", 1)
modparam("dialog", "dlg_match_mode", 1)
modparam("dialog", "default_timeout", 7200)
modparam("dialog", "hash_size", 8192)
request_route{...setflag(8);
...}
Generated SIP PUBLISH:
PUBLISH sip:extension@sip.company.com SIP/2.0Via: SIP/2.0/UDP 8.8.8.8;branch=z9hG4bK3e55.afdce977000000000000000000000000.0From: <sip:extension@sip.company.com>;tag=e98d9fc94bada9746d67946ab287a76f-ba77CSeq: 10 PUBLISHCall-ID: 72ef85f374c8e703-9659@10.10.10.10Content-Length: 578User-Agent: proxyMax-Forwards: 70Event: dialogExpires: 7201Content-Type: application/dialog-info+xml
<?xml version="1.0"?><dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:extension@sip.company.com"><dialog id="162092997-5060-464@BJC.BGI.CA.BBI" call-id="162092997-5060-464@BJC.BGI.CA.BBI" direction="initiator"><state>Trying</state><remote><identity>sip:1234567890@sip.company.com</identity><target uri="sip:1234567890@sip.company.com"/></remote><local><identity>sip:extension@sip.company.com</identity><target uri="sip:extension@sip.company.com"/></local></dialog></dialog-info>
--
BR,Denys Pozniak
--
BR,Denys Pozniak
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla