I ve configured a ring group and when a phone picks up, the call must be displayed as a missed call on the other phones. It sems to be possible on Yealink by setting the cancel message : if its reason is not empty, the call should be considered as missed
Do you know how I could configure the CANCEL message please?
Show either the sip debug or the pjsip logger output for a call to this ring group that shows the CANCELs to the devices that don’t answer. Is the Reason header set in those? Also show the Dial() command you are using.
exten => 00030500,1,Noop()
same => n,Set(CALLERID(name)=${CALLERID(num)} => groupe)
same => n, Dial(SIP/00030100&SIP/00030102&SIP/00030101,200,r)
same => n,hangup()
No, that is an INVITE into Asterisk as I asked for a debug of a call that would traverse the Ring Group. So that’s not coming internally. This isn’t a full debug clearly as it doesn’t show all the transactions for all the devices. This is just the initial INVITE and a CANCEL to one of the devices that didn’t answer the call.
I could make a capture of the CANCEL (see below). If I want to solve my problem, I need to remove the Reason header that indicates the call has completed elesewhere. Is there a way to do that with asterisk?
Message Header
Via: SIP/2.0/UDP 10.8.0.1:5060;branch=z9hG4bK65af79e2
Transport: UDP
Sent-by Address: 10.8.0.1
Sent-by port: 5060
Branch: z9hG4bK65af79e2
Max-Forwards: 70
From: “200 => groupe” sip:200@10.8.0.1;tag=as3d57ef41
SIP Display info: “200 => groupe”
SIP from address: sip:200@10.8.0.1
SIP from address User Part: 200
SIP from address Host Part: 10.8.0.1
SIP from tag: as3d57ef41
To: sip:00030101@10.1.1.2:5060
SIP to address: sip:00030101@10.1.1.2:5060
SIP to address User Part: 00030101
SIP to address Host Part: 10.1.1.2
SIP to address Host Port: 5060
Call-ID: 7568b5c343afbe33726ab69331abda30@10.8.0.1:5060
[Generated Call-ID: 7568b5c343afbe33726ab69331abda30@10.8.0.1:5060]
CSeq: 102 CANCEL
Sequence Number: 102
Method: CANCEL
User-Agent: Asterisk PBX 14.7.6
Reason: SIP;cause=200;text=“Call completed elsewhere”
Reason protocols: SIP
Cause: OK (200)
Text: Call completed elsewhere
Content-Length: 0
The incoming call was send to a couple of phones, probably a dialgroup. If one of them answers, the other ones get this message.
Initially all phones in the dialgroup are invited to the party, but then the call was cancelled for those who didn’t answer. The reason header tells the reason. Normally, phones evaluate the reason header and they do not add the initial attempt to the missed calls list.
You may not want to remove the header as the message makes sense. There maybe other reasons, that cause sleepless nights…
I may have misunderstood the intentions of your post. I think the Yealink phones have options do count or not and/or display certain messages like missed calls, etc.
I’ve finally found a “dirty” way to resolve this issue : I make the group ring for 1 second and I make another Dial on it, so the call appears on all phones as missed
this is not very conventional way to proceed but my client is satisfied…