![]() |
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2007
Location: Monterrey
Posts: 1
|
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 |
|
Junior Member
Join Date: Nov 2007
Posts: 8
|
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 | |
|
Senior Member
Join Date: Jul 2007
Location: Oakleigh, Victoria
Posts: 1,485
|
Quote:
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 |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |