mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
tidy up, note yesterday's propagate_vars was changed to export_vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3106 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f33768085a
commit
12243c194e
5 files changed
+73
-64
No files matched your search
@@ -2127,14 +2127,17 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi
|
||||
if (!strcmp(exten, "_auto_")) {
|
||||
if ((t = ldl_session_get_callee(dlsession))) {
|
||||
if ((them = strdup(t))) {
|
||||
char *p;
|
||||
char *a, *b, *p;
|
||||
if ((p = strchr(them, '/'))) {
|
||||
*p = '\0';
|
||||
}
|
||||
|
||||
if ((a = strchr(them, '+')) && (b = strrchr(them, '+')) && a != b) {
|
||||
*b = '@';
|
||||
}
|
||||
exten = them;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user