Is it possble to send a request that will hangup all callee channels at once and tell the caller no one is available?
Caller dials a number and 2 endpoints are ringing.
endpoint 1: PJSIP/+${ctbEmployeeOutboundNumber}@${ctbSipProviderEndpoint}
endpoint 2: PJSIP/${ctbWebPhoneEndpoint},${ctbDialTimeOut},b(ctbVariableOutboundCallStartHeaders^addheader^1)
When endpoint 1 does a hangup is it possible to that endpoint 2 will also do a hangup. I already tried status 600 and 486.
SIP/2.0 600 Busy Everywhere
Via: SIP/2.0/WSS 172.26.5.114:8443;rport;branch=z9hG4bKPj9f9a8d0a-0b1b-4294-9757-e076ba88aec5;alias
To: <sip:d7pgn3mc@34.254.215.124>;tag=nbclg04g7n
From: <sip:+447429457449@janus.nme.mobi>;tag=fe8158d3-a535-4b9c-b4b1-adbc11c24a1d
Call-ID: d8889ba1-f413-4c56-bc69-f2c0a3fdb4d7
CSeq: 19609 INVITE
Supported: timer,ice,replaces,outbound
Content-Length: 0
same => n,Dial(PJSIP/+${ctbEmployeeOutboundNumber}@${ctbSipProviderEndpoint}&PJSIP/${ctbWebPhoneEndpoint},${ctbDialTimeOut},b(ctbVariableOutboundCallStartHeaders^addheader^1))
The Session Initiation Protocol (SIP) is a signalling protocol used for controlling communication sessions such as Voice over IP telephone calls. SIP is based on request/response transactions, in a similar manner to the Hypertext Transfer Protocol (HTTP). Each transaction consists of a SIP request (which will be one of several request methods), and at least one response.: p11
SIP requests and responses may be generated by any SIP user agent; user agents are divided into clients (UACs), which i...
My understanding is that Asterisk has no concept of busy everywhere (mainly because it is modelled on ISDN, which doesn’t have this).
jcolp
August 17, 2022, 9:24am
3
Indeed, there is no such functionality built in.
So if I understand right, you want to Dial A and B, and if A is not available, stop ringing B? (Not sure what you mean by “does a hangup” precisely)
You could dial A in a Local channel, and have the internal Dial in there continue to the next priority, where it can then SoftHangup() the Dial(B) leg. A bit of a kluge but sounds like that’s what you’re trying to do?
system
Closed
September 16, 2022, 12:36pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.