mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 03:57:14 +00:00
code before declaration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6013 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c86155c6bf
commit
493aafa279
2 files changed
+4
-2
No files matched your search
@@ -1311,6 +1311,7 @@ static void voicemail_check_main(switch_core_session_t *session, char *profile_n
|
||||
}
|
||||
|
||||
if (!x_user) {
|
||||
char *xtra;
|
||||
int ok = 1;
|
||||
/* TRX added destination_number and caller_id_number from the session object
|
||||
* ideally switch_xml_* would do this for any curl request, but that can get tricky
|
||||
@@ -1318,7 +1319,7 @@ static void voicemail_check_main(switch_core_session_t *session, char *profile_n
|
||||
* and see what it would take to make it automagically do that
|
||||
*/
|
||||
caller_profile = switch_channel_get_caller_profile(channel);
|
||||
char *xtra = switch_mprintf("mailbox=%s&destination_number=%s&caller_id_number=%s", myid,caller_profile->destination_number,caller_profile->caller_id_number);
|
||||
xtra = switch_mprintf("mailbox=%s&destination_number=%s&caller_id_number=%s", myid,caller_profile->destination_number,caller_profile->caller_id_number);
|
||||
|
||||
assert(xtra);
|
||||
|
||||
|
||||
Reference in new issue
Block a user