Nunya,
Great post! I have tried several changes and I can't seem to get this to work. I have tried both Ring Answer and Auto Answer in the sip.cfg file. I have also tried creating a simple entry into ext-local that looks like this:
exten => *33,1,SIPAddHeader(Alert-Info: Auto Answer)
exten => *33,2,Dial(SIP/1003)
exten => *33,3,Hangup
It is almost like the Polycom 501 isn't respecting the Alert Info data. It seems odd that the Wireshark shows the alert info data as info=Ring Answer. I have even modified the extensions_additional.conf and changed this so that it only comes in as Ring Answer (I also tried Auto Answer)
I did change the settings in MySql for this as well but they don't seem to be used.
Either way...any more suggestions are welcome.
1. OOS manager used
2. Modified Mysql paging (no help)
3. Tried modifiying alert info in SIP.cfg (didn't help either)
4. Changed settings in extensions_additional.conf to try to make Polycom 501 happy (nope..still no worky)
5. Checked for updated firmware for said Polycom (I'm already at 318)
6. Proceeded to pull remaining hair out (complete)
Please find attached my config file..in anyone can take mercy on me and help, that would be appreciated.
Here is a failed attempt.
-- Executing [*801003@from-internal:1] Goto("SIP/1001-00000000", "ext-intercom,*801003,1") in new stack
-- Goto (ext-intercom,*801003,1)
-- Executing [*801003@ext-intercom:1] Macro("SIP/1001-00000000", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/1001-00000000", "AMPUSER=1001") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/1001-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/1001-00000000", "1?Set(REALCALLERIDNUM=1001)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/1001-00000000", "AMPUSER=1001") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/1001-00000000", "AMPUSERCIDNAME=1001") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/1001-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/1001-00000000", "AMPUSERCID=1001") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/1001-00000000", "CALLERID(all)="1001" <1001>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/1001-00000000", "0?limit") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/1001-00000000", "0?Set(GROUP(concurrency_limit)=1001)") in new stack
-- Executing [s@macro-user-callerid:11] GosubIf("SIP/1001-00000000", "7?sub-ccss,s,1(ext-intercom,*801003)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/1001-00000000", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/1001-00000000", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/1001-00000000", "0?monitor_config,1(ext-intercom,*801003):monitor_default,1(ext-intercom,*801003)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1001-00000000", "0?is_exten") in new stack
-- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1001-00000000", "") in new stack
-- Executing [monitor_default@sub-ccss:3] Return("SIP/1001-00000000", "FALSE") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/1001-00000000", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/1001-00000000", "0?continue") in new stack
-- Executing [s@macro-user-callerid:14] Set("SIP/1001-00000000", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/1001-00000000", "1?continue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [s@macro-user-callerid:26] Set("SIP/1001-00000000", "CALLERID(number)=1001") in new stack
-- Executing [s@macro-user-callerid:27] Set("SIP/1001-00000000", "CALLERID(name)=1001") in new stack
-- Executing [s@macro-user-callerid:28] Set("SIP/1001-00000000", "CHANNEL(language)=en") in new stack
-- Executing [*801003@ext-intercom:2] Set("SIP/1001-00000000", "dialnumber=1003") in new stack
-- Executing [*801003@ext-intercom:3] Set("SIP/1001-00000000", "INTERCOM_CALL=TRUE") in new stack
-- Executing [*801003@ext-intercom:4] GotoIf("SIP/1001-00000000", "0?end") in new stack
-- Executing [*801003@ext-intercom:5] GotoIf("SIP/1001-00000000", "0?end") in new stack
-- Executing [*801003@ext-intercom:6] GotoIf("SIP/1001-00000000", "0?allow") in new stack
-- Executing [*801003@ext-intercom:7] GotoIf("SIP/1001-00000000", "0?nointercom") in new stack
-- Executing [*801003@ext-intercom:8] GotoIf("SIP/1001-00000000", "0?nointercom") in new stack
-- Executing [*801003@ext-intercom:9] Set("SIP/1001-00000000", "DEVICES=1003") in new stack
-- Executing [*801003@ext-intercom:10] GotoIf("SIP/1001-00000000", "0?end") in new stack
-- Executing [*801003@ext-intercom:11] Set("SIP/1001-00000000", "LOOPCNT=1") in new stack
-- Executing [*801003@ext-intercom:12] Set("SIP/1001-00000000", "_SIPURI=") in new stack
-- Executing [*801003@ext-intercom:13] Set("SIP/1001-00000000", "_ALERTINFO=Alert-Info: Ring Answer") in new stack
-- Executing [*801003@ext-intercom:14] Set("SIP/1001-00000000", "_CALLINFO=Call-Info: <uri>;answer-after=0") in new stack
-- Executing [*801003@ext-intercom:15] Set("SIP/1001-00000000", "_SIPURI=intercom=true") in new stack
-- Executing [*801003@ext-intercom:16] Set("SIP/1001-00000000", "_DOPTIONS=A(beep)") in new stack
-- Executing [*801003@ext-intercom:17] Set("SIP/1001-00000000", "_DTIME=5") in new stack
-- Executing [*801003@ext-intercom:18] Set("SIP/1001-00000000", "_ANSWERMACRO=") in new stack
-- Executing [*801003@ext-intercom:19] GotoIf("SIP/1001-00000000", "0?pagemode") in new stack
-- Executing [*801003@ext-intercom:20] Macro("SIP/1001-00000000", "autoanswer,1003") in new stack
-- Executing [s@macro-autoanswer:1] Set("SIP/1001-00000000", "DIAL=SIP/1003") in new stack
-- Executing [s@macro-autoanswer:2] ExecIf("SIP/1001-00000000", "0?Set(DIAL=DAHDI/1003)") in new stack
-- Executing [s@macro-autoanswer:3] GotoIf("SIP/1001-00000000", "0?macro") in new stack
-- Executing [s@macro-autoanswer:4] Set("SIP/1001-00000000", "phone=") in new stack
-- Executing [s@macro-autoanswer:5] ExecIf("SIP/1001-00000000", "0?Set(CALLINFO=Call-Info: <sip:broadworks.net>;answer-after=0)") in new stack
-- Executing [s@macro-autoanswer:6] ExecIf("SIP/1001-00000000", "0?Set(ALERTINFO=Alert-Info: Intercom)") in new stack
-- Executing [s@macro-autoanswer:7] ExecIf("SIP/1001-00000000", "0?Set(ALERTINFO=Alert-Info: Intercom)") in new stack
-- Executing [s@macro-autoanswer:8] ExecIf("SIP/1001-00000000", "0?Set(ALERTINFO=Alert-Info: info=Auto Answer)") in new stack
-- Executing [*801003@ext-intercom:21] ChanIsAvail("SIP/1001-00000000", "SIP/1003,s") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [*801003@ext-intercom:22] GotoIf("SIP/1001-00000000", "0?end") in new stack
-- Executing [*801003@ext-intercom:23] GotoIf("SIP/1001-00000000", "0?godial") in new stack
-- Executing [*801003@ext-intercom:24] Set("SIP/1001-00000000", "CONNECTEDLINE(name,i)=1003") in new stack
-- Executing [*801003@ext-intercom:25] Set("SIP/1001-00000000", "CONNECTEDLINE(num)=1003") in new stack
-- Executing [*801003@ext-intercom:26] Dial("SIP/1001-00000000", "SIP/1003,5,IA(beep)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/1003
-- Connected line update to SIP/1001-00000000 prevented.
-- SIP/1003-00000002 is ringing
-- Nobody picked up in 5000 ms
-- Executing [*801003@ext-intercom:27] ExecIf("SIP/1001-00000000", "?Return()") in new stack
-- Executing [*801003@ext-intercom:28] Busy("SIP/1001-00000000", "20") in new stack
== Spawn extension (ext-intercom, *801003, 28) exited non-zero on 'SIP/1001-00000000'