[Asterisk-Users] Goto and E1 line

Peter Svensson psvasterisk at psv.nu
Sat Mar 19 05:50:36 MST 2005


On Sat, 19 Mar 2005, Jeremy SALMON wrote:

> I have a server with 2 TE110P cards. 1 card is plugged to telco line, 
> another card is plugged with a Hicom PBX.

As a side note (not related to the problem at hand) using two TE110P cards 
is really suboptimal since the clocking is not passed between the two 
cards. You will occasional bit slips occuring as the clock drift approches 
1 ms between the extrnally and the internally clocked card. This is 
probably harmless unless you run data over the connection.

> I want to send some call to VoIP phones and all other to my PBX.
> 
> I don't known how to make my dialplan :
> 
> ===========Extensions.conf==========
> [incoming_call]
> exten => 090200000,1,Goto(callcenter,100,1)
> exten => 022956353,1,Goto(callcenter,100,1)
> exten => 022956388,1,Goto(callcenter,100,1)
> exten => 022956355,1,Goto(callcenter,101,1)
> exten => s,1,Goto(go_to_pbx,200,1)

The 's' extension will only be invoked if there is no called number. This 
sounds unlikely. You probably want to use some sort of wildcard here. Read 
more in the Asterisk documentation. You need to pass ${EXTEN} as the 
extension in the goto or pass it in some other way (as a variable, as an 
argument to a agi script etc).

Peter




More information about the asterisk-users mailing list