Results 1 to 10 of 31

Thread: Asterisk Setup for noob...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2011
    Posts
    2

    Default Re: Asterisk Setup for noob...

    Zevin,

    I'm now where you were a while ago and I can't seem to get inbound calls setup properly. I have setup an inbound route that will ring all phones (call group 600) and I've tried numerous settings in the Incoming Settings in the SIP Trunk settings section. Outbound calls work fine.

    Will someone with a working freePBX setup please post their inbound settings so I can compare what I have with what others have?

    I know the server is getting the calls but depending on how I have the inbound settings configured, I either get what sounds like dead air (no ring, no voice, nothing) or I get the recorded
    attendant telling me the number I have dialed is not in service.

    Here are my current User Details: (note: I have User Context set to my VOIPo number)
    Code:
    type=peer
    secret=XXXXXXXXX
    qualify=yes
    insecure=very
    host=sip.voipwelcome.com
    disallow=all
    allow=ulaw
    Here is a log of one of the recent attempts:
    Code:
    [Oct 26 11:50:45] VERBOSE[2895] logger.c: == Using SIP RTP TOS bits 184
    [Oct 26 11:50:45] VERBOSE[2895] logger.c: == Using SIP RTP CoS mark 5
    [Oct 26 11:50:45] VERBOSE[2895] logger.c: == Using SIP VRTP TOS bits 136
    [Oct 26 11:50:45] VERBOSE[2895] logger.c: == Using SIP VRTP CoS mark 6
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Executing [3853515383@from-sip-external:1] NoOp("SIP/VOIPo-0000005f", "Received incoming SIP connection from unknown peer to 3853515383") in new stack
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Executing [3853515383@from-sip-external:2] Set("SIP/VOIPo-0000005f", "DID=3853515383") in new stack
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Executing [3853515383@from-sip-external:3] Goto("SIP/VOIPo-0000005f", "s,1") in new stack
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Goto (from-sip-external,s,1)
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:1] GotoIf("SIP/VOIPo-0000005f", "0?from-trunk,3853515383,1") in new stack
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:2] Set("SIP/VOIPo-0000005f", "TIMEOUT(absolute)=15") in new stack
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: Channel will hangup at 2011-10-26 11:51:00.000 PDT.
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:3] Answer("SIP/VOIPo-0000005f", "") in new stack
    [Oct 26 11:50:45] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:4] Wait("SIP/VOIPo-0000005f", "2") in new stack
    [Oct 26 11:50:47] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:5] Playback("SIP/VOIPo-0000005f", "ss-noservice") in new stack
    [Oct 26 11:50:47] VERBOSE[15415] logger.c: -- <SIP/VOIPo-0000005f> Playing 'ss-noservice.gsm' (language 'en')
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:6] PlayTones("SIP/VOIPo-0000005f", "congestion") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:7] Congestion("SIP/VOIPo-0000005f", "5") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: == Spawn extension (from-sip-external, s, 7) exited non-zero on 'SIP/VOIPo-0000005f'
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [h@from-sip-external:1] NoOp("SIP/VOIPo-0000005f", "Hangup") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [h@from-sip-external:2] Set("SIP/VOIPo-0000005f", "DID=s") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [h@from-sip-external:3] Goto("SIP/VOIPo-0000005f", "s,1") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Goto (from-sip-external,s,1)
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:1] GotoIf("SIP/VOIPo-0000005f", "0?from-trunk,s,1") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:2] Set("SIP/VOIPo-0000005f", "TIMEOUT(absolute)=15") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: Channel will hangup at 2011-10-26 11:51:08.000 PDT.
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: -- Executing [s@from-sip-external:3] Answer("SIP/VOIPo-0000005f", "") in new stack
    [Oct 26 11:50:53] VERBOSE[15415] logger.c: == Spawn extension (from-sip-external, s, 3) exited non-zero on 'SIP/VOIPo-0000005f'

  2. #2
    Join Date
    Oct 2011
    Posts
    2

    Default Re: Asterisk Setup for noob...

    So, after much research, I was able to find the proper trunk config setting that would work with VOIPo. You can find them in this thread: http://forums.voipo.com/showthread.p...isk-Help/page2

    It turns out that the way VOIPo is setup. The incoming settings (USER context and USER details) aren't even used since they expect users to be using a VOIP adapter therefore you have to establish the context in the PEER details section. In case the above thread disappears for some reason. Here are the settings that worked for me (put these in the PEER Details):

    Code:
    username=38XXXXXXX
    type=peer
    session-timers=accept
    session-refresher=uac
    secret=XXXX(Put your SIP password here)XXXXX
    rfc2833compensate=yes
    qualify=5000
    nat=no
    insecure=port,invite
    host=sip.voipwelcome.com
    dtmfmode=auto
    disallow=all
    context=from-trunk
    canreinvite=no
    allow=ulaw

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •