Results 1 to 3 of 3

Thread: make call from asterisk to epygi

  1. #1

    Default

    I want make calls from my exts asterisk to epygi gateway E1/T1(PSTN)

    I recive call from PSTN to my epygi without problems with a call routing but i need make a calls from my asterisk across epigy to PSTN.





  2. #2

    Default

    On asterisk's extensions.conf we added the rule below to route all calls starting with 9 to the E1 gw,

    exten => _9.,1,Answer()
    exten => _9.,2,Dial(sip/${EXTEN}@10.2.2.25)
    exten => _9.,3,Hungup()

    where "10.2.2.25" is the E1 gw IP address and ${EXTEN} is a variable that will take the number dialed.

    On the E1 gw, we have simply put a rule "9*" with NDS = 1 and the calltype=E1/T1.

    Hope this helps


    Edited by: victordsl

  3. #3

    Default


    Quote Originally Posted by victordsl
    On asterisk's extensions.conf we added the rule below to route all calls starting with 9 to the E1 gw,

    exten => _9.,1,Answer()
    exten => _9.,2,Dial(sip/${EXTEN}@10.2.2.25)
    exten => _9.,3,Hungup()

    where "10.2.2.25" is the E1 gw IP address and ${EXTEN} is a variable that will take the number dialed.

    On the E1 gw, we have simply put a rule "9*" with NDS = 1 and the calltype=E1/T1.

    Hope this helps

    I think if you add a few entries and an extra line in there as follows :


    exten => _9.,1,Dial(SIP/${EXTEN}@gatewayipaddress);Epygi gateway
    exten => _9.,2,Dial(Zap/g1/${EXTEN});Asterisk fail over trunk group
    exten => _9.,3,Congestion;offer busy if all routes are unavailable
    exten => _9.,102,Busy; not really needed because of the congestion rule but just in case...

    You can even basically send the dialled digits direct to the epygi and either let it strip the leading digit(s) off or do a strip of the digit before it gets sent to that route... totally up to you...

    Regards

    Kevin



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. asterisk as client to quadro
    By tomcameron in forum 'How Do I' Questions
    Replies: 5
    Last Post: 11-02-2007, 03:47 PM
  2. Make calls from Outlook via TAPI
    By oltconsulting in forum 'How Do I' Questions
    Replies: 8
    Last Post: 01-15-2007, 03:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •