Hey Guys! Anybody have basic and simple call forwarding dialplan ? I search on google and i found many but those are pretty complicated and most are for trixbox and GUI. -S -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110503/d248c6ff/attachment.htm>
I found following dialplan on net but somehow its not going to set CFIM in
asterisk database (asterisk 1.8.3.3). Any idea ?
exten => *72,1,Answer
exten => *72,2,Wait(1)
exten => *72,3,BackGround(please-enter-your)
exten => *72,4,Playback(extension)
exten => *72,5,Read(fromext,then-press-pound)
exten => *72,6,Wait(1)
exten => *72,7,BackGround(ent-target-attendant)
exten => *72,8,Read(toext,then-press-pound)
exten => *72,9,Wait(1)
exten => *72,10,Set(DB(CFIM/${fromext}=${toext}))
exten => *72,11,Playback(call-fwd-unconditional)
exten => *72,12,Playback(for)
exten => *72,13,Playback(extension)
exten => *72,14,SayDigits(${fromext})
exten => *72,15,Playback(is-set-to)
exten => *72,16,SayDigits(${toext})
exten => *72,17,Hangup()
From: satish_lx at hotmail.com
To: asterisk-users at lists.digium.com
Date: Tue, 3 May 2011 18:13:30 +0000
Subject: [asterisk-users] asterisk call forwarding
Hey Guys!
Anybody have basic and simple call forwarding dialplan ? I search on google and
i found many but those are pretty complicated and most are for trixbox and GUI.
-S
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20110503/09274496/attachment.htm>
On Tue, 3 May 2011 18:45:32 +0000 satish patel <satish_lx at hotmail.com> wrote:> > I found following dialplan on net but somehow its not going to set > CFIM in asterisk database (asterisk 1.8.3.3). Any idea ? > > exten => *72,1,Answer > exten => *72,2,Wait(1) > exten => *72,3,BackGround(please-enter-your) > exten => *72,4,Playback(extension) > exten => *72,5,Read(fromext,then-press-pound) > exten => *72,6,Wait(1) > exten => *72,7,BackGround(ent-target-attendant) > exten => *72,8,Read(toext,then-press-pound) > exten => *72,9,Wait(1) > exten => *72,10,Set(DB(CFIM/${fromext}=${toext}))^ Change this line to this: exten => *72,10,Set(DB(CFIM/${fromext})=${toext}) ^ The DB() function has to be closed before the equal sign.> exten => *72,11,Playback(call-fwd-unconditional) > exten => *72,12,Playback(for) > exten => *72,13,Playback(extension) > exten => *72,14,SayDigits(${fromext}) > exten => *72,15,Playback(is-set-to) > exten => *72,16,SayDigits(${toext}) > exten => *72,17,Hangup()
Thank you so much that solved my database issue. Now how asterisk will forward call ? Or I need to specify gotoif statment in my stdexten to check database key and take action? -- Sent from my iPhone On May 3, 2011, at 5:41 PM, Chad Wallace <cwallace at lodgingcompany.com> wrote:> On Tue, 3 May 2011 18:45:32 +0000 > satish patel <satish_lx at hotmail.com> wrote: > >> >> I found following dialplan on net but somehow its not going to set >> CFIM in asterisk database (asterisk 1.8.3.3). Any idea ? >> >> exten => *72,1,Answer >> exten => *72,2,Wait(1) >> exten => *72,3,BackGround(please-enter-your) >> exten => *72,4,Playback(extension) >> exten => *72,5,Read(fromext,then-press-pound) >> exten => *72,6,Wait(1) >> exten => *72,7,BackGround(ent-target-attendant) >> exten => *72,8,Read(toext,then-press-pound) >> exten => *72,9,Wait(1) >> exten => *72,10,Set(DB(CFIM/${fromext}=${toext})) > ^ > Change this line to this: > > exten => *72,10,Set(DB(CFIM/${fromext})=${toext}) > ^ > > The DB() function has to be closed before the equal sign. > > >> exten => *72,11,Playback(call-fwd-unconditional) >> exten => *72,12,Playback(for) >> exten => *72,13,Playback(extension) >> exten => *72,14,SayDigits(${fromext}) >> exten => *72,15,Playback(is-set-to) >> exten => *72,16,SayDigits(${toext}) >> exten => *72,17,Hangup() > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >