Trunk with FXS

Discussion in 'General' started by danardf, Oct 26, 2008.

  1. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Hi..

    I already post this problem on Freepbx forum, but i post it here.
    So....

    • I have a GSM gateway, and i haven't another FXO port, but i have one FXS port.
      So, i make an extension with my new account SIP (PAP2 linksys)
      No problem. (register ok), call ok...etc.
      Now i make a custom trunk with custom dial string : SIP/106.

      For the first time, is good ....it's ringing.
      But... but... now, when the gateway answered, how dial the initial number?

      I try to make : SIP/106/$OUTNUM$ ... don't work.

      Can i make this config style?

      Exemple:
      I call the GSM gateway from 100 extension number to 0612345678
      get the trunk SIP/106 by 06xxxxxxxx dial rules
      PAP2 ringing
      Gateway answer.
      dialing 0612345678

    Can you help me?
     
  2. alang

    Joined:
    Mar 19, 2008
    Messages:
    47
    Likes Received:
    0
    Interesting way. Could you describe how do you make the custom trunk?
     
  3. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Yes.

    From Freepbx go to trunk, and add custom trunk.
    And into Custom dial string put: SIP/100 (for exemple).

    But, i see that into optionals dial command, there is a 'D' option.
    D(digit).

    Now, I must try to put :
    SIP/100,D($OUTNUN$)

    This option dial the number (digits) after that the externsion answered!

    See dail to this link voip-info.org....
     

Share This Page