Hi, I have a server with 2 TE110P cards. 1 card is plugged to telco line, another card is plugged with a Hicom PBX. 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) [callcenter] exten => 100,1,Answer exten => 100,2,SetMusicOnHold(default) exten => 100,3,DigitTimeout,5 exten => 100,4,SetVar(QUEUE_PRIO=5) exten => 100,5,Background(welcome) exten => 100,6,Queue(hotline) ;VoIP Phones exten => 101,1,Answer exten => 101,2,SetMusicOnHold(default) exten => 101,3,DigitTimeout,5 exten => 101,4,SetVar(QUEUE_PRIO=10) exten => 101,5,Background(welcome_privilege) exten => 101,6,Queue(hotline) ; VoIP Phones [go_to_pbx] HERE I DON'T KNOWN HOW TO DIAL MY HICOM PBX :( AND SEND THE GOOD DIALED NUMBER.... ================================ Someone can help me please? Thanks
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
You should have set up the two cards as zaptel as a different group in the zapata.conf. Then if you want to dial your pbx you are dialing out of Asterisk, so you use the Dial command. Assuming that the PBX PRI link is in group 2 in zapata.conf Something like: exten => 6666,1,Dial(Zap/g2/${EXTEN}) Is what you want if you are dialing extension 6666 on your hard PBX. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jeremy SALMON Sent: Saturday, March 19, 2005 1:16 PM To: Liste User Asterisk Subject: [Asterisk-Users] Goto and E1 line Hi, I have a server with 2 TE110P cards. 1 card is plugged to telco line, another card is plugged with a Hicom PBX. 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) [callcenter] exten => 100,1,Answer exten => 100,2,SetMusicOnHold(default) exten => 100,3,DigitTimeout,5 exten => 100,4,SetVar(QUEUE_PRIO=5) exten => 100,5,Background(welcome) exten => 100,6,Queue(hotline) ;VoIP Phones exten => 101,1,Answer exten => 101,2,SetMusicOnHold(default) exten => 101,3,DigitTimeout,5 exten => 101,4,SetVar(QUEUE_PRIO=10) exten => 101,5,Background(welcome_privilege) exten => 101,6,Queue(hotline) ; VoIP Phones [go_to_pbx] HERE I DON'T KNOWN HOW TO DIAL MY HICOM PBX :( AND SEND THE GOOD DIALED NUMBER.... ================================ Someone can help me please? Thanks _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users