Viewing 3 posts - 1 through 3 (of 3 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #5779 |

    I’ve got my outgoing SIP calls working as desired. However, I’m not getting any inbound calls. FreePBX is set as follows:
    (Outgoing Settings):
    Trunk Name:
    WILINE-01
    Peer Details:
    host=xx.xx.xxx.xxx
    username=yyyyyyy-yyyyyyyy-01-0
    secret=zzzzzzzz
    type=peer
    context=vdp-inbound — note: I had to put the inbound context here to get it into the VDP Context field.
    (Incomming Settings):
    User Context:
    dial-in
    User Details:
    host=xx.xx.xxx.xxx
    secret=zzzzzzzz
    type=user
    context=vdp-inbound

    The first thing in vdp-inbound is a “Start Extension” followed by an “Edit Log”. When calling the number that comes to Asterisk, I see “Using SIP RTP TOS bits 182” followed by “Using SIP RTP Cos mark 5” but the call never goes anywhere and hangs up after a few seconds. Any ideas as to what I’m missing?

    Thanks

    Migrated from old forum
    Participant
    Post count: 327
    #5780 |

    Jim,

    The context should be started with Extension, not Start extension block.
    You can use ‘catch all’ extension (“_.”) to override all inbound or outbound calling rules in Free PBX or specific extensions (56781 or any other) to handle only those specific extensions

    Also, there is no need to set:
    context=vdp-inbound
    Just leave it as it is by default.
    BTW, the outgoing calls will be handled by the contex set in this field, not incoming calls.

    Visual Dialplan hooks code defined in vdp-outboung and vdp-inbound at appropriate places (designed for this) inside Free PBX.
    There is no need for you to make modifications like you did.
    Simply follow context structure defined in VDP and all will work just fine.

    Make sure to read this article:
    http://www.apstel.com/visual-dialplan-tutorials/how-to-work-with-elastix-etc/
    It is the best article I read about this.
    You will get it all once you read this.

    Best,
    Mark.

    • This reply was modified 10 years, 6 months ago by  admin.
    Migrated from old forum
    Participant
    Post count: 327
    #5781 |

    The problem was actually a FreePBX issue (SIP values). I did a google search and found that adding insecure=port,invite to the outging section caused the incomming to work. I had read ‘Visual Dialplan and FreePBX’ and any modifications made were all done in FreePBX. Using Start extension was because I had copied one of the contexts from another Dialplan and it used Start Extension. All is well now and I’m on my way.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.