Re: [asterisk-dev] Channels in a bridge

2017-06-02 Thread Jonathan Rose
Using ast_channel_get_bridge(struct ast_channel *chan), you can get a reference for the bridge. The channel needs to be locked before you use that function and you'll need to cleanup the bridge reference when you are done with it. From there you can use the bridge reference to get the list of

Re: [asterisk-dev] hangup handlers & unwanted cdr

2017-06-02 Thread Joshua Colp
On Fri, Jun 2, 2017, at 11:15 AM, marek cervenka wrote: > hi, > > i'm using hangup handlers on Asterisk13 > > with standard answered calls i have 1 CDR per call > > with scenario call from voip->mobile, call rejected on mobile i have 2 > CDRs > > > i dont want the second CDR > > without

[asterisk-dev] hangup handlers & unwanted cdr

2017-06-02 Thread marek cervenka
hi, i'm using hangup handlers on Asterisk13 with standard answered calls i have 1 CDR per call with scenario call from voip->mobile, call rejected on mobile i have 2 CDRs i dont want the second CDR without hangup handlers i have 1 CDR do you think its bug or its feature of hangup

[asterisk-dev] Channels in a bridge

2017-06-02 Thread Wray Ferrell
Hi, Is there anyway for a channel to know the other channels in their current bridge? The reason I ask is I have a customer application that negotiates a port using the SIP SDP for out of call signalling using UDP. For security purposes they want to route all traffic through their box which