Change format of channel naming to use hex for the call ref
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
d6b2e4f18b
commit
d3e9dc0488
|
@ -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;
|
||||
|
||||
|
|
Reference in New Issue