Hi, We are trying to figure out how to block certain calls via the Dial Plan. For example we want to block any calls to XXX5551212. We tried the simple approach below but it did not work. The second line gets picked up when we dial 13055551212. exten => _1XXX5551212,1,Congestion exten => _1305XXXXXXX,1,Goto(pri4,${EXTEN},1) Any tips? -- Andres Network Admin http://www.telesip.net
Hello, I was trying to use SendText to send a message to an extension, but it seems as if the message is being sent to the caller instead of the callee... e.g.: exten => 123, 1, SendText(hello world) Does anyone have any suggestion on how to override the behavior? Many thanks, Alex
Andres <andres@telesip.net> writes:> We are trying to figure out how to block certain calls via the Dial > Plan. For example we want to block any calls to XXX5551212. We tried > the simple approach below but it did not work. The second line gets > picked up when we dial 13055551212. > > exten => _1XXX5551212,1,Congestion > exten => _1305XXXXXXX,1,Goto(pri4,${EXTEN},1)Split them up. Place each in its own context, and include those contexts in a higher context, in the order you want them evaluated. -tih -- Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway Hosting www.eunet.no T +47-22092958 M +47-93013940 F +47-22092901 FWD 484145
y On Sun, 14 Nov 2004, Andres wrote:> exten => _1XXX5551212,1,Congestion > exten => _1305XXXXXXX,1,Goto(pri4,${EXTEN},1) > > Any tips?Sure - you need to give Asterisk a "hint" about priority, like so: [area-305] exten => _1305XXXXXXX,1,Goto(pri4,${EXTEN},1) [default] include => area-305 exten => _1XXX5551212,1,Congestion Steve
Nice...Thanks a lot Tom! Andres Network Admin http://www.telesip.net Tom Ivar Helbekkmo wrote:>Andres <andres@telesip.net> writes: > > > >>We are trying to figure out how to block certain calls via the Dial >>Plan. For example we want to block any calls to XXX5551212. We tried >>the simple approach below but it did not work. The second line gets >>picked up when we dial 13055551212. >> >>exten => _1XXX5551212,1,Congestion >>exten => _1305XXXXXXX,1,Goto(pri4,${EXTEN},1) >> >> > >Split them up. Place each in its own context, and include those >contexts in a higher context, in the order you want them evaluated. > >-tih > >
After a call is retrieved with the command SuperValetUnparkCall, I am unable to either re-park the call or transfer the call. Has anyone else experienced this situation? Thanks, Kevin
On Sun, 2004-11-14 at 13:02, Alessandro Gatti wrote:> Hello, > > I was trying to use SendText to send a message to an extension, but it seems > as if the message is being sent to the caller instead of the callee... > > e.g.: exten => 123, 1, SendText(hello world) > > Does anyone have any suggestion on how to override the behavior? > > Many thanks, > > AlexWell, like most applications it performs on the channel that called it. That means the "caller" in the terms you used. So when you dial extension 123 in your example the SendText() application will send "hello world" to you since you are the channel that executed it. -Seth -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559
That makes sense. I will need to figure out how to use it send it to the callee.. Thanks, Alessandro -----Original Message----- From: Seth Remington [mailto:sremington@saberlogic.com] Sent: Monday, November 15, 2004 7:51 AM To: alex@4gatti.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] SendText On Sun, 2004-11-14 at 13:02, Alessandro Gatti wrote:> Hello, > > I was trying to use SendText to send a message to an extension, but itseems> as if the message is being sent to the caller instead of the callee... > > e.g.: exten => 123, 1, SendText(hello world) > > Does anyone have any suggestion on how to override the behavior? > > Many thanks, > > AlexWell, like most applications it performs on the channel that called it. That means the "caller" in the terms you used. So when you dial extension 123 in your example the SendText() application will send "hello world" to you since you are the channel that executed it. -Seth -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559