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: <[EMAIL PROTECTED]> 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

_______________________________________________
--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

Reply via email to