search for: addresstoreachpeer

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

2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
...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(beforeDialingPeerConfigureItsChannelForPeerHangupHandling^s^1)) same => n,Hangup [beforeDialingPeerConfigureIts...
2019 Dec 27
1
Handling a non-responsive peer after it answers
...IX 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/asterisk-users/attachments/20191227/31f33f9d/attachment...
2019 Dec 30
1
Handling a non-responsive peer after it answers
...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 hanging up a call when the remote > goes away that depends on the chann...
2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
Thanks, Eric. I just tried a hangup 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 =>