Author Topic: Ability to reject call on SIP phone  (Read 2682 times)

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Ability to reject call on SIP phone
« on: December 22, 2018, 05:09:35 PM »
I was putting my hopes into the latest release 9.0 SP1 where finally would it be possible to correctly reject calls on SIP phones. I was talking about this subject with Mitel support several times and their answer was that it works as by design, unfortunately very poor design, I think.

If you do an internal call to a SIP phone registered to MiVB (could be an X-lite or a Mitel 6865i SIP phone) or an external to a mobile phone via SIP trunk, if the user hits a Reject Call button the caller still hears the ringing tone. Basically once MiVB receives SIP 180 Ringing it ignores 486 Busy Here or 480 Temporarily Unavailable messages.

Is anybody also struggling with this?


Offline Tom2018

  • Jr. Member
  • **
  • Posts: 58
  • Country: de
  • Karma: +2/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #1 on: January 16, 2019, 11:36:58 AM »
Hi,

maybe you could play around with the sip status codes sending ...
Is it possible to change it in your used client? I mean to remember a customer with snom sip phones and there worked the status 603 (Declined) instead of 486 (busy here).

regards,
Tom

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #2 on: January 16, 2019, 03:52:20 PM »
Hi Tom,
    thank for your reply. Yes, I programmed our IVR system to respond with:

100 Trying
180 Ringing
wait 2 seconds
603 Decline

When I dialed the IVR port the caller still hears the ringing tone after the remote party sent 603 Decline.

If I program the following the caller gets Out Of Service after 2 seconds.

100 Trying
wait 2 seconds
603 Decline

I also tested other responses like 301 Moved Permanently, 404 Not Found, 600 Busy Everywhere, 403 Forbidden, etc. and it seems once the 180 Ringing is sent the ICP is ignoring any further statuses.

Petr

Offline Tom2018

  • Jr. Member
  • **
  • Posts: 58
  • Country: de
  • Karma: +2/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #3 on: January 17, 2019, 06:58:39 AM »
Hi petr.necas,

I'vd check the config at customer side, we send the status 487.
I also tested it today, that works at least for our customer....

regards,

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #4 on: January 17, 2019, 08:33:24 AM »
Could you please post here the SIP trace?

Offline Tom2018

  • Jr. Member
  • **
  • Posts: 58
  • Country: de
  • Karma: +2/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #5 on: January 17, 2019, 11:39:32 AM »
Hi,

find attached the shortend print from the call flow after the invite and the corresponding RINGING

PBX = 10.13.1.11

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.13.1.11:5060;branch=z9hG4bK1584313586-4045285799
Record-Route: <sip:111@10.13.1.9;lr=on;ftag=0_1584313609-4045285800>
From: "XXX" <sip:222@10.13.1.11>;tag=0_1584313609-4045285800
Call-ID: 1584313518-4045285798
CSeq: 1 INVITE
Contact: <sip:111@10.13.188.26:2096;line=jsv3fzb0>;reg-id=1
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE
Allow-Events: talk, hold, refer, call-info
Content-Length: 0
To: <sip:111@10.13.1.11>;tag=eyg5fb0c55

SIP/2.0 487 Hang UP!!
Via: SIP/2.0/UDP 10.13.1.11:5060;branch=z9hG4bK1584313586-4045285799
From: "XXX" <sip:222@10.13.1.11>;tag=0_1584313609-4045285800
To: <sip:111@10.13.1.11>;tag=435c30b48d1cee7e4a824c683c3f4b30-3cc8
Call-ID: 1584313518-4045285798
CSeq: 1 INVITE
Server: Mitel-3300-ICP 20.0.1.22
Content-Length: 0

ACK sip:111@10.13.1.9 SIP/2.0
Via: SIP/2.0/UDP 10.13.1.11:5060;branch=z9hG4bK1584313586-4045285799
Max-Forwards: 70
From: "XXX" <sip:222@10.13.1.11>;tag=0_1584313609-4045285800
To: <sip:111@10.13.1.11>;tag=435c30b48d1cee7e4a824c683c3f4b30-3cc8;foo=eyg5fb0c55
Call-ID: 1584313518-4045285798
CSeq: 1 ACK
Contact: "XXX" <sip:222@10.13.1.11:5060;transport=udp>
Content-Length: 0

SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 10.13.1.9;branch=z9hG4bK512b.dcce644afc8542d59d7e82fb9b3026a3.0,SIP/2.0/UDP 10.13.188.25:2089;received=10.13.188.25;branch=z9hG4bK-5294pweqrwb5;rport=2089
Record-Route: <sip:111@10.13.1.9;lr=on;ftag=jpm1qqzybq>
Warning: 399 10.13.1.11 "30H Call Termination"
From: "XXX" <sip:222@10.13.1.9>;tag=jpm1qqzybq
To: <sip:111@10.13.1.9>;tag=0_1584304610-4045285797
Call-ID: 3c7d78956044-ln5kyize81qj
CSeq: 3 INVITE
Server: Mitel-3300-ICP 20.0.1.22
Content-Length: 0

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #6 on: January 18, 2019, 10:29:24 AM »
The last message (Request Terminated) seems to relate to another call, isn't it?

Could you also share the SIP Device Capabilities settings? (if there is any special configuration)

You mentioned Snom sip phones, what is the exact model you are using? I might get one for testing.

As soon as you reject the incoming call on the Snom phone does the caller (another extension) stop hearing the ring tone or not?


Offline Tom2018

  • Jr. Member
  • **
  • Posts: 58
  • Country: de
  • Karma: +2/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #7 on: January 20, 2019, 06:03:04 AM »
Hi,

Quote
The last message (Request Terminated) seems to relate to another call, isn't it?
No this is from one call

Quote
Could you also share the SIP Device Capabilities settings? (if there is any special configuration)
There aren't any special configs

Quote
You mentioned Snom sip phones, what is the exact model you are using? I might get one for testing.
The model is Snom 320 with firmware 8.4.35, but there is also a Mitel SIP DECT System connected with the same function and same SIP Device Capabilities

Quote
As soon as you reject the incoming call on the Snom phone does the caller (another extension) stop hearing the ring tone or not?
The caller hears the busy tone and the call is automatic ended after around 15 seconds

Best regards,

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #8 on: January 21, 2019, 08:13:20 AM »
Quote
No this is from one call
Strange, the Call-ID is different.

Could you please provide a PCAP file with one call rejected?

Thanks
Petr

Offline Tom2018

  • Jr. Member
  • **
  • Posts: 58
  • Country: de
  • Karma: +2/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #9 on: January 24, 2019, 04:34:52 AM »
Hi Petr,

the reason of the other call-id is, that between MCD and UA a sip-proxy is installed.
This was necessary to make the blf keys working on the snom phones

regards,
Tom

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #10 on: January 24, 2019, 10:32:31 AM »
Ok, what SIP proxy is that?

Offline Tom2018

  • Jr. Member
  • **
  • Posts: 58
  • Country: de
  • Karma: +2/-0
    • View Profile
Re: Ability to reject call on SIP phone
« Reply #11 on: January 25, 2019, 03:25:29 AM »
it's the Kamailio sip proxy https://www.kamailio.org

regards,


 

Sitemap 1 2 3 4 5 6 7 8 9 10