Incoming calls: set CALLERTON variable to provide access to callers type of number
This commit is contained in:
parent
244d5c0adc
commit
a4b8a7db3a
|
@ -4814,6 +4814,8 @@ static void capidev_handle_connect_indication(_cmsg *CMSG, unsigned int PLCI, un
|
|||
pbx_builtin_setvar_helper(i->owner, "BCHANNELINFO", bchannelinfo);
|
||||
sprintf(buffer, "%d", callednplan);
|
||||
pbx_builtin_setvar_helper(i->owner, "CALLEDTON", buffer);
|
||||
sprintf(buffer, "%d", callernplan);
|
||||
pbx_builtin_setvar_helper(i->owner, "CALLERTON", buffer);
|
||||
sprintf(buffer, "%d", i->cip);
|
||||
pbx_builtin_setvar_helper(i->owner, "CAPI_CIP", buffer);
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue