Guys I have been reading for days on how to get this to work with asterisk
and for some reason every time I call the call goes to intercom.  I know I
must be doing something wrong with the way I am adding the steps to my call;
I am not familiar with variables and flags.

 

Here is my configuration:
Digium Asterisk AA50 with Granstream GXP2000 using the latest firmware.

 

Extensions.conf:

 

exten=s,1,SIPAddHeader(Alert-Info: <http://127.0.0.1>\;info=Family)

exten=s,2,GotoIf($["${SIP_HEADER(Call-Info)}"="answer-after=0"]?2:3)

exten=s,2,SIPAddHeader(Call-Info: answer-after=0)

exten=s,3,Dial(${ARG2},20)

exten=s,4,Goto(s-${DIALSTATUS},1)

exten=s-NOANSWER,1,Voicemail(${ARG1},u)

exten=s-NOANSWER,2,Goto(default,s,1)

exten=s-BUSY,1,Voicemail(${ARG1},b)

exten=s-BUSY,2,Goto(default,s,1)

exten=_s-.,1,Goto(s-NOANSWER,1)

exten=a,1,VoicemailMain(${ARG1})

 

GXP2000 configuration:

Under Account1 I checked options:

 

Allow Auto Answer by Call-Info:   No      Yes  

 

Turn off speaker on 
remote disconnect:   No      Yes

 

 

 

Fidel Garcia

System Engineer

 

sysTeam.

7205 NW 19th Street, Suite 302
Miami, Florida 33126

Email: [EMAIL PROTECTED] 

Tel: (305)-477-7303 Fax: (305)-477-0013 

http://www.systeamusa.com

 

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

Reply via email to