Add an outbond prefix to a specific Extension

Discussion in 'General' started by sigmatelco, Jun 30, 2009.

  1. sigmatelco

    Joined:
    Jun 30, 2009
    Messages:
    2
    Likes Received:
    0
    Hi,
    may be this is not the right place for this question but sustancially i am a newbe.

    The problem is to make a call from a specific elastix extension (a Nokia E65 registered via Wireless locally) that can be reached as extension when it register to elastix.
    But when we try to make a call from the phone address book it compose the number without put the 0 (That chose the right trunk).
    The goal is to leave untouched address book, so when the phone is out of office can still use the normal dial sequence with his gsm carrier, and when is into wireless coverage area, the extension make the call adding a zero to the dialed number.

    Can anyone help me ?



    Max

    p.s. exuse me for my english
     
  2. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
    In the pbx menu, go to your nokia extension and change the context from from-internal to from-nokia

    Go in the pbx menu, tool submenu and edit the file extensions_custom.conf

    At the end of this file add the following

    [from-nokia]
    exten => _X.,1,Noop(Add 0 to the number)
    exten => _X.,n,Goto(from-internal,0${EXTEN},1)
    exten => h,1,Hangup()

    save and reload
     
  3. sigmatelco

    Joined:
    Jun 30, 2009
    Messages:
    2
    Likes Received:
    0
    Tryed, worked fine !!

    Great Work Man !!

    Tks a lot.



    Experience is the best Teacher "WuTang Clan"
     

Share This Page