Re: [asterisk-users] Call holding with chan_capi

2012-02-15 Thread Armin Schindler
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=0x1403
> 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

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Call holding with chan_capi

2012-02-14 Thread Arik Raffael Funke
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=0x1403

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



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Call holding with chan_capi

2012-02-14 Thread Arik Raffael Funke
In case this helps, when pressing the "Park Call" button, I get the 
following with "capi debug":


DISCONNECT_REQ ID=002 #0x037e LEN=0013
  Controller/PLCI/NCCI= 0x1303
  AdditionalInfo  = default

CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x81 MsgNum=0x037e 
NCCI=0x1303

DISCONNECT_CONFID=002 #0x037e LEN=0014
  Controller/PLCI/NCCI= 0x1303
  Info= 0x0

CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0xe3a5 
NCCI=0x1303

DISCONNECT_IND ID=002 #0xe3a5 LEN=0014
  Controller/PLCI/NCCI= 0x1303
  Reason  = 0x0

DISCONNECT_RESPID=002 #0xe3a5 LEN=0012
  Controller/PLCI/NCCI= 0x1303



On 14/02/2012 18:18, Arik Raffael Funke wrote:

Hi,

I am using ISDN phones which have a "Park call" button. The idea is: you
are on a call, push the button and hang up. You can then go to another
phone and pickup the call without having to remember parking slots, etc.

Unfortunately I cannot figure out how to get it to work with asterisk. I
suspect it has something to do with capicommand(holdtype|local)...

Does anybody use this isdn functionality with asterisk?

Many thanks,
Arik


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users





--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Call holding with chan_capi

2012-02-14 Thread Arik Raffael Funke

Hi,

I am using ISDN phones which have a "Park call" button. The idea is: you 
are on a call, push the button and hang up. You can then go to another 
phone and pickup the call without having to remember parking slots, etc.


Unfortunately I cannot figure out how to get it to work with asterisk. I 
suspect it has something to do with capicommand(holdtype|local)...


Does anybody use this isdn functionality with asterisk?

Many thanks,
Arik


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users