CVS Head from 07/07/2005
I'm trying to make an IP-501 auto answer a call.
exten => 301,1,SetVar(_ALERT_INFO="Ring_Ans")
exten => 301,2,SetVar(ALERT_INFO="Ring_Ans") # Tried both combinations
exten => 301,3,Dial(SIP/5001,15)
exten => 301,4,Hangup
Sip.cfg for Polycom phone
<alertInfo voIpProt.SIP.alertInfo.2.value="Ring_Ans"
voIpProt.SIP.alertInfo.1.class="4"/>
Ipmid.cfg
<RING_ANSWER se.rt.4.name="Ring Answer" se.rt.4.type="ring-answer"
se.rt.4.timeout="1000" se.rt.4.ringer="2" se.rt.4.callWait="6"
se.rt.4.mod="1"/>
Asterisk Log:
-- Executing SetVar("SIP/5002-6e20", "_ALERT_INFO="Ring_Ans"") in new
stack
-- Executing SetVar("SIP/5002-6e20", "ALERT_INFO="Ring_Ans"") in new
stack
-- Executing Dial("SIP/5002-6e20", "SIP/5001|15") in new stack
-- Called 5001
-- SIP/5001-f735 is ringing
-- Nobody picked up in 15000 ms
As you can see it just rings, and then hangs up.
Any one have an idea?
Chad
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users