[Asterisk-Users] Sending Access codes to a 5EE switch.

Jon Weisman jweisman at ibell.net
Wed Apr 5 13:42:57 MST 2006


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 at 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 at 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 





More information about the asterisk-users mailing list