I have an Asterisk sever running with a TE406P card, and 4 pri T1's. I am trying to findout how to send access codes to the switch. After a long distance call is dialed, we get a second dial tone and I need to enter a 4 digit access code, then the switch will place the call. Does anyone know how I can do this? Or does anyone know how to tell asterisk to send to 4 digit code after it is dialed? Gary,, Gary Ritter, SCSA Network Technician Leaco Rural Telephone Coop. Inc. (505) 433-4326 office phone (505) 399-0062 cell phone gritter@leaco.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060405/711b9811/attachment.htm
Gary, What I do is the following: In SIP.conf Add the line "accountcode=" and set it equal to each users unique four digit pin example: [user1] secret=xxxx accountcode=1234 type=friend host=dynamic context=default canreinvite=no nat=yes qualify=2000 disallow=all allow=g729 And in Extensions.conf exten=>_X.,1,Prefix(${ACCOUNTCODE}) exten=>_X.,2,Dial,Zap/g1/${EXTEN} -Jon ----- Original Message ----- From: Gary Ritter To: asterisk-users@lists.digium.com Sent: Wednesday, April 05, 2006 4:37 PM Subject: [Asterisk-Users] Sending Access codes to a 5EE switch. I have an Asterisk sever running with a TE406P card, and 4 pri T1's. I am trying to findout how to send access codes to the switch. After a long distance call is dialed, we get a second dial tone and I need to enter a 4 digit access code, then the switch will place the call. Does anyone know how I can do this? Or does anyone know how to tell asterisk to send to 4 digit code after it is dialed? Gary,, Gary Ritter, SCSA Network Technician Leaco Rural Telephone Coop. Inc. (505) 433-4326 office phone (505) 399-0062 cell phone gritter@leaco.org _______________________________________________ --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
Michael Collins
2006-Apr-07 11:47 UTC
[Asterisk-Users] Sending Access codes to a 5EE switch.
> "show application dial" Pay special attention to the D() option.Eric, Question - does the D option know that on a PRI the DTMF stream goes out the B channel and not the D channel? I would assume that it knows but I thought it best to ask the question outright. If it does, then it should be the answer to Gary's problem. -MC