remote extension no audio issue

Discussion in '3CX Phone System - General' started by g.moretti, Mar 6, 2010.

Thread Status:
Not open for further replies.
  1. g.moretti

    Joined:
    Dec 11, 2009
    Messages:
    7
    Likes Received:
    0
    Hi
    I'm trying to configure a remote extension for using it from home as if i'm in office...
    i have to say that before 3cx i used asterisk and the remote extension was working fine without problems, now with 3cx and "about" same configuration (same public ip, same codec, same port) i have no audio...
    I have a particular internet account at home, my isp is "fastweb" and it works like a big lan with many routers... so i don't have a public ip at home, either dynamic... because i have, behind my router, another router natting me my request, so NO INCOMING connection are allowed...
    in the office instead i have a public ip fully forwarded to my 3cx server without restrictions.

    I configured my siemens c470ip like the wiki here, adding stun configuration using 3cx servers, and mapping rtp port range matching with the 3cx configuration for RTP (9000 - 9049 and 7000 - 7499) but no luky...

    this is the phone call logs for both outbound call from remote extension and inbound

    outbound:
    Code:
    13:09:42.268  [CM503008]: Call(434): Call is terminated
    13:09:35.779  [CM503007]: Call(434): Device joined: sip:301@192.168.0.241:5060
    13:09:35.779  [CM503007]: Call(434): Device joined: sip:299@93.40.131.207:5060
    13:09:35.763  [MS210003] C:434.1:Answer provided. Connection(transcoding mode[unsecure]):89.119.144.46:57300(57301)
    13:09:35.763  [MS210001] C:434.2:Answer received. RTP connection[unsecure]: 192.168.0.241:16466(16467)
    13:09:35.763  Remote SDP is set for legC:434.2
    13:09:35.763  [CM505001]: Ext.301: Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA941-5.1.8] PBX contact: [sip:301@192.168.0.253:5060]
    13:09:35.763  [CM503002]: Call(434): Alerting sip:301@192.168.0.241:5060
    13:09:32.705  [CM503025]: Call(434): Calling Ext:Ext.301@[Dev:sip:301@192.168.0.241:5060]
    13:09:32.705  [MS210002] C:434.2:Offer provided. Connection(transcoding mode): 192.168.0.253:7024(7025)
    13:09:32.690  [CM503004]: Call(434): Route 1: Ext:Ext.301@[Dev:sip:301@192.168.0.241:5060]
    13:09:32.690  [CM503010]: Making route(s) to <sip:301@sip.ht-net.it;user=phone>
    13:09:32.690  [MS210000] C:434.1:Offer received. RTP connection: 93.40.131.207:7002(7003)
    13:09:32.690  Remote SDP is set for legC:434.1
    13:09:32.690  [CM505001]: Ext.299: Device info: Device Identified: [Man: Siemens;Mod: C470IP;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [C470IP  022140000000] PBX contact: [sip:299@89.119.144.46:56250]
    13:09:32.690  [CM503001]: Call(434): Incoming call from Ext.299 to <sip:301@sip.ht-net.it;user=phone>
    13:09:32.643  [CM500002]: Info on incoming INVITE:
      INVITE sip:301@sip.ht-net.it;user=phone SIP/2.0
      Via: SIP/2.0/UDP 93.40.131.207:5060;branch=z9hG4bKb52adddaba0399f35b811e9833eb6fc3;rport=5060
      Max-Forwards: 70
      Contact: <sip:299@93.40.131.207:5060>
      To: <sip:301@sip.ht-net.it;user=phone>
      From: "299 - Casa"<sip:299@sip.ht-net.it>;tag=1886923607
      Call-ID: 4219076371@93_40_131_207
      CSeq: 3 INVITE
      Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
      Proxy-Authorization: Digest username="299",realm="3CXPhoneSystem",algorithm=MD5,uri="sip:301@sip.ht-net.it;user=phone",nonce="414d535c01a2d6fc93:7b88b6bfe64aaf3acc00d23580db87c4",response="a207de18c1cafc17eaeaa1ca63b49a5d"
      Supported: replaces
      User-Agent: C470IP  022140000000
      Allow-Events: message-summary, refer
      Content-Length: 0
      
    
    
    Inbound
    Code:
    13:03:39.755  [MS105000] C:432.2: No RTP packets were received:remoteAddr=93.40.131.207:9000,extAddr=89.119.144.46:57271,localAddr=89.119.144.46:57271
    13:03:39.163  [CM503008]: Call(432): Call is terminated
    13:03:06.340  Session 49656 of leg C:432.1 is confirmed
    13:03:06.231  [CM503007]: Call(432): Device joined: sip:299@93.40.131.207:5060
    13:03:06.231  [CM503007]: Call(432): Device joined: sip:301@192.168.0.241:5060
    13:03:06.231  [MS210003] C:432.1:Answer provided. Connection(transcoding mode[unsecure]):192.168.0.253:7020(7021)
    13:03:06.231  [MS210001] C:432.2:Answer received. RTP connection[unsecure]: 93.40.131.207:9000(9001)
    13:03:06.231  Remote SDP is set for legC:432.2
    13:03:01.504  [CM505001]: Ext.299: Device info: Device Identified: [Man: Siemens;Mod: C470IP;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [C470IP  022140000000] PBX contact: [sip:299@89.119.144.46:56250]
    13:03:01.504  [CM503002]: Call(432): Alerting sip:299@93.40.131.207:5060
    13:03:00.693  [CM503025]: Call(432): Calling Ext:Ext.299@[Dev:sip:299@93.40.131.207:5060]
    13:03:00.693  [MS210002] C:432.2:Offer provided. Connection(transcoding mode): 89.119.144.46:57271(57272)
    13:03:00.615  [MS210000] C:432.1:Offer received. RTP connection: 192.168.0.241:16462(16463)
    13:03:00.615  [CM503004]: Call(432): Route 1: Ext:Ext.299@[Dev:sip:299@93.40.131.207:5060]
    13:03:00.615  [CM503010]: Making route(s) to "Moretti - Casa"<sip:299@192.168.0.253:5060>
    13:03:00.599  Remote SDP is set for legC:432.1
    13:03:00.599  [CM505001]: Ext.301: Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA941-5.1.8] PBX contact: [sip:301@192.168.0.253:5060]
    13:03:00.599  [CM503001]: Call(432): Incoming call from Ext.301 to "Moretti - Casa"<sip:299@192.168.0.253:5060>
    13:03:00.599  [CM500002]: Info on incoming INVITE:
      INVITE sip:299@192.168.0.253:5060 SIP/2.0
      Via: SIP/2.0/UDP 192.168.0.241:5060;branch=z9hG4bK-69152c0
      Max-Forwards: 70
      Contact: "Moretti Gianluca"<sip:301@192.168.0.241:5060>
      To: "Moretti - Casa"<sip:299@192.168.0.253:5060>
      From: "Moretti Gianluca"<sip:301@192.168.0.253:5060>;tag=d3d1cd42cda8f058o0
      Call-ID: 9bb0770a-9cc11130@192.168.0.241
      CSeq: 102 INVITE
      Expires: 240
      Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
      Proxy-Authorization: Digest username="301",realm="3CXPhoneSystem",nonce="414d535c01a2d57428:fdbd98d7fc3ed4956356a2df69b733da",uri="sip:299@192.168.0.253:5060",algorithm=MD5,response="68850f0e999c656b1f56df0f6ef71072"
      Supported: replaces
      User-Agent: Linksys/SPA941-5.1.8
      Content-Length: 0
      
    13:02:40.273  [CM504001]: Ext.299: new contact is registered. Contact(s): [sip:299@93.40.131.207:5060/299]
    
    where is the problem? i limited the codec on the siemens at only a/u law codecs, removing all the others... i don't where i can search for the problem...
    thank you for help!
     
  2. SY

    SY Well-Known Member
    3CX Support

    Joined:
    Jan 26, 2007
    Messages:
    1,825
    Likes Received:
    2
    There are two audio streams. One from remote phone to PBX and another is from PBX to remote phone.
    Which of audio streams doesn't reach destination?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. g.moretti

    Joined:
    Dec 11, 2009
    Messages:
    7
    Likes Received:
    0
    both them doesn't reach the destination..
     
  4. SY

    SY Well-Known Member
    3CX Support

    Joined:
    Jan 26, 2007
    Messages:
    1,825
    Likes Received:
    2
    93.40.131.207:9000 - Is it the adress provided by your phone?


    about extAddr=89.119.144.46:57271 localAddr=89.119.144.46:57271

    89.119.144.46 - is it the one of the addresses assigned to PBX host?
    57271 - is it the port from the range configured for PBX as the port for external media receivers?

    Sorry for "cryptic" kind of questions :)

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. g.moretti

    Joined:
    Dec 11, 2009
    Messages:
    7
    Likes Received:
    0
    hi, thanks for help and sorry for delay replying, i'll try to answer all your questions...

    93.40.131.207 is the public ip for my remote extension, internal ip is 192.168.1.102, i configured this ip in dmz with router so to have no firewall blocking issue

    89.119.144.46 is the public ip for my 3cx server, internal ip is 192.168.0.253, on router i made a napt rule forwarding all request from 89.119.144.46 to the 3cx server and the 3cx server exit from my lan with this is (http://www.whatsmyipaddress.com gives this as public ip)

    57271 - actually the port range is for external call is 9000 - 9049, but i tried to configure both on siemens and 3cx the random port usage for rtp... i tried just now disabling this option but no luck :(
     
  6. Nick Galea

    Nick Galea Site Admin

    Joined:
    Jun 6, 2006
    Messages:
    1,889
    Likes Received:
    190
    One way audio = firewall problems. Try using the tunnel....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. andymars

    Joined:
    Jan 12, 2010
    Messages:
    47
    Likes Received:
    0
    actually the tunnel solved alot of problems for me, our whole phone system is basically remote extensions (offices and home workers).

    without the tunnel i hit no end of problems with NAT on routers (dont bother trying with BTHomeHub), double NAT (behind a router behind another router) and in one case the ISP was the problem. install tunnel software on a server or any machine thats going to be static, then point your phone at the tunnel :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. kidtroopa

    Joined:
    Nov 25, 2007
    Messages:
    12
    Likes Received:
    0
    I have "sort of" the same problem. I am using a combination of Linksys SPA962's phones and a cordless phone connected to a WRTP54G router all on the same local network as the 3CX test server I've stood up...running Version 8.

    The SPA962's and the WRTP54G are successfully registering as extensions with 3CX. The 962's work flawlessly......however....the WRTP54G.....even though it's on the local network (gateway router for the LAN)...it's registering with the 3CX server with it's PUBLIC IP address instead of it's local IP address. I guess that's how Linksys configured the Voice ports on the router to do.

    Anyways.....the cordless phone connected to the WRTP54G rings when a call is placed to that extension...however, no audio is heard when you answer it. I can place calls from the phone as well....but no audio as well. I think the problem is because 3CX is seeing it as an external/remote extension based on IP's. In version 8...I don't see the "set extension as external" option that was around in previous versions.

    Just to eliminate the possibility of a hardware problem with my cordless phone.....I setup the WRTP54G to connect directly to my VOIP provider bypassing 3CX....and it works just fine.

    Anyone have any ideas on how I can fix this issue?
     
  9. g.moretti

    Joined:
    Dec 11, 2009
    Messages:
    7
    Likes Received:
    0
    yesterday i tried attaching the phone directly to the isp router, so to have a direct ip deleting 1 nat rule but no changes...

    i would love using a tunnel but my isp block them so i can't make one using my netgear prosafe firewall... i can use hamach that use ssh tunnel (didn't supported from the netgear) but i would have to keep a pc always on to make the tunnel stable and making a connection site to site...

    i'll try today or tomorrow to bring up back a trixbox installation here in office using a different public ip with exactly same config and try if with trixbox it works from home...
     
  10. kidtroopa

    Joined:
    Nov 25, 2007
    Messages:
    12
    Likes Received:
    0
    Okay..... I have found a solution to my problem. It's not what I would've liked....but it works.

    I took a spare Linksys WRT54GS I had sitting around and set it up as my main router for my LAN connecting it directly to my cable modem. I then took the WRTP54G (no longer the main router) that my cordless phone is plugged into and daisy chained it to the WRT54GS so that the WAN IP is now one from the local network. The cordless phone registers successfully with 3CX with a LAN IP vs a public side IP address as before and audio is working just fine.

    Not the greatest fix.....but hey....it's working :) Hope that helps someone else.
     
  11. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,368
    Likes Received:
    228
    Yup, you would have problems with the phone ports built into a router that 3Cx was behind. Most, if not all routers with built in VoIP are designed to be used with a VoIP provider that is located on the outside of the router. You were trying to use it with one located on the inside. If the STUN option were even available, and why would it be as the routers WAN port is meant to have a public IP, there could still be problems as the VoIP lines would have the same public IP as the 3CX board. It gets real messy.

    What you could do, if your ISP allows you to obtain more than one public IP, is....

    Plug a switch (or a hub if you must) into your modem, then run each router to the switch. Each router will get it's own public IP. Run 3CX behind the WRT54GS that you have set up with a DYNDNS service, assuming you have dynamic and not fixed IP's.
    Then configure the lines on the WRTP54G to point to the address of the WRT54GS. You would then essentially be setting up two "remote" extensions. This sort of setup is useful in doing testing of any 3CX remote extensions/trunks.
     
  12. zunedg

    Joined:
    May 30, 2012
    Messages:
    1
    Likes Received:
    0
    I have a 3cx server and want to connect an external extension 3cx to my server, the server is connected to public ip, could authenticate the extension to the external server, but when I call for an extension to another extension, and answering calls so that the voice is not work.

    Unlockable might need some doors?

    if so, send ports and the type of protocol that uses the same ports that is tcp or udp
     
Thread Status:
Not open for further replies.