master is broken now https://travis-ci.org/kamailio/kamailio/builds/392641648
CC (clang) [M dispatcher.so] dispatch.o dispatch.c:1666:19: error: static declaration of 'ds_update_dst' follows non-static declaration static inline int ds_update_dst( ^ ./dispatch.h:127:5: note: previous declaration is here int ds_update_dst(struct sip_msg *msg, int upos, int mode); ^ dispatch.c:2069:6: error: too many arguments to function call, expected 3, have 4 mode) != 0) { ^~~~ ./dispatch.h:127:1: note: 'ds_update_dst' declared here int ds_update_dst(struct sip_msg *msg, int upos, int mode); ^ dispatch.c:2211:47: error: too many arguments to function call, expected 3, have 4 if(ds_update_dst(msg, &lxavp->val.v.s, sock, mode) != 0) { ~~~~~~~~~~~~~ ^~~~ dispatch.c:2168:1: note: 'ds_update_dst' declared here int ds_update_dst(struct sip_msg *msg, int upos, int mode) ^ dispatch.c:3063:14: error: use of undeclared identifier 'ds_next_dst' api->next = ds_next_dst; ^ 4 errors generated.
2018-06-15 8:58 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
Module: kamailio Branch: master Commit: b55b6fa199828669e48354c10607541d9ae05184 URL: https://github.com/kamailio/kamailio/commit/ b55b6fa199828669e48354c10607541d9ae05184
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-06-15T08:54:02+02:00
dispatcher: added ds_set_dst() and dst_set_domain()
- unlike the ds_next_...() variants, these functions just push to
destination the current xavp_dst, without consuming it
Modified: src/modules/dispatcher/dispatch.c Modified: src/modules/dispatcher/dispatch.h Modified: src/modules/dispatcher/dispatcher.c
Diff: https://github.com/kamailio/kamailio/commit/ b55b6fa199828669e48354c10607541d9ae05184.diff Patch: https://github.com/kamailio/kamailio/commit/ b55b6fa199828669e48354c10607541d9ae05184.patch
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev