diff --git a/temp/ofono/0006-qmimodem-Fix-dialing-to-an-international-number.patch b/temp/ofono/0006-qmimodem-Fix-dialing-to-an-international-number.patch new file mode 100644 index 000000000..bbf22d567 --- /dev/null +++ b/temp/ofono/0006-qmimodem-Fix-dialing-to-an-international-number.patch @@ -0,0 +1,30 @@ +From d6f8723b8caa97a355ef7311dae3b8d630a2eb12 Mon Sep 17 00:00:00 2001 +From: Alexander Akulich +Date: Thu, 22 Oct 2020 01:41:52 +0300 +Subject: [PATCH] [qmimodem] Fix dialing to an international number + +We can't just use ph->number because it has no leading '+' which is +crucial for a call (the operator says "The called number is not valid" +in case of a number without the plus). + +Use phone_number_to_string() to get the valid number. +--- + drivers/qmimodem/voicecall.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/qmimodem/voicecall.c b/drivers/qmimodem/voicecall.c +index cfc6f0b..e848c98 100644 +--- a/drivers/qmimodem/voicecall.c ++++ b/drivers/qmimodem/voicecall.c +@@ -241,7 +241,7 @@ static void dial(struct ofono_voicecall *vc, const struct ofono_phone_number *ph + + cbd->user = vc; + arg.calling_number_set = true; +- arg.calling_number = ph->number; ++ arg.calling_number = phone_number_to_string(ph); + memcpy(&vd->dialed, ph, sizeof(*ph)); + + arg.call_type_set = true; +-- +2.26.2 + diff --git a/temp/ofono/APKBUILD b/temp/ofono/APKBUILD index de937ac4a..48edfb377 100644 --- a/temp/ofono/APKBUILD +++ b/temp/ofono/APKBUILD @@ -3,7 +3,7 @@ pkgname=ofono pkgver=9999 _pkgver=1.31 -pkgrel=5 +pkgrel=6 pkgdesc="Infrastructure for building mobile telephony (GSM/UMTS) applications [$_pkgver]" url="https://01.org/ofono" arch="all" @@ -23,6 +23,7 @@ source="https://www.kernel.org/pub/linux/network/ofono/ofono-$_pkgver.tar.xz 0003-common-atmodem-move-at_util_call_compare_by_id-to-dr.patch 0004-add-call-list-helper-to-manage-voice-call-lists.patch 0005-qmimodem-implement-voice-calls.patch + 0006-qmimodem-Fix-dialing-to-an-international-number.patch $pkgname.initd $pkgname-auto-enable.initd udev.rules @@ -77,6 +78,7 @@ ad25dcc34bf710287c9a03fdcd61f2f2fd675691f55be30dbe7c8421753aa857906dd23b2d4f7f75 1a55f558c2e3058eee7dae2a60538417ae0fc058f322f4740a0f46a080cc2fda2c8a8cd522d243ab8f0be2ea461ad7dc1c27d2e73bcaac5848d9c592d6386d8a 0003-common-atmodem-move-at_util_call_compare_by_id-to-dr.patch 3e0dce12bcb65d3c6db15cfd50058e793bf1f1ae6e330bf804565afde54614227746a8d4316ccd36093f22e2cc4f62e3a32e46276ab81a7b1f3a61f56984ed78 0004-add-call-list-helper-to-manage-voice-call-lists.patch 72d0f63c091d4b1fc5b405ec67e73f377887ee3dffd4791272122462bf4feaeec207de9b177632756e1f973a7bf7bde119c6ec6556568a6307287ba43998b7a0 0005-qmimodem-implement-voice-calls.patch +6dd4d5f829d66b5b9a13aed6d5a991a2cd3dee6db04a122bcc1d87d0eddc37637468bec58f9fe6027c89eac3b14411201d324150e6be4b103622340da6a599fe 0006-qmimodem-Fix-dialing-to-an-international-number.patch bc76c404a7de626210dbd78f659444567a95b6e6d8db0661d5d67ea361e2941ad55242d43a5957995817145d4d5323476fbc42d1830b20608a5e90a7a4ba1194 ofono.initd 54a2cb55547e77c22a98c4260f2e94d9327d5d98e1b604f9413a7380ae4489247a97561cc2ab39476bc6e6fb5e673dca8053218b18ac4626addb51ecb29f0167 ofono-auto-enable.initd 8f2893dfc291fc210ef217c4bc74d79436a0997001dd2773809625d52dd19d092cc75d3f9aa5ed2f3d4a6248d4a4e17013a7655323f7dad951f744c55b572417 udev.rules