[asterisk-users] intercom/paging with grandstream gxp2000
Fidel Garcia
fgarcia at systeamusa.com
Wed Aug 6 17:20:16 CDT 2008
I am sorry, this is the actual 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,3,SIPAddHeader(Call-Info: answer-after=0)
exten=s,4,Dial(${ARG2},20)
exten=s,5,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})
As you can see here Goto and SIPAddHeader are 2 and 3. In the prior email I
had both lines under 2.
Fidel Garcia
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Fidel Garcia
Sent: Wednesday, August 06, 2008 5:05 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] intercom/paging with grandstream gxp2000
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: fgarcia at systeamusa.com
Tel: (305)-477-7303 Fax: (305)-477-0013
http://www.systeamusa.com
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.12/1595 - Release Date: 8/6/2008
8:23 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080806/603673ad/attachment.htm
More information about the asterisk-users
mailing list