laforge
/
openbts-osmo
Archived
1
0
Fork 0

sip: Set display name for To field in a SIP MESSAGE.

(cherry picked from commit 82d2d87f3f726976d9003829517a6cce395543ee)
This commit is contained in:
Alexander Chemeris 2010-11-04 19:18:21 +03:00
parent 25cef9ef96
commit c5e8a2337d
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ osip_message_t * SIP::sip_message( const char * dialed_number, const char * sip_
// TO
osip_to_init(&request->to);
osip_to_set_displayname(request->to, strdup(""));
osip_to_set_displayname(request->to, strdup(dialed_number));
osip_uri_init(&request->to->url);
osip_uri_set_host(request->to->url, strdup(proxy_ip));
osip_uri_set_username(request->to->url, strdup(dialed_number));