Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Direct SIP calls - inbound

Discussion in '3CX Phone System - General' started by spinnerfarm, Jul 11, 2011.

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

    Joined:
    Sep 4, 2009
    Messages:
    28
    Likes Received:
    0
    3CX system, ver 9.
    Running for about 1 year
    Callcenteric for a VOIP provider
    All calls work great, inbound and outbound
    Free system
    dynamic IP address at location of the 3CX system
    I have a dyndns account set up and this works fine

    I want to set up Direct SIP calls, inbound and outbound
    I set up a free account at iptel.org
    I have enabled Direct SIP calls in Settings - advanced
    I have set up my internal extension (104) with a SIP ID in extensions - 104 - other
    I also use a DR
    In settings advanced I have set the Local SIP Domain as office.local (this is the domain name for the system the 3CX server runs on)

    If I look up my current IP address (where the server is)
    from a softphone set up for the iptel.org account I can call stevec@xxx.xxx.xxx.xxx
    This call gets right through to the DR, no problem.
    I can also call the iptel.org phone from my 3CX extension as a SIP call - name@iptel.org

    When I try to call the 3CX extension from the iptel.org phone using stevec@dyndns.xxxxx.org it does not go through
    I get the following in the log:
    16:10:59.265 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:stevec@xxxxxxxx.dyndns.org SIP/2.0
    Via: SIP/2.0/UDP 213.192.59.75;branch=z9hG4bK547b.8e788247.0
    Via: SIP/2.0/UDP 10.10.6.129:5072;received=96.61.87.215;rport=5072;branch=z9hG4bK933112
    Max-Forwards: 16
    Record-Route: <sip:213.192.59.75;ftag=7325;avp=JYEDBwBhY2NvdW50AwB5ZXMDCQBkaWFsb2dfaWQWADc3NjEtNGRmZTI3ZmYtZmM2NTdlZjU;lr=on>
    Contact: <sip:yyyyyyyyy@96.61.87.215:5072>
    To: <sip:stevec@xxxxxxxxx.dyndns.org>
    From: "farmer"<sip:yyyyyyyy@iptel.org>;tag=7325
    Call-ID: 1310392904-3112-SCHUNN-PC@10.10.6.129
    CSeq: 726 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, INFO, REFER, NOTIFY
    Supported: replaces
    User-Agent: NCH Software Express Talk 4.15
    Content-Length: 0
    P-hint: outbound
    X-RTP-Proxy: YES

    yyyyy = user name at my iptel account
    xxxxxx = my dyndns account name

    Now I suspect that it all has to do with A records and srv records (accoring to the blog post I read before trying to set this up).

    If that is the case, I do have a domain name registered with godaddy that I could use and adjust the A record to my xxxxx.dyndns.org account but i do not know if an A record would accept an FQDN instead of an IP Address.
    If it would, I could set the srv record for that domain (registered at godaddy) to point to my dyndns address as well.

    Seems I am close in that I can call my 3CX system using a direct SIP address if I use the IP address of my system but I don't see how I can expect people to try to look that up before calling with a direct SIP call. I would think it should work with my dyndns address. If that is not the case I can change the settings in my spare domain at godaddy but i would need to know what to change those to.

    Can anyone help? I am got an expert in this area so if you do have a suggestion, please put it in easy to understand directions.

    Thanks,
    Steve
     
  2. spinnerfarm

    Joined:
    Sep 4, 2009
    Messages:
    28
    Likes Received:
    0
    Additional log information:
    16:10:57.390 [CM302001]: Authorization system can not identify source of: SipReq: INVITE stevec@xxxxxxx.dyndns.org tid=b47b.672afb53.0 cseq=INVITE contact=farmer@96.61.87.215:5072 / 720 from(wire)
    16:10:56.781 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:stevec@xxxxxxxxx.dyndns.org SIP/2.0
    Via: SIP/2.0/UDP 213.192.59.75;branch=z9hG4bK4f9b.6b2af863.0
    Via: SIP/2.0/UDP 10.10.6.129:5072;received=96.61.87.215;rport=5072;branch=z9hG4bK853112
    Max-Forwards: 16
    Record-Route: <sip:213.192.59.75;ftag=7325;avp=2boDBwBhY2NvdW50AwB5ZXMDCQBkaWFsb2dfaWQWADc3NjQtNGRmZTI3YjAtNmUzYmQxMGY;lr=on>
    Contact: <sip:yyyyyyyyy@96.61.87.215:5072>
    To: <sip:stevec@xxxxxxxxxx.dyndns.org>
    From: "farmer"<sip:yyyyyyyy@iptel.org>;tag=7325
    Call-ID: 1310392904-3112-SCHUNN-PC@10.10.6.129
    CSeq: 718 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, INFO, REFER, NOTIFY
    Supported: replaces
    User-Agent: NCH Software Express Talk 4.15
    Content-Length: 0
    P-hint: outbound
    X-RTP-Proxy: YES
     
  3. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    11,277
    Likes Received:
    360
    Do you have xxxxxxxxx.dyndns.org (or whatever you use) datafilled in the Domain Name field, and the Direct SIP calls checked, in 3CX advanced settings?
     
  4. spinnerfarm

    Joined:
    Sep 4, 2009
    Messages:
    28
    Likes Received:
    0
    Ah, i had the local FQDN (office.local) and not the dyndns name set. That was the problem.
    Thanks for you help.

    I might have some follow up questions as I test it all out but that certainly did the trick!
    Steve
     
Thread Status:
Not open for further replies.