mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-13 07:41:51 +00:00
FS-6285 skypopen: ANY, RR NOT work fine in mod_skypopen
This commit is contained in:
@@ -1365,9 +1365,9 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
||||
char name[128];
|
||||
|
||||
if (strncmp("ANY", outbound_profile->destination_number, 3) == 0) {
|
||||
snprintf(name, sizeof(name), "skypopen/ANY/%s%s", tech_pvt->name, outbound_profile->destination_number + 3);
|
||||
snprintf(name, sizeof(name), "skypopen/%s%s", tech_pvt->name, outbound_profile->destination_number + 3);
|
||||
} else if (strncmp("RR", outbound_profile->destination_number, 2) == 0) {
|
||||
snprintf(name, sizeof(name), "skypopen/RR/%s%s", tech_pvt->name, outbound_profile->destination_number + 2);
|
||||
snprintf(name, sizeof(name), "skypopen/%s%s", tech_pvt->name, outbound_profile->destination_number + 2);
|
||||
} else {
|
||||
snprintf(name, sizeof(name), "skypopen/%s", outbound_profile->destination_number);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user