summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgsmevent admin <admin@gsmevent.box>2019-12-28 13:03:23 +0100
committergsmevent admin <admin@gsmevent.box>2019-12-28 13:03:43 +0100
commitef697da5aff0ded330e1285febe67df4cb16f39e (patch)
tree679494424b7d4edb200be3370fc5d2c25f89e975
parent7308e0dd50dc48db2c8eb656deb2f6b425da30d4 (diff)
For INTL dial out, POC needs '00' not '+' prefix36c3
For MO calls of type INTERNATIONAL, we prefix with a '+', but for POC we need to change this to '00', now people who have intl numbers stored in their phone books will be able to dial them. (this was brought to my attention last year on day 4 just before tear down.)
-rw-r--r--src/mncc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mncc.c b/src/mncc.c
index 8bd0542..b61d5a9 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -355,7 +355,7 @@ static void continue_mo_call(struct mncc_call_leg *leg)
leg->state = MNCC_CC_PROCEEDING;
if (leg->called.type == GSM340_TYPE_INTERNATIONAL)
- dest = talloc_asprintf(leg, "+%.32s", leg->called.number);
+ dest = talloc_asprintf(leg, "00%.32s", leg->called.number);
else
dest = talloc_asprintf(leg, "%.32s", leg->called.number);