Custom Trunk for call through extention to pstn

Discussion in 'General' started by ccccp, Mar 25, 2011.

  1. ccccp

    Joined:
    Jan 18, 2011
    Messages:
    29
    Likes Received:
    0
    Hi every one
    I got elastix working VERY well for me for few month now and very happy
    Thank you to you all for great work.
    I am trying to do something tricky
    we got pstn in UK connected to FritzBox where extension 200 is regestered
    fritzbox got call through function
    what I'm trying to do isthis
    all calls starting 0044 must go through PSTN
    for example if I like to do it manually I would dial 200 than wait 2sec put pin 0000 then dial 0 and dial uk number (0044)02033344111
    I am not sure what the best way to do that .I was thinking set-up custom trunk and outbound route with prepends 0000 not sure
    Please guide me here I am a quick learner.
     
  2. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    fritzbox are mini pbx do u have it connected with elastix?
     
  3. ccccp

    Joined:
    Jan 18, 2011
    Messages:
    29
    Likes Received:
    0
    not sure
    yes it is mini pbx I don't know how to connect it.
    What I have is elastix sip extension registered on fritzbox
    I looked on the net could not find the way to do it and my life would be much easier with spa3120 but fritzbox it is -((
     
  4. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    as far as i know u cant use the elastix line to use the fritz pstn line the fritzbox u can only use the line to use the elastix and the fall back to pstn but its not a question for this forum but fritzbox
     
  5. ccccp

    Joined:
    Jan 18, 2011
    Messages:
    29
    Likes Received:
    0
    well i know this.
    But i can use call through function to do it,if i can use it manually
    why there is no way to do a macro for it?
    like 0044 prefix use custom trunk where custom dial string
    Local/$OUTNUM$@fritzbox-pstn-custom
    this will dial extention 200 wait 2 sec dial prepends 0000 than 0 for pstn and uk number with out 0044
    I think it is possible I have not got enough knowledge to set up.
    Please correct me if I'm wrong.
     
  6. ccccp

    Joined:
    Jan 18, 2011
    Messages:
    29
    Likes Received:
    0
    can u comment on this please
    http://translate.google.com/translate?u ... ISO-8859-1

    [intern]
    ...interne Rufnummern etc...
    exten => _X.,1,NoOp(Callthrough fritzbox)
    exten => _X.,2,Dial(SIP/fbox1,,D(43210${EXTEN}:))
    exten => _X.,103,Hangup

    [incomingsipgate]
    exten => h,1,Hangup
    ; if callerID match, then prio 2, else prio 4 (just with ?2:4 )
    exten => 111222,1,GotoIf($[${CALLERIDNUM} = 017912345]?calltrough:phone1)
    exten => 111222,2(calltrough),Dial(SIP/fbox1,,D(4321:))
    exten => 111222,3,Hangup
    exten => 111222,4(phone1),Dial(SIP/fbox2,${ANSWER_TIMEOUT},tr)
    exten => 111222,105,Hangup
     
  7. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:Custom Trunk for call through extention to pstn

    it seems that now they have managed to make redirections via the sip client...but u must modify those options to adapt to freepbx via manual programming in extensions_custom for example (one in many options)
     
  8. ccccp

    Joined:
    Jan 18, 2011
    Messages:
    29
    Likes Received:
    0
    Re: Re:Custom Trunk for call through extention to pstn

    Does this mean I need to nano extensions_custom.conf and put this option in ?
    after that make custom trunk with dial string pointed at intern?
    Please if you may point a bit more to the right direction.
    Thanks in advance
     
  9. fmvillares

    Joined:
    Sep 8, 2007
    Messages:
    1,785
    Likes Received:
    0
    Re: Re:Custom Trunk for call through extention to pstn

    yeap but the custom dial need to point to the extension that u have already in fritxobxand u will be treating a Sip extension like a trunk ..also
    so its better to program all by hand in extensios custom and make a custom context to the extension ...
     
  10. ccccp

    Joined:
    Jan 18, 2011
    Messages:
    29
    Likes Received:
    0
    Re: Re:Custom Trunk for call through extention to pstn

    well even after all your comment I still don't know exactly what to do.
    I know that help here is voluntary but what the point to start helping when you don't really want too?


    Left me where I started sorry.
     

Share This Page