Problem outbound call from 3cx to SPA-3102

Discussion in '3CX Phone System - General' started by npereira, Jun 20, 2009.

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

    Joined:
    Jan 5, 2009
    Messages:
    22
    Likes Received:
    1
    Hi all,

    This is a new setup. Everything is working, I can get inbound call from the SPA-3102 which has a FXO connected to the tel provider. Calls come in and ring where they are suppose to.

    My problem is calling outbound.

    Any extension trying to make an outbound call gets Not Found.
    I went through the docs several times to make sure I did not forget something, and I did not, at least I dont see where.

    under PSTN devices, I have my Linksys SPA-3102 with IP 192.168.1.99 which is the WAN port of that gateway.
    10001 is the auth user and pass as configured in the 3CX and SPA

    In outbound rules I have leading Prefix 8 (wondering if I can set thjis up so I dont have to dial 8 to make an outbound call?!?)
    Calls from Ext 201-204, and calls to numbers with lenght 10,11 digits long (for North America), and strip 1 digit in the route.

    What am I missing?

    Thanks for any help you can provide.

    The logs bellow:


    22:05:32.105 [CM503008]: Call(121): Call is terminated

    22:05:32.090 [CM503015]: Call(121): Attempt to reach <sip:86137330000@192.168.1.2:5060> failed. Reason: Not Found

    22:05:32.074 [CM503003]: Call(121): Call to sip:6137330000@192.168.1.99:5060 has failed; Cause: 404 Not Found; from IP:192.168.1.99:5060

    22:05:32.043 [CM503024]: Call(121): Calling PSTNline:6137330000@(Ln.10001@LinksysFXSFXO)@[Dev:sip:10001@192.168.1.99:5060]

    22:05:32.043 [MS210006] C:121.2:Offer provided. Connection(by pass mode): 192.168.1.101:40000(40001)

    22:05:32.027 [CM503004]: Call(121): Route 1: PSTNline:6137330000@(Ln.10001@LinksysFXSFXO)@[Dev:sip:10001@192.168.1.99:5060]

    22:05:32.012 [CM503010]: Making route(s) to <sip:86137330000@192.168.1.2:5060>

    22:05:32.012 [MS210000] C:121.1:Offer received. RTP connection: 192.168.1.101:40000(40001)

    22:05:31.996 Remote SDP is set for legC:121.1

    22:05:31.996 [CM505001]: Ext.201: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CXVoipPhone;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXVoipPhone 3.1.6288.0] Transport: [sip:192.168.1.2:5060]

    22:05:31.980 [CM503001]: Call(121): Incoming call from Ext.201 to <sip:86137330000@192.168.1.2:5060>

    22:05:31.965 [CM500002]: Info on incoming INVITE:

    INVITE sip:86137330000@192.168.1.2:5060 SIP/2.0

    Via: SIP/2.0/UDP 192.168.1.101:64466;branch=z9hG4bK-d8754z-54275a57a571b242-1---d8754z-;rport=64466

    Max-Forwards: 70

    Contact: <sip:201@192.168.1.101:64466>

    To: <sip:86137330000@192.168.1.2:5060>

    From: "3CX VoIP Phone"<sip:201@192.168.1.2:5060>;tag=d07c374f

    Call-ID: ZDRmODQ2OGEyNTRmMmM0OTMyMTIzYjY1MjA1MTgwY2M.

    CSeq: 2 INVITE

    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO

    Proxy-Authorization: Digest username="201",realm="3CXPhoneSystem",nonce="414d535c004cd4eb59:4e4b5d81eea85ccfa8946010ed5a082c",uri="sip:86137330000@192.168.1.2:5060",response="ed29f6d6969f58c6c729342480cff0d7",algorithm=MD5

    Supported: replaces

    User-Agent: 3CXVoipPhone 3.1.6288.0

    Content-Length: 0
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. discovery1

    discovery1 Member

    Joined:
    Aug 4, 2008
    Messages:
    355
    Likes Received:
    0
    The SPA 3102 needs to be configured for port 5061 in the "PSTN Line" tab - 5060 is for the "Line 1" tab.
    3CX should be configured with the SPA 3102 on port 5061
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. npereira

    Joined:
    Jan 5, 2009
    Messages:
    22
    Likes Received:
    1
    ok, that worked ! Thanks alot !

    The other thing is is it possible that the users not require to dial 8?
    the only dial plan i need is:

    819-xxx-xxxx
    613-xxx-xxxx
    and 1-xxx-xxxxxxx

    everyother should be blocked.

    thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,375
    Likes Received:
    231
    In yor outbound call rules you can set up 3 rules. One for long distance: number starts with 1, 11 digits long, strip nothing, prepend nothing.

    Two rules for local calls: 819 and 613, 10 digits long, stip nothing, prepend nothing. if calls start with anything other than 1,819 or 613,(or local extentions) they will be blocked. You will have to build outbound rulles for 911,411 etc if you want those soer of calls to go through, same for 800,866,888. You also have the ability to set up a dial plan in the FXS part of the 3102 if you are using that as your telephone ATA, have a look at the Linksys manual or search the web for info on how to craft a dialplan for that device.It will "prescreen" any dialed numbers before thet are sent to 3CX.
     
Thread Status:
Not open for further replies.