projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PJSIP: Fix outbound OPTIONS support
[asterisk/asterisk.git]
/
res
/
res_pjsip.c
diff --git
a/res/res_pjsip.c
b/res/res_pjsip.c
index
bd84181
..
a74f232
100644
(file)
--- a/
res/res_pjsip.c
+++ b/
res/res_pjsip.c
@@
-1629,7
+1629,7
@@
static int create_out_of_dialog_request(const pjsip_method *method, struct ast_s
pjsip_tpselector selector = { .type = PJSIP_TPSELECTOR_NONE, };
if (ast_strlen_zero(uri)) {
- if (!endpoint) {
+ if (!endpoint && !contact) {
ast_log(LOG_ERROR, "An endpoint and/or uri must be specified\n");
return -1;
}