search for: handlehangupbycaller

Displaying 4 results from an estimated 4 matches for "handlehangupbycaller".

2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
...RTP learning complete - Locking on source address (Although sometimes there is also: Retransmission timeout reached on transmission) same => n(callPeer),Set(GLOBAL(CB${IndexIntoPeers}CurrentCallsCount)=$[${PeerCurrentCallsCount} + 1]) ; Ensure that hangup by caller/inbound-channel will invoke handleHangupByCaller. same => n,Set(CHANNEL(hangup_handler_push)=handleHangupByCaller,s,1(args)) same => n,Set(AddressToReachPeer=SIP/${EXTEN:0:4}@${PeerBeingConsidered}) ; Ensure that the channel of the peer (i.e. outbound-channel) is configured with hangup handler. same => n,Dial(${AddressToReachPeer},,b...
2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
...handler, but it's showing a similar problem: When the peer hangs-up, the hangup handler is not invoked and the caller channel remains open. same => n(callPeer),Set(GLOBAL(Peer${IndexIntoPeers}CurrentCallsCount)=$[${PeerCurrentCallsCount} + 1]) same => n,Set(CHANNEL(hangup_handler_push)=handleHangupByCallerOrPeer,doesntMatter,1(args)) same => n,Set(DialForPeer=SIP/${EXTEN:0:4}@${PeerBeingConsidered}) same => n,Dial(${DialForPeer}) same => n,Hangup() [handleHangupByCallerOrPeer] exten => _.,1,NoOp(${PeerBeingConsidered}: Entered handleHangupByCallerOrPeer Calls ${Peer${IndexIntoPeers}Cu...
2019 Dec 27
1
Handling a non-responsive peer after it answers
...seems that if there is no following "Remote UNIX connection" within a short time, then the peer can be considered non-responsive. Is there a way to configure a handler for this state? We use v14.7.6 and we dial the peer this way: same => n,Set(CHANNEL(hangup_handler_push)=${CONTEXT},handleHangupByCaller,1(args)) same => n,Dial(${AddressToReachPeer},2,b(${CONTEXT}^afterDialingPeerLogIpOfCb^1(${UUID}^${StartEpoch}))) same => n,Goto(handle${DIALSTATUS},1) Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asteri...
2019 Dec 30
1
Handling a non-responsive peer after it answers
...plan when a peer becomes > > non-responsive after answering. [deleted] Is there a way to configure > > a handler for this state? > > > > We use v14.7.6 and we dial the peer this way: > > > > same => > > > n,Set(CHANNEL(hangup_handler_push)=${CONTEXT},handleHangupByCaller,1(args)) > > same => > > > n,Dial(${AddressToReachPeer},2,b(${CONTEXT}^afterDialingPeerLogIpOfCb^1(${UUID}^${StartEpoch}))) > > same => n,Goto(handle${DIALSTATUS},1) > > > "Joshua C. Colp" <jcolp at sangoma.com> replied: > [deleted] As for...