Cause: 487 Request Terminated/INVITE from 127.0.0.1:5488

Discussion in '3CX Phone System - General' started by Volkan Celebi, Apr 3, 2018.

Thread Status:
Not open for further replies.
  1. Volkan Celebi

    Joined:
    Nov 20, 2017
    Messages:
    11
    Likes Received:
    0
    Dear all,

    I have been added one of our numbers to user as DID but if I call the number from outside all phones are ringing.

    Here is the event log:

    has failed; Cause: 487 Request Terminated/INVITE from 127.0.0.1:5488
     
  2. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,967
    Likes Received:
    324
    Hello @Volkan Celebi

    The description of the issue and the log you posted do not seem to match. A failed call would give this error but your description suggests that the call is ringing the wrong phones. So is it a routing problem or are calls failing?
    Also what do you mean by "I have been added one of our numbers to user as DID" ?
    Have you added this number under your trunks DIDs and have you created a inbound rule for this number to route to the extension? Where is the main number of the PBX routing?
     
  3. Volkan Celebi

    Joined:
    Nov 20, 2017
    Messages:
    11
    Likes Received:
    0
    main number is 576 60 80 and ehrn somebody calls the all phones ringing. ( I added all phones to ring group) It works as expected.

    In the SIP Trunk section I have been added the other numbers which should connect direct to only one user.

    See: http://www.evernote.com/shard/s26/s...653638db1654/51e84e8647308af7720d75a34648c325

    In the inbound rules section I added the and forwarded the user 666 (number: 576 65 03)
    See: http://www.evernote.com/shard/s26/s...5096548821c8/64ef1899f22ca0f350be12809514f7ec

    but if anybody calls to 576 65 03 every phones are ringing
     
  4. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,967
    Likes Received:
    324
    Edit your DIDs and add them as *445766503 and see if that works for you. If it does then it means that the format the provider is sending the number in does not match the DIDs in the PBX.
     
  5. Volkan Celebi

    Joined:
    Nov 20, 2017
    Messages:
    11
    Likes Received:
    0
    if I enter the number as *445766503 it changes automatically to *41445766503 and same behaviour
     
  6. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,967
    Likes Received:
    324
    What browser are you using? Try editing the number again and after you edit the number click on a different place on the page so the cursor leaves the value box and then click OK to save the changes. Does that work?
     
  7. Volkan Celebi

    Joined:
    Nov 20, 2017
    Messages:
    11
    Likes Received:
    0
    Thanks the number is now *445766503 but every phones ringing. the problem is still continue
     
  8. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,967
    Likes Received:
    324
    In that case do the following test. Change the main trunk number destination to a different destination and try calling a number other than the main trunk number. Does that number now route to the main trunk number destination? If so that you are still have having routing issues as the number send by your provider does not match the number in the PBX. In that case check the Activity log and see how the number arrives from your provider and format your numbers the same way.
    Also do you have multiple trunks?
     
  9. Volkan Celebi

    Joined:
    Nov 20, 2017
    Messages:
    11
    Likes Received:
    0
    I have only one trunk.

    here is the activity log

    04/05/2018 11:53:34 AM - [CM503003]: Call(C:229): Call to <sip:222@sip01.xxx.ch:5060> has failed; Cause: 487 Request Terminated/INVITE from 127.0.0.1:5488
    04/05/2018 11:22:51 AM - [CM503003]: Call(C:228): Call to <sip:666@sip01.xxx.ch:5060> has failed; Cause: 487 Request Terminated/INVITE from 127.0.0.1:5488
    04/05/2018 11:22:51 AM - [CM503003]: Call(C:228): Call to <sip:222@sip01.xxx.ch:5060> has failed; Cause: 487 Request Terminated/INVITE from 127.0.0.1:5488
    04/05/2018 11:22:51 AM - [CM503003]: Call(C:228): Call to <sip:222@192.168.33.10:5060> has failed; Cause: 487 Request Terminated/INVITE from 192.168.33.40:5062
    04/05/2018 11:22:51 AM - [CM503003]: Call(C:228): Call to <sip:510@192.168.33.10:5060> has failed; Cause: 487 Request Terminated/INVITE from 192.168.33.35:5062
    04/05/2018 11:22:51 AM - [CM503003]: Call(C:228): Call to <sip:666@192.168.33.10:5060> has failed; Cause: 487 Request Terminated/INVITE from 192.168.33.37:5062
    04/05/2018 11:22:51 AM - [CM503003]: Call(C:228): Call to <sip:555@192.168.33.10:5060> has failed; Cause: 487 Request Terminated/INVITE from 192.168.33.38:5062
    04/05/2018 11:16:47 AM - [CM102001]: Authentication failed for AuthFail Recv Req REGISTER from 192.168.33.33:5060 tid=ae2256d0b07d0c5634d20034ab042b7 Call-ID=686549209@192_168_44_33:
    REGISTER sip:192.168.33.10 SIP/2.0
    Via: SIP/2.0/UDP 192.168.33.33:5060;branch=z9hG4bKae2256d0b07d0c5634d20034ab042b7;rport=5060
    Max-Forwards: 70
    Contact: <sip:555@192.168.33.33:5060>
    To: <sip:555@192.168.33.10>
    From: <sip:555@192.168.33.10>;tag=3180057152
    Call-ID: 686549209@192_168_44_33
    CSeq: 10243 REGISTER
    Expires: 180
    Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
    Proxy-Authorization: Digest username="555",realm="3CXPhoneSystem",algorithm=MD5,uri="sip:192.168.33.10",nonce="414d535c10d67a7f64:1eeb2d2bc30dfbb9ac3ac9e7ec6636db",response="99f969424cf114c9baa83df8b0545373"
    User-Agent: C470 IP/022270000000
    Content-Length: 0

    ; Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
     
  10. Volkan Celebi

    Joined:
    Nov 20, 2017
    Messages:
    11
    Likes Received:
    0
  11. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,967
    Likes Received:
    324
    The logs you attached do not show an incoming call log so we cannot really see much.
    It appears that your DID's still do not match the incoming numbers as sent by the provider and that is why the PBX routes all calls to the main trunk number destination as it cannot match the incoming call to your inbound rules. If your provider is actually Winet then they send incoming calls with the national format so your number should arrive as 0445766503. Try changing a DID to this format and try another incoming call. Also make sure that under the providers inbound parameters the option "CalledNum" number that has been dialled (default: To->user)" is set to "To:User Part"

    2018-04-19_10h04_17.png
    If that does not work then you will need to run a wireshark capture of an inbound call and see what the provider is sending to your PBX and format your DIDs accordingly.
     
Thread Status:
Not open for further replies.