Incoming calls with trunk sip

Discussion in 'General' started by isuzupi, Jul 13, 2009.

  1. isuzupi

    Joined:
    Jun 16, 2009
    Messages:
    8
    Likes Received:
    0
    Hellow,

    I have a PBX Asterisk and a SIP trunk to make the external calls.
    With the outgoing calls I have no problem, but I can't make my Asterisk to receive incoming calls.

    the configuration is the next:

    outgoing settings:

    username=1001
    user=1001
    fromdomain=colabora.es
    fromuser=1001
    secret=u1281001
    type=friend
    insecure=very
    host=213.60.204.6
    nat=yes
    canreinvite=no
    dtmfmode=rfc2833
    disallow=all
    allow=all

    incoming settings:

    user context=1001

    username=1001
    user=1001
    fromdomain=colabora.es
    fromuser=1001
    secret=u1281001
    type=user
    insecure=very
    host=213.60.204.6
    nat=yes
    canreinvite=no
    dtmfmode=rfc2833
    disallow=all
    allow=all

    If anyone can help me I'll be very gratefully.
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Try changing

    user context=1001

    to

    context=from-trunk
     

Share This Page