aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2009-09-29 20:47:44 +0200
committerSylvain Munaut <tnt@246tNt.com>2009-09-29 20:53:20 +0200
commitd3e9dc0488a2ac696cdcbe715c5940cb83a1aab3 (patch)
treea1df737baf019ad2e230d5e00651b256a0028a64
parentd6b2e4f18be216df1de88744753f4c0613f0c36b (diff)
Change format of channel naming to use hex for the call ref
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--chan_openbsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chan_openbsc.c b/chan_openbsc.c
index 61a8d41..dd40501 100644
--- a/chan_openbsc.c
+++ b/chan_openbsc.c
@@ -284,7 +284,7 @@ _openbsc_chan_new(struct openbsc_chan_priv *p, int state)
{
struct ast_channel *chan = NULL;
- chan = ast_channel_alloc(1, state, 0, NULL, "", "", "", 0, "OpenBSC/callref-%d", p->callref);
+ chan = ast_channel_alloc(1, state, 0, NULL, "", "", "", 0, "OpenBSC/callref-%08x", p->callref);
if (!chan)
return NULL;