Issues with Proxy

Discussion in '3CX Phone System - General' started by eclipse2000, Jan 29, 2012.

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

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    Hi,

    I currently have a working 3cx system and local phones work excellent.
    Im having to setup a remote office which is going to run 4 phones, i have tried loads of things to get them working but so far i have had no joy so this afternoon i tried using the Sip Proxy manager.
    Straight away i setup one of our Cisco phones and i could make a call from the phone in the remote office fine and audio worked both ways, i then tried to make a call from the main network to the remote phone network and all it kept saying was CANCELLED and then it hung up.

    Has anyone seen this and have any idea's.

    Thanks
     
  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,362
    Likes Received:
    227
    A few questions...
    What type of router is the proxy manager behind?
    Are you using the tunnel?
    Does a single set, from the same location (no proxy manager), work?
    What does the 3CX log show, for a failed call? Does it indicate why it failed?
    Is STUN working properly on the Proxy Server?
     
  3. eclipse2000

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    Thanks for your reply,
    What type of router is the proxy manager behind? We use Cisco 1801 routers
    Are you using the tunnel? Yes this was the only way we managed to get the service to work in anyway using the tunnel proxy manager
    Does a single set, from the same location (no proxy manager), work? So far i have never managed to get this working, it connects but always showed NO RTP PACKETS RECEIVED in the logs
    What does the 3CX log show, for a failed call? Does it indicate why it failed? Im not too sure on the time we tried this therefore i cant really display the logs but i saw a few logs showing "400 Bad Request"
    Is STUN working properly on the Proxy Server? I wasnt aware that STUN was needed using the Proxy Server manager

    Hope that helps.

    Cheers
    Paul
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,362
    Likes Received:
    227
    I would suspect that a port(s) is/are not open (forwared) on the router at the 3CX PBX end. Either that or a firewall issue at the same end.
    Tunnel uses port 5090, so it must be forwarded, in your router, to the private IP of the PC/server running the PBX.
     
  5. eclipse2000

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    I have just checked this and its showing open in the router and firewall. I have also just done a test at http://www.ping.eu/port-chk/ and this is showing open using the external ip and port.

    Thanks
     
  6. eclipse2000

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    Post from our logs,
    10.120.xx.xx been our 3cx main installation and 192.168.x.xx been the remote phone at the remote location.


    10:03:55.976 [CM503008]: Call(25): Call is terminated
    10:03:52.679 [CM503007]: Call(25): Device joined: sip:EndCall@127.0.0.1:40600;rinstance=5b1d235f523bacc7
    10:03:52.679 [CM503007]: Call(25): Device joined: sip:302@31.80.xxx.xxx:5060;ob
    10:03:52.679 [CM503002]: Call(25): Alerting sip:EndCall@127.0.0.1:40600;rinstance=5b1d235f523bacc7
    10:03:52.570 [CM503025]: Call(25): Calling Unknown:Ext.EndCall@[Dev:sip:EndCall@127.0.0.1:40600;rinstance=5b1d235f523bacc7]
    10:03:52.554 [CM503016]: Call(25): Attempt to reach <sip:303@10.120.xx.xx:5060> failed. Reason: Not Acceptable HereReason Unknown
    10:03:52.554 [CM503003]: Call(25): Call to sip:303@10.120.21.15 has failed; Cause: 400 Bad Request; warning: ; from IP:127.0.0.1:5080
    10:03:52.054 [CM503025]: Call(25): Calling Ext:Ext.303@[Dev:sip:303@192.168.x.xx:5060;transport=udp]
    10:03:52.039 [CM503004]: Call(25): Route 1: Ext:Ext.303@[Dev:sip:303@192.168.x.xx:5060;transport=udp]
    10:03:52.039 [CM503010]: Making route(s) to <sip:303@10.120.xx.xx:5060>
    10:03:52.039 [CM505001]: Ext.302: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone for iPhone 1.1.4] PBX contact: [sip:302@10.120.21.15:5060]
    10:03:52.039 [CM503001]: Call(25): Incoming call from Ext.302 to <sip:303@10.120.xx.xx:5060>
     
  7. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,362
    Likes Received:
    227
    Have you compared all of your settings with this?
    http://www.3cx.com/blog/releases/sip-proxy-manager/
    Has the "Listener Port", 5080, been taken into account at the remote end?
     
  8. eclipse2000

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    Thats the page i followed to set up the system, The Port at the remote end was left as default on the proxy manager and then setup on the cisco phone.
    Outgoing calls from the remote end work fine to extensions and external numbers, its just the other way round so calls from the main office including incomming calls to the remote phone.

    Regards
    Paul
     
  9. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,362
    Likes Received:
    227
    Did you forward port 5080, in the remote router, so that it can reach the Proxy server PC?
     
  10. eclipse2000

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    I tried to forward ports 5080 and 5090 at the remote end to direct WAN traffic to the SIP PC but this didnt work either but looking at the instructions this shouldnt need to be done.
    It says just to forward port 5090 at the PBX end.

    Regards
    Paul
     
  11. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,362
    Likes Received:
    227
    You're correct, there is no mention of router configuration at the remote end. If it is listening on port 5080, it would only make sense to forward that port, in the remote router, to the proxy manager. The problem you are experiencing suggests that no packets are getting through to the remote end.
     
  12. eclipse2000

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    Surely that calls from remote outbound wouldnt work either if that was the case but that way it works perfect.
     
  13. davidbenwell

    davidbenwell Active Member

    Joined:
    Apr 27, 2010
    Messages:
    704
    Likes Received:
    0
    This may be a phone issue.

    the phone being used is a Cisco 7940, the proxy manager was reporting the phone was not connected in the logs.

    you using one of thoses Cisco Routers Paul?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. eclipse2000

    Joined:
    Feb 3, 2011
    Messages:
    31
    Likes Received:
    0
    Yes, although when i was testing yesterday it was connected through a BT Home Hub.
    The phone works brill on the local network both ways and works outbound from the remote, seems strange i have got this far with it and that it could be a phone issue.

    Regards
    Paul
     
Thread Status:
Not open for further replies.