Using 3CX using for our mobile users

Discussion in '3CX Phone System - General' started by rllaneis, Jun 25, 2009.

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

    Joined:
    Jun 25, 2009
    Messages:
    7
    Likes Received:
    0
    Hi All,

    We are trying to make our 3CX server (7.1.6391.) accesible outside the office for our mobile like users. We are thinking to use Fring in general to connect to our server and we encounter a bit of trouble after it subscribe.

    First the environment, to explain the setup

    1.) i created a dns entry name 3cx.<ourcompany>.com to point to the public ip of our 3cx server
    2.) the public ip is initially pointed to our firewall (netgear fvs124g) which routes it to our wifir router (edimax br-6114wg) - to prevent any issues i have initially enabled all inbound and outbound ports to this route.
    3.) the wifi router then port fortwards this to our 3cx server - ports 1-65535 are all forwarded to prevent any port blocking for the meantime

    now for the testing

    1.) using nokia e63 - uses builtin sip app or fring app

    1.1.) builtin sip app - after following the 3cx faq guide on nokia phones - this successfully registered when inside office wifi and we are able to make and receive calls through it.

    1.2.) fring app - configured it and it successfully subscribed but when we tried to do a test call the call terminates, also it can received calls but when the phone is answered we hear nothing, and the caller on the other end hears a "music on hold" sound.

    1.3.) we redo the test on builtin sip app over 3g this time and we encounter the same issue as 1.2 - call terminates if trying a call and the caller hears the music on hold sound

    2.) iphone 3g - uses fring app also (as this is a testing we can't make use of the other app provided on itunes as its a paid app) encounter the same issue as 1.2.

    now i'm bewildered why it happens, it seems to be a 3cx issue or i am missing something to make it work. i was under the initial impression that it could be a firewall issue, but after opening all ports and the firewall checker showing no issues i need to look into our 3cx system.

    the only additional i can provide is this info from 3cx server status when doing the test:

    caller 5278 calls 1587 (1587 answers the call on fring but hearing nothing drops the call, 5278 hearing a music on hold sound also drops the call)

    13:23:45.921 [CM503008]: Call(106): Call is terminated
    13:23:45.921 [CM503008]: Call(106): Call is terminated
    13:23:27.811 [CM503007]: Call(106): Device joined: sip:1587@166.69.102:52813;transport=udp
    13:23:27.796 [CM503007]: Call(106): Device joined: sip:5278@10.0.0.53:5060
    13:23:27.796 [CM505001]: Ext.1587: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [fring] Transport: [sip:10.0.0.19:5060]
    13:23:27.765 [CM503002]: Call(106): Alerting sip:1587@166.69.102:52813;transport=udp
    13:23:21.530 [CM503004]: Call(106): Calling: Ext:Ext.1587@[Dev:sip:1587@166.69.102:52813;transport=udp]
    13:23:21.530 [CM503010]: Making route(s) to <sip:1587@10.0.0.19>
    13:23:21.530 [CM505001]: Ext.5278: Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA922-6.1.3(a)] Transport: [sip:10.0.0.19:5060]
    13:23:21.499 [CM503001]: Call(106): Incoming call from Ext.5278 to <sip:1587@10.0.0.19>
    13:23:00.514 [CM504001]: Ext.1587: new contact is registered. Contact(s): [sip:1587@166.69.102:52813;transport=udp/1587]

    1587 tries to call back 5278 using fring but call terminates after dialling it

    13:24:22.407 [CM503008]: Call(107): Call is terminated
    13:24:22.407 [CM502001]: Source info: From: <sip:1587@166.69.102>;tag=5583cc9bc0fe18108d31962a6f88308d<sip:5278@3cx.rllaneis.com>
    13:24:22.407 [CM503013]: Call(107): Incoming call rejected, caller is unknown; msg=SipReq: INVITE 5278@3cx.rllaneis.com tid=f458cd9bc0fe18108d31962a6f88308d cseq=INVITE contact=1587@166.69.102:52813 / 4712 from(wire)
    13:24:21.875 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
    INVITE sip:5278@3cx.rllaneis.com SIP/2.0
    Via: SIP/2.0/UDP 166.69.102:52813;branch=z9hG4bK5583cc9bc0fe18108d30962a6f88308d;rport=52813;iid=2
    Max-Forwards: 70
    Contact: <sip:1587@166.69.102:52813>
    To: <sip:5278@3cx.rllaneis.com>
    From: <sip:1587@166.69.102>;tag=5583cc9bc0fe18108d31962a6f88308d
    Call-ID: 3a7dcc9b-c0fe-1810-8a19-962a6f88308d
    CSeq: 4711 INVITE
    User-Agent: fring
    Content-Length: 0
    13:24:21.875 [CM302001]: Authorization system can not identify source of: SipReq: INVITE 5278@3cx.rllaneis.com tid=5583cc9bc0fe18108d30962a6f88308d cseq=INVITE contact=1587@166.69.102:52813 / 4711 from(wire)

    For your checking, advise and feedback on how can i make it work
     
  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,868
    Likes Received:
    304
    I tried Fring, decided against it because of their privacy policy, but other than some drop outs, calls worked. It might help if you left the last digits of the local IP's , or just left them whole (we all know they will be 192.168.X.XX) but the last digits helps to identify the device on you network,and thus troubleshoot.

    Instead of just opening all ports, have you tried forwarding only the ones required to 3CX. I had some problems once even though I had 3CX in the DMZ.
     
  3. Nick Galea

    Nick Galea Site Admin

    Joined:
    Jun 6, 2006
    Messages:
    1,939
    Likes Received:
    250
    I recommend using Nokia E65 or e 71 phones and use the built in SIP phone....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. aesteve

    aesteve New Member

    Joined:
    Sep 20, 2008
    Messages:
    136
    Likes Received:
    0
    Hi,

    i have the HTC Diamond and works fine with Fring.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rllaneis

    Joined:
    Jun 25, 2009
    Messages:
    7
    Likes Received:
    0
    Hi I have unmasked the XXX upon after changing some values

    Well if I will only forward the ports, which should I only forward?
     
  6. rllaneis

    Joined:
    Jun 25, 2009
    Messages:
    7
    Likes Received:
    0
    Well we only have E63 users and iPhone users here :(

    I need to make sure first things actually work before we can actually implement it.
     
  7. rllaneis

    Joined:
    Jun 25, 2009
    Messages:
    7
    Likes Received:
    0
    May I know how you published it to the web? Maybe I am missing something
     
  8. rllaneis

    Joined:
    Jun 25, 2009
    Messages:
    7
    Likes Received:
    0
    Also as additional question. Why is the caller hearing a music on hold sound? This puzzles me :?:
     
  9. arvine

    Joined:
    Jun 26, 2009
    Messages:
    10
    Likes Received:
    0
    Hi, may i ask how did you published it to the web? thanks
     
  10. jimmyC

    Joined:
    Mar 27, 2009
    Messages:
    11
    Likes Received:
    0
    I have Iphone with fring work fine.

    Public ip -> 5060 to 3cx server.

    Fring is configured with my public ip on proxy option.
     
  11. arvine

    Joined:
    Jun 26, 2009
    Messages:
    10
    Likes Received:
    0
    @jimmyC

    uhm, may i ask how did you published it to the web? thanks
     
  12. aesteve

    aesteve New Member

    Joined:
    Sep 20, 2008
    Messages:
    136
    Likes Received:
    0
    Hi arvine, rllaneis,

    do you have a user and password of a VoIp provider ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. aesteve

    aesteve New Member

    Joined:
    Sep 20, 2008
    Messages:
    136
    Likes Received:
    0
    The problem with Fring is the HTC´s battery. All other things work´s fine. Internal calls, external calls, etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. arvine

    Joined:
    Jun 26, 2009
    Messages:
    10
    Likes Received:
    0
    uhm, is rllaneis missing something? can you give me ideas why FRing doesnt work? thanks
     
  15. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,868
    Likes Received:
    304
    Well if I will only forward the ports, which should I only forward?If you look in the 3cx manual, it gives a list of all ports that are required to be open (forwarded in a router) depending upon the external services you are planning to use.
     
  16. rllaneis

    Joined:
    Jun 25, 2009
    Messages:
    7
    Likes Received:
    0
    i have read the manual and it has no specifics on my intended scenario. The one provided is I have an intention to use a VoIP Provider which is not the case here. I want to connect to our 3cx using Fring. I initially allowed only the ones mention there, but after thinking it might be a firewall issue, I open up all ports.

    My goal here is to get it working first then I'll drill down with security.
     
  17. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,868
    Likes Received:
    304
    I think that on my router i just opened up the ports listed in the manual, 5060, and the 9000 series. If i recall correctly ( because I don't have it in front of me) there was 5090 if you want to use the tunnel. Most of the other ports used for voice are not first attempted from outside the router. and therefore not blocked. I'll have to have a look at mine tonight.
     
  18. arvine

    Joined:
    Jun 26, 2009
    Messages:
    10
    Likes Received:
    0
    what are the additional things rllaneis should do? BTW i am tasked to monitor this thread.. :D
     
  19. charlief

    Joined:
    Aug 30, 2008
    Messages:
    9
    Likes Received:
    0
    Fring will cause all sorts of problems with 3CX when used internally over WiFI because it needs to connect to its own servers. Fring is not SIP. Audio does not pass from the mobile to 3CX across the internal network, but from the mobile, to a Fring server in the US or UK, using a proprietary codec and all the way back again. It is not a practical solution. Try http://www.voip4mobiles.com . Their Nokia solution has been specifically designed for 3CX, has zero latency on internal networks, is genuine G729 (or whatever codec you choose) and works with 3G externally. They will have Android, Windows, and Iphone solutions soon.
     
  20. celenaphenotham

    Joined:
    Oct 1, 2009
    Messages:
    1
    Likes Received:
    0
    Mobile Users

    I'm searching for Business Phone which works on various projects for local and worldwide markets.
     
Thread Status:
Not open for further replies.