[Asterisk-Users] Asterisk Between PBX and FXS
Fernando Lujan
fernando.lujan at mandic.com.br
Wed Mar 29 20:43:34 MST 2006
Thanks for your reply Alyed.
Actually, this behavior exists in the PBX. I need to make asterisk works like
a fxs that will receive the calls, and then route them in two diferents SIP.
Using your example:
I call to the extension 100 or extension 101. This will be routed to
asterisk. Inside a dialplan, how could I know if the incomming call was to
100 ou 101?
---- Mensagem Original ----
From: "Alyed Tzompa" <alyed.tzompa at simitel.com>
To: asterisk-users at lists.digium.com, fernando.lujan at mandic.com.br
Sent: Qua, Março 29, 2006 10:12 pm
Subject: re: [Asterisk-Users] Asterisk Between PBX and FXS
As I understand this, it's a problem of redirecting the call to the same
FXS channel.
To replicate this behaviour in the Asterisk you could try the following in
the extensions.conf:
(suppose your FXS channel is group 1 in zapata.conf)
exten => 100,1,Dial(Zap/g1/${EXTEN},20)
exten => 100,1,Hangup
exten => 200,1,Dial(Zap/g1/${EXTEN},20)
exten => 200,1,Hangup
Then you'll end up with 2 extensions using the same FXS channel (of course
not at the same time).
Hope this is what you are looking for.
Alyed
----------------------------------------
Return-Path: <asterisk-users-bounces at lists.digium.com> Wed Mar 29 15:42:30
2006
Received: from digium-69-16-138-164.phx1.puregig.net [69.16.138.164] by
mail11.webcontrolcenter.com with SMTP;
Wed, 29 Mar 2006 15:42:30 -0700
Received: from digium-69-16-138-164.phx1.puregig.net (localhost [127.0.0.1])
by lists.digium.com (Postfix) with ESMTP id 347B3C322;
Wed, 29 Mar 2006 15:38:29 -0700 (MST)
Hi guys,
I'm setting up asterisk to run with another pbx server. This pbx server
support a feature that allows 2 extensions connect to the same FXS. No I put
asterisk in the middle.
Asterisk receives the call and dial to a SIP/peer.
How the pbx installed support 2 extensions to one fxs... How can I figure
out
in asterisk which extension was dialed before the call came to asterisk?
Does asterisk receive this information in some variable?
${BRIDGEPEER}
${CALLERID(dndi)}
${BLINDTRANSFER}
${BLINDTRANSFER}
I tried the above variables without success.
Thanks in advance.
Fernando Lujan
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list