Incoming calls: set CALLERTON variable to provide access to callers type of number

This commit is contained in:
MelwareDE 2010-02-17 19:14:16 +00:00
parent 244d5c0adc
commit a4b8a7db3a
1 changed files with 2 additions and 0 deletions

View File

@ -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);
/*