From 60a08f2bfd6538813825e108c721931c88d2d980 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Wed, 8 Aug 2012 16:22:52 +0200 Subject: [PATCH] Improve APN --- Classes/LinphoneCoreSettingsStore.m | 3 ++- Resources/en.lproj/Localizable.strings | Bin 5708 -> 5782 bytes 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/LinphoneCoreSettingsStore.m b/Classes/LinphoneCoreSettingsStore.m index 2bc8bece6..dc3e2be4c 100644 --- a/Classes/LinphoneCoreSettingsStore.m +++ b/Classes/LinphoneCoreSettingsStore.m @@ -362,7 +362,8 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args); for(int i = 0; i < [tokenData length]; ++i) { [tokenString appendFormat:@"%02X", (unsigned int)tokenBuffer[i]]; } - linphone_proxy_config_set_contact_parameters(proxyCfg, [[NSString stringWithFormat:@"APN=%@", tokenString] UTF8String]); + NSString *params = [NSString stringWithFormat:@"APN-TOK=%@;APN-MSG=IC_MSG;APN-SND=oldphone-mono-30s.caf", tokenString]; + linphone_proxy_config_set_contact_parameters(proxyCfg, [params UTF8String]); } diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings index 43899b43f750d6e1a166be433473903483f7d48a..a0682f3c400d9daceb885ea83bc2c69efcdc0ab2 100644 GIT binary patch delta 82 zcmX@3Gfj7ckC>MdgC~PCLp*~oLokCogA#)RgDnt)MDrMu8S)u&88U&abf8!=Ln1>C Y5GpXFF%*Gi6c|()9Dr)A8MuHD0E(*(hX4Qo delta 7 OcmbQHdq!u2j~D<9nF7uL