Hi, How can I do to register an Asterisk server using just IAX2? If I have a line like the following in iax.conf register => user:password@server the server tries to register with both IAX and IAX2. if the line is : register => user:password@server:4569 then the same, tries both on the same port (means IAX(1) on 4569 too). This can be shown using iax show registry It is possible to disable registration requests on IAX(1)? As IAXTEL does not support IAX1 anymore, I still have registration requests in IAX1.. Thanks, Dan
Just noload chan_iax right? Mark On Sun, 14 Dec 2003, Dan wrote:> Hi, > > How can I do to register an Asterisk server using just IAX2? > If I have a line like the following in iax.conf > > register => user:password@server > > the server tries to register with both IAX and IAX2. > > if the line is : > register => user:password@server:4569 > > then the same, tries both on the same port (means IAX(1) on 4569 too). > > This can be shown using > iax show registry > > It is possible to disable registration requests on IAX(1)? > > As IAXTEL does not support IAX1 anymore, I still have registration requests > in IAX1.. > > Thanks, > Dan > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Hi, Citeren Mark Spencer <markster@digium.com>:> Just noload chan_iax right? > > MarkHmm, I understand there is little or no desire to really work on this type of issue, but noload chan_iax is slightly too rigorous for me. Consider this scenario: I prefer using IAX2 with every partner I can talk to (IAXtel, uplinks) but I would still like users to be able to use IAX1 as a backward-compatible method. Therefore, noload chan_iax is not desirable. Suggestion for those with this issue: Make the firewall (iptables) on your asterisk box drop or reject the IAX1 packets toward destinations where we do not want IAX1 to be used :-) -- Best regards, Florian Overkamp
Hi All This is one scenario I would like to have some help. I have searched the digium lists and could not find any posts on this. How can an Attendant switch on or off the AutoAttendant from her phone? Eg. 8am -> Attendent enters office -> switches OFF auto attendent. He/She takes in all the incoming calls and answers. 12pm -> out of lunch. Needs to put the system back into Auto. 1 pm -> return from lunch. Needs to switch OFF auto attendent 5 pm- > Puts Auto attendent ON. I am sure there can be a script built that should change extensions.conf. and reloading asterisk on the attendent activating based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm. I dont want this to be time restricted. the attendent should have control. Is there a better way ? this could be even done through the phone of the attendent eg, like *80-1 (ON) *80 - 2 (OFF)...
Tilghman Lesher
2003-Dec-15 10:45 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
On Monday 15 December 2003 10:57, Sri wrote:> Hi All > This is one scenario I would like to have some help. I have > searched the digium lists and could not find any posts on this. > > How can an Attendant switch on or off the AutoAttendant from her > phone? Eg. > 8am -> Attendent enters office -> switches OFF auto attendent. > He/She takes in all the incoming calls and answers. > 12pm -> out of lunch. Needs to put the system back into Auto. > 1 pm -> return from lunch. Needs to switch OFF auto attendent > 5 pm- > Puts Auto attendent ON. > > I am sure there can be a script built that should change > extensions.conf. and reloading asterisk on the attendent activating > based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm. > I dont want this to be time restricted. the attendent should have > control. Is there a better way ? this could be even done through > the phone of the attendent eg, like *80-1 (ON) *80 - 2 (OFF)...exten => *801,1,DBPut(auto/attendant=1) exten => *802,1,DBPut(auto/attendant=0) exten => s,1,DBGet(autoattendant=auto/attendant) exten => s,2,GotoIf($[${autoattendant} = "1"]?auto|1) exten => s,3,Dial(Zap/23,30,t) exten => s,4,Goto(auto|1) -Tilghman
Philipp von Klitzing
2003-Dec-15 10:49 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
Hi!> How can an Attendant switch on or off the AutoAttendant from her phone?This is not difficult and can be done within the dialplan as defined in extensions.conf. Take a look at DBput() and DBget() in combination with gotoif(). Store the system data using DBput(), and get the system status with DBget() and then decide what to do. Cheers, Philipp
Todd Lieberman
2003-Dec-15 10:54 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
Put the calls to a Q and have your reciptionist login/logout of the Queue. xten => 600,1,AddQueueMember(phillyq|SIP/${CALLERIDNUM:6}) exten => 600,2,Playback(agent-loginok) exten => 600,3,Hangup exten => 601,1,RemoveQueueMember(phillyq|SIP/${CALLERIDNUM:6}) exten => 601,2,Playback(agent-loggedoff) exten => 601,3,Hangup Sri wrote:> Hi All > This is one scenario I would like to have some help. I have searched > the digium lists and could not find any posts on this. > > How can an Attendant switch on or off the AutoAttendant from her phone? > Eg. > 8am -> Attendent enters office -> switches OFF auto attendent. He/She > takes in all the incoming calls and answers. > 12pm -> out of lunch. Needs to put the system back into Auto. 1 pm -> > return from lunch. Needs to switch OFF auto attendent > 5 pm- > Puts Auto attendent ON. > > I am sure there can be a script built that should change > extensions.conf. and reloading asterisk on the attendent activating > based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm. > I dont want this to be time restricted. the attendent should have > control. > Is there a better way ? this could be even done through the phone of > the attendent eg, like *80-1 (ON) *80 - 2 (OFF)... > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
Steven Critchfield
2003-Dec-15 10:59 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
On Mon, 2003-12-15 at 10:57, Sri wrote:> Hi All > This is one scenario I would like to have some help. I have searched > the digium lists and could not find any posts on this. > > How can an Attendant switch on or off the AutoAttendant from her phone? > Eg. > 8am -> Attendent enters office -> switches OFF auto attendent. He/She > takes in all the incoming calls and answers. > 12pm -> out of lunch. Needs to put the system back into Auto. > 1 pm -> return from lunch. Needs to switch OFF auto attendent > 5 pm- > Puts Auto attendent ON. > > I am sure there can be a script built that should change > extensions.conf. and reloading asterisk on the attendent activating > based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm. > I dont want this to be time restricted. the attendent should have control. > Is there a better way ? this could be even done through the phone of > the attendent eg, like *80-1 (ON) *80 - 2 (OFF)...Think global variables and a gotoif. Simple. -- Steven Critchfield <critch@basesys.com>
Thanks Tilghman. Is there a document that lists the functions that you have used in the script? If there is no such document, whats a good starting point to get a list of them. Tilghman Lesher wrote:>On Monday 15 December 2003 10:57, Sri wrote: > > >>Hi All >>This is one scenario I would like to have some help. I have >>searched the digium lists and could not find any posts on this. >> >>How can an Attendant switch on or off the AutoAttendant from her >>phone? Eg. >> 8am -> Attendent enters office -> switches OFF auto attendent. >>He/She takes in all the incoming calls and answers. >> 12pm -> out of lunch. Needs to put the system back into Auto. >> 1 pm -> return from lunch. Needs to switch OFF auto attendent >> 5 pm- > Puts Auto attendent ON. >> >>I am sure there can be a script built that should change >>extensions.conf. and reloading asterisk on the attendent activating >>based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm. >>I dont want this to be time restricted. the attendent should have >>control. Is there a better way ? this could be even done through >>the phone of the attendent eg, like *80-1 (ON) *80 - 2 (OFF)... >> >> > >exten => *801,1,DBPut(auto/attendant=1) >exten => *802,1,DBPut(auto/attendant=0) >exten => s,1,DBGet(autoattendant=auto/attendant) >exten => s,2,GotoIf($[${autoattendant} = "1"]?auto|1) >exten => s,3,Dial(Zap/23,30,t) >exten => s,4,Goto(auto|1) > >-Tilghman > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031215/0aa2dd21/attachment.htm
Olle E. Johansson
2003-Dec-15 12:58 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
Tilghman Lesher wrote:> On Monday 15 December 2003 10:57, Sri wrote: > >>Hi All >>This is one scenario I would like to have some help. I have >>searched the digium lists and could not find any posts on this. >> >>How can an Attendant switch on or off the AutoAttendant from her >>phone? Eg. >> 8am -> Attendent enters office -> switches OFF auto attendent. >>He/She takes in all the incoming calls and answers. >> 12pm -> out of lunch. Needs to put the system back into Auto. >> 1 pm -> return from lunch. Needs to switch OFF auto attendent >> 5 pm- > Puts Auto attendent ON. >> >>I am sure there can be a script built that should change >>extensions.conf. and reloading asterisk on the attendent activating >>based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm. >>I dont want this to be time restricted. the attendent should have >>control. Is there a better way ? this could be even done through >>the phone of the attendent eg, like *80-1 (ON) *80 - 2 (OFF)... > > > exten => *801,1,DBPut(auto/attendant=1) > exten => *802,1,DBPut(auto/attendant=0) > exten => s,1,DBGet(autoattendant=auto/attendant) > exten => s,2,GotoIf($[${autoattendant} = "1"]?auto|1) > exten => s,3,Dial(Zap/23,30,t) > exten => s,4,Goto(auto|1)Thank you all! http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+autoattendant created. /O
Olle E. Johansson
2003-Dec-15 13:22 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
Sri wrote:> Thanks Tilghman. > Is there a document that lists the functions that you have used in the > script? > If there is no such document, whats a good starting point to get a list > of them.http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+autoattendant /Olle ;-)
Tilghman Lesher
2003-Dec-15 13:33 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
Please learn to respond at the bottom and trim footers like everybody else. (Reformatted to comply with standards.) On Monday 15 December 2003 13:19, Sri wrote:> Tilghman Lesher wrote: > >On Monday 15 December 2003 10:57, Sri wrote: > >>Hi All > >>This is one scenario I would like to have some help. I have > >>searched the digium lists and could not find any posts on this. > >> > >>How can an Attendant switch on or off the AutoAttendant from her > >>phone? Eg. > >> 8am -> Attendent enters office -> switches OFF auto attendent. > >>He/She takes in all the incoming calls and answers. > >> 12pm -> out of lunch. Needs to put the system back into Auto. > >> 1 pm -> return from lunch. Needs to switch OFF auto attendent > >> 5 pm- > Puts Auto attendent ON. > >> > >>I am sure there can be a script built that should change > >>extensions.conf. and reloading asterisk on the attendent > >> activating based on a clock that kicks in 8 am, 12 pm, 1 pm and > >> 5 pm. I dont want this to be time restricted. the attendent > >> should have control. Is there a better way ? this could be even > >> done through the phone of the attendent eg, like *80-1 (ON) *80 > >> - 2 (OFF)... > > > >exten => *801,1,DBPut(auto/attendant=1) > >exten => *802,1,DBPut(auto/attendant=0) > >exten => s,1,DBGet(autoattendant=auto/attendant) > >exten => s,2,GotoIf($[${autoattendant} = "1"]?auto|1) > >exten => s,3,Dial(Zap/23,30,t) > >exten => s,4,Goto(auto|1) > > Is there a document that lists the functions that you have used in > the script? > If there is no such document, whats a good starting point to get a > list of them.From the * command line: show applications -Tilghman
Todd Lieberman
2003-Dec-15 13:53 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
Using a Q is nice because you can have another employee or group of employees cover while the receptionist is on break. TL Olle E. Johansson wrote:> Tilghman Lesher wrote: > >> On Monday 15 December 2003 10:57, Sri wrote: >> >>> Hi All >>> This is one scenario I would like to have some help. I have >>> searched the digium lists and could not find any posts on this. >>> >>> How can an Attendant switch on or off the AutoAttendant from her >>> phone? Eg. >>> 8am -> Attendent enters office -> switches OFF auto attendent. >>> He/She takes in all the incoming calls and answers. >>> 12pm -> out of lunch. Needs to put the system back into Auto. >>> 1 pm -> return from lunch. Needs to switch OFF auto attendent >>> 5 pm- > Puts Auto attendent ON. >>> >>> I am sure there can be a script built that should change >>> extensions.conf. and reloading asterisk on the attendent activating >>> based on a clock that kicks in 8 am, 12 pm, 1 pm and 5 pm. >>> I dont want this to be time restricted. the attendent should have >>> control. Is there a better way ? this could be even done through >>> the phone of the attendent eg, like *80-1 (ON) *80 - 2 (OFF)... >> >> >> >> exten => *801,1,DBPut(auto/attendant=1) >> exten => *802,1,DBPut(auto/attendant=0) >> exten => s,1,DBGet(autoattendant=auto/attendant) >> exten => s,2,GotoIf($[${autoattendant} = "1"]?auto|1) >> exten => s,3,Dial(Zap/23,30,t) >> exten => s,4,Goto(auto|1) > > Thank you all! > http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+autoattendant > created. > > /O > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
Matteo Brancaleoni
2003-Dec-16 04:40 UTC
[Asterisk-Users] AutoAttendent ON/OFF control by Attendent
but also remind to add a voicemail after the Q. What happens if all the members are logged out, is to say when the Q has no members? calls get lost, if not voicemail :) matteo. Il lun, 2003-12-15 alle 21:53, Todd Lieberman ha scritto:> Using a Q is nice because you can have another employee or group of > employees cover while the receptionist is on break. > > TL-- Matteo Brancaleoni Espia System Administrator Email : mbrancaleoni@espia.it Web : http://www.espia.it Phone : +39 02 70633354 - ext 201 IAX(2): guest@213.140.14.155 - ext 201 Iaxtel: 1-700-56-62458 - ext 201
Todd Lieberman wrote:> Using a Q is nice because you can have another employee or group of > employees cover while the receptionist is on break. > > TL > > Olle E. Johansson wrote: > >> Tilghman Lesher wrote: >> >>> On Monday 15 December 2003 10:57, Sri wrote: >>> ... >>> exten => *801,1,DBPut(auto/attendant=1) >>> exten => *802,1,DBPut(auto/attendant=0) >>> exten => s,1,DBGet(autoattendant=auto/attendant) >>> exten => s,2,GotoIf($[${autoattendant} = "1"]?auto|1) >>> exten => s,3,Dial(Zap/23,30,t) >>> exten => s,4,Goto(auto|1) >> >> >> Thank you all! >> http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+autoattendant >> created. >Yes. Thats true. But the requirement is to have it move to AutoAttendent which has options for different departments and directory listing, when the attendent is out. Either the Attendent or Auto-Attendent.. no one else. Othewise, Yes. Maybe a Q can come in handy. Sri