Forums  

Go Back   Forums > Quadro IP-PBX Products > 'How Do I' Questions
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 11-06-2007, 12:34 PM   #1
csalcedo
Junior Member
 
Join Date: Oct 2007
Location: Monterrey
Posts: 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.




csalcedo is offline   Reply With Quote
Old 11-10-2007, 05:50 AM   #2
victordsl
Junior Member
 
Join Date: Nov 2007
Posts: 8
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
victordsl is offline   Reply With Quote
Old 11-15-2007, 10:33 PM   #3
KSComs
Senior Member
 
Join Date: Jul 2007
Location: Oakleigh, Victoria
Posts: 1,485
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


KSComs is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
asterisk as client to quadro tomcameron 'How Do I' Questions 5 11-02-2007 09:47 PM
Make calls from Outlook via TAPI oltconsulting 'How Do I' Questions 8 01-15-2007 09:58 AM


All times are GMT +1. The time now is 05:55 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
© Copyright 2013 Epygi Technologies LTD