Forwarding/Transferring to DirectSIP

Discussion in '3CX Phone System - General' started by AH2, Sep 8, 2017.

Thread Status:
Not open for further replies.
  1. AH2

    AH2 New Member

    Joined:
    Mar 14, 2017
    Messages:
    112
    Likes Received:
    4
    Hello,
    The issues is, we purchased some DIDs from a vendor with a "cloud pbx" service, their main core is not DIDs, but the pbx solution they offer, and it did not work for us, so we moved to 3cx but need to keep the DIDs, they way they are doing it, it's forwarding the calls to sip: DID@3cx_Server.

    The calls goes into the IVR and after the extension it's dialed you the the "please wait your call it's being transferred" but right after that the call drops.

    I've added their server IP's to whitelist

    Logs here: https://pastebin.com/QqRBiaw8

    Thanks,
    AH
     
    #1 AH2, Sep 8, 2017
    Last edited: Sep 8, 2017
  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,754
    Likes Received:
    285
    What happens if a DID call is sent directly to an extension? Does that drop at some point?

    Since the log isn't showing a reason, you could try looking at more detailed logs to see if there is additional information, or, employ Wireshark to see if there are any messages, either direction, at the point of disconnect. Perhaps the caller is not receiving an ACK and times out.
     
    AH2 likes this.
  3. AH2

    AH2 New Member

    Joined:
    Mar 14, 2017
    Messages:
    112
    Likes Received:
    4
    Same thing, I send the call to the extension of the IVR, the call comes in, when your press an extension it looks like it takes it, then you get the message "please wait while you are being transferred" and the call drops at that time.

    Thanks.
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,754
    Likes Received:
    285
    If a call is made to an extension number directly, there should be no recording, it should simply ring the extension. If all of the forwarded DID numbers have routing in 3CX to an IVR, then you may have to "remove" one of these numbers for testing.

    If calls are dropping, one end is initiating that. Wireshark will show if it is the calling end that is sending a "BYE" and is it because it is receiving a message from 3CX.

    Have you tried sending a direct SIP call from another device, something other than a forwarded call from the provider?
     
    AH2 likes this.
  5. AH2

    AH2 New Member

    Joined:
    Mar 14, 2017
    Messages:
    112
    Likes Received:
    4
    Hi, yes, if configured to send call to EXT@server the call works fine when picked up.
    Sorry cant install wireshark, or don't know how to on a cloud pbx.

    Thanks,
     
  6. AndreasPo_3CX

    AndreasPo_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Aug 10, 2017
    Messages:
    138
    Likes Received:
    12
    Hi @AH2 ,

    if you need to get a pcap on the server but cant install wireshark, you can go into Dashboard>Activity Log, press "Capture" and replicate the scenario you are trying to test. If you need to change the logging level (low to verbose) you will need to restart the services. When you press stop on the capture, you will get a link to download the pcap. All this will be there if you are using 3CX in its latest version (v15.5.3554.1 and up)

    Hope this helps.

    edit: sorry, forgot to mention this,if this is a windows machine, it won't work as in windows wireshark needs to be installed in order for this to work. In linux tcpdump is used so wireshark is not needed.
     
    #6 AndreasPo_3CX, Sep 13, 2017
    Last edited: Sep 13, 2017
    AH2 likes this.
  7. AH2

    AH2 New Member

    Joined:
    Mar 14, 2017
    Messages:
    112
    Likes Received:
    4
    Thanks, did as follow.
    - Selected Verbose from settings, purged logs, started capture, made the call to the DID in question, the call comes in, asks for ext > ext its dialed, message for please wait call being transfer > then the call drops > Stoped captured.

    Logs here: https://paste.ofcode.org/x3aCEzrpnn8YSGE4TTsWgs

    PD: Main DID linked to the outgoing trunk does work fine with incoming calls, routing extension etc... using same IVR as the other DIDs.

    Best.
    AH
     
  8. AH2

    AH2 New Member

    Joined:
    Mar 14, 2017
    Messages:
    112
    Likes Received:
    4
    Just to note, I know I can make calls from the 3cx client to the PBX dialing sip:ext@server
     
  9. AH2

    AH2 New Member

    Joined:
    Mar 14, 2017
    Messages:
    112
    Likes Received:
    4
    I sent the logs to the DID provider, they say it might be an issue of Codecs, they use u-law 711, same as we are using by default.
     
Thread Status:
Not open for further replies.