Re: [asterisk-users] Pressing 0 to get an external line
Yo can do it with Playtones(!440) !440 is for france seach yours in indications.confhere is the example script from asterisk-france, the guy had the exact same problem [Appel_Sortant_Isdn] exten => _0,1,Set(Flag_Playtone = 0) exten => _0,n,Playtones(!440) exten => _0,n(Continue),Read(Digits,,1,,,3) exten => _0,n,GotoIf($["${LEN(${Digits})}" != "0"]?:Suite) exten => _0,n,GotoIf($["${Flag_Playtone}" = "0" ]?Va_Indexer) exten => _0,n,Set(Flag_Playtone = 1) exten => _0,n,StopPlaytones exten => _0,n(Va_Indexer),Set(Call_Number=$[${Call_Number}${Digits}]) exten => _0,n,Goto(Continue) exten => _0,n(Suite),Answer exten => _0,n,Set(CDR(userfield)=${Call_Number}) exten => _0,n,Dial(${Canal_Isdn}/${Call_Number},${dial_tout},T) exten => _0,n,NoOp(Dial Status: ${DIALSTATUS}) exten => _0,n,Macro(Status_Dial|${DIALSTATUS}) exten => _0,n,hangup ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Pressing 0 to get an external line
Hello, please read bellow: On Tue, Sep 9, 2008 at 11:04 PM, Christian Victor <[EMAIL PROTECTED]> wrote: > Hi Asterisk users! > > I have a little problem with an Asterisk 1.4.22 installation for a > customer. The PBX is connected to an E1 line and we have a few snom 300 > attached to it. > > The goal is to emulate traditional german PBX behaviour wich is the play > a stuttered "internal" dialtone after pickup and accept all internal > extensions. If a specific "get office" digit - usually 0 - is pressed > you get the normal dialtone. Now you can enter the external telephone > number end get connected immediately without pressing "dial" on the snom > phone. > > My problem here is first to implement this internal/external dialtone You can use DISA application without authentication to fake the dialtone of traditional german PBX. > and second to make the phone dial without pressing "dial" on the phone. This might be a first scratch exten => _X.,1,Answer exten => _X.,2,DigitTimeout(5) exten => _X.,3,ResponseTimeout(10) exten => _X.,4,DISA(no-password|mycontext) And with this DigitTimeout and Response Timeout you may solve the need to press dial I guess... Looking forward to hearing from you. Kind regards, Mouta > Because the length of telephone numbers in germany is not constant we > will have to implement this with a timeout or by somehow overlap-dialing > digit by tigit to the E1. > > I hope one of you already implemented this behaviour or can maybe push > me in the right direction. > > Thanks a lot > Christian > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial para uso exclusivo do destinatário. Se não for o destinatário pretendido, não deverá usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. This e-mail message is intended only for individual(s) to whom it is addressed and may contain information that is privileged, confidential, proprietary, or otherwise exempt from disclosure under applicable law. If you believe you have received this message in error, please advise the sender by return e-mail and delete it from your mailbox. Thank you. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Pressing 0 to get an external line
Hi Asterisk users! I have a little problem with an Asterisk 1.4.22 installation for a customer. The PBX is connected to an E1 line and we have a few snom 300 attached to it. The goal is to emulate traditional german PBX behaviour wich is the play a stuttered "internal" dialtone after pickup and accept all internal extensions. If a specific "get office" digit - usually 0 - is pressed you get the normal dialtone. Now you can enter the external telephone number end get connected immediately without pressing "dial" on the snom phone. My problem here is first to implement this internal/external dialtone and second to make the phone dial without pressing "dial" on the phone. Because the length of telephone numbers in germany is not constant we will have to implement this with a timeout or by somehow overlap-dialing digit by tigit to the E1. I hope one of you already implemented this behaviour or can maybe push me in the right direction. Thanks a lot Christian ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users