mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 17:26:03 +00:00
add string to url
This commit is contained in:
parent
154678b6c2
commit
e0db68d20b
@ -252,7 +252,7 @@ static switch_status_t do_config(void)
|
|||||||
binding->host = switch_core_strdup(globals.pool, host);
|
binding->host = switch_core_strdup(globals.pool, host);
|
||||||
binding->port = atoi(port);
|
binding->port = atoi(port);
|
||||||
binding->vars_map = vars_map;
|
binding->vars_map = vars_map;
|
||||||
binding->url = switch_mprintf("scgi://%s:%s", host, port);
|
binding->url = switch_mprintf("scgi://%s:%s/%s", host, port, bname);
|
||||||
|
|
||||||
if (bind_mask) {
|
if (bind_mask) {
|
||||||
binding->bindings = switch_core_strdup(globals.pool, bind_mask);
|
binding->bindings = switch_core_strdup(globals.pool, bind_mask);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user