[asterisk-users] Call holding with chan_capi

Armin Schindler armin at melware.de
Wed Feb 15 15:56:44 CST 2012


Hi,

On 02/14/2012 06:28 PM, Arik Raffael Funke wrote:
> My apologies, I just realised I copied the wrong section of the debug log. So
> once again, when pressing the "park call" button, I get the following "capi
> debug" output:
> 
> CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x82 MsgNum=0xe446 NCCI=0x00001403
> FACILITY_IND               ID=002 #0xe446 LEN=0018
>   Controller/PLCI/NCCI            = 0x1403
>   FacilitySelector                = 0x3
>   FacilityIndicationParameter     = <02 80 00>
> 
>     -- ISDN_INTERN#02: unhandled FACILITY_IND supplementary function 8002
> FACILITY_RESP              ID=002 #0xe446 LEN=0015
>   Controller/PLCI/NCCI            = 0x1403
>   FacilitySelector                = 0x3
>   FacilityResponseParameters      = default
> 
> CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x82 MsgNum=0xe447 NCCI=0x00011403
> DISCONNECT_B3_IND          ID=002 #0xe447 LEN=0015
>   Controller/PLCI/NCCI            = 0x11403
>   Reason_B3                       = 0x3301
>   NCPI                            = default
> 
> DISCONNECT_B3_RESP         ID=002 #0xe447 LEN=0012
>   Controller/PLCI/NCCI            = 0x11403

looks like normal hold where B-channel is released.
When you use capicommand(hold), you can specify a second parameter. This
parameter is the name of a variable which is filled with the reference ID of
the hold. capicommand(retrieve, ${HOLDID}) then can unhold the call.
See README of chan_capi package for details.

Armin



More information about the asterisk-users mailing list