QUESTION Help getting intercom working with Polycom IP430?

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
I'm trying to get paging/auto answer/intercom working and am running into dead ends. I've searched the forums and see other people trying to do the same thing, but none of the suggestions seem to apply to my situation.

I'm running a hosted PIAF version 3.0.6.5 at RentPBX (which I am very happy with).

From everything I can tell, the target phone is getting the right invite commands, but is simply not auto answering the call.

I set up the phones using OSS PBX End Point Manager version 2.11.7 which worked very well. I see the proper config lines " <alertInfo voIpProt.SIP.alertInfo.1.value="Ring Answer" voIpProt.SIP.alertInfo.1.class="4"/>" and "<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" />" are present in the sip_327.cfg file in the /tftpboot folder, so I am as confident as I can be that the phone is seeing the proper settings for auto answer.

I've looked at the syslog output from the phone but it is useless. I get messages about the boot process and what config files it is loading, but nothing about actual call process.

The phones are on firmware version 3.2.7 which Polycom says is the latest version available for the IP430 (http://downloads.polycom.com/voice/voip/sip_sw_releases_matrix.html)

Polycom release notes for 3.2.6 indicate "68184 Phone no longer sends double confirmation on auto answer." which implies that auto answer is supported.(http://downloads.polycom.com/voice/voip/relnotes/SIP_Software_Release_Notes_3_2_7.pdf)

I don't know what else to check and I'm open to suggestions. Has anyone seen a IP430 actually perform an auto answer?

Version info, TCPDUMP and asterisk debug output is below. Thanks for any ideas you might have.


Code:
                                ┌────────────────────────SYSTEM INFORMATION───────────────────────────┐
                                │  Asterisk  = ONLINE  | Dahdi    = ONLINE  | MySQL    = ONLINE    │
                                │  SSH        = ONLINE  | Apache    = ONLINE  | Iptables  = ONLINE    │
                                │  Fail2ban  = ONLINE  | Internet  = ONLINE  | Ip6Tables = ONLINE    │
                                │  Disk Free  = ADEQUATE| Mem Free  = ADEQUATE| NTPD      = ONLINE    │
                                │  SendMail  = ONLINE  | Samba    = OFFLINE | Webmin    = ONLINE    │
                                │  Ethernet0  = ONLINE  | Ethernet1 = N/A    | Wlan0    = N/A      │
                                │                                                                    │
                                │  PIAF Installed Version  = 3.0.6.5 under *XEN* on Rent PBX        │
                                │  FreePBX Version          = 2.11.0.38                              │
                                │  Running Asterisk Version = 11.7.0                                  │
                                │  Asterisk Source Version  = 11.7.0                                  │
                                │  Dahdi Source Version    = 2.8.0.1                                │
                                │  Libpri Source Version    = 1.4.14                                  │
                                │  IP Address              = ww.xx.yy.zz on eth0                  │
                                │  Operating System        = Scientific Linux release 6.5            │
                                │  Kernel Version          = 2.6.32-431.5.1.el6.i686 - 32 Bit        │
                                │                                                                    │
                                └─────────────────────────────────────────────────────────────────────┘

Code:
PIAFSERVER.IP is the IP address of the PIAF server.
The target phone is extension 501, is at 10.11.12.201 on the local network and is named "Comp".
The calling phone is extension 502 is at 10.11.12.202 on the local network and is named "Bedrm".
The number I dialed was "*80501".
 
I acually had the route the call through my DISA so I could get the traffic to route though the home router where I could run tcpdump on it.
 
 
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK6e504648
Max-Forwards: 70
From: "Unknown" <sip:[email protected]>;tag=as6b8f3de0
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.7.0)
Date: Sun, 14 Sep 2014 08:23:40 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
 
SIP/2.0 200 OK
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK6e504648
From: "Unknown" <sip:[email protected]>;tag=as6b8f3de0
To: "Comp" <sip:[email protected]:5060>;tag=343ADB2E-F3745C25
CSeq: 102 OPTIONS
Call-ID: [email protected]:5060
Contact: <sip:[email protected]:5060>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
Supported: 100rel,replaces,100rel,timer,replaces,norefersub
User-Agent: PolycomSoundPointIP-SPIP_430-UA/3.2.7.0198
Accept-Language: en
Accept: application/sdp,text/plain,message/sipfrag,application/dialog-info+xml
Accept-Encoding: identity
Content-Length: 0
 
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK01a97353
Max-Forwards: 70
From: "Unknown" <sip:[email protected]>;tag=as718d8fd2
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.11.0(11.7.0)
Date: Sun, 14 Sep 2014 08:24:40 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
 
SIP/2.0 200 OK
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK01a97353
From: "Unknown" <sip:[email protected]>;tag=as718d8fd2
To: "Comp" <sip:[email protected]:5060>;tag=E2D4D567-CBE1F852
CSeq: 102 OPTIONS
Call-ID: [email protected]:5060
Contact: <sip:[email protected]:5060>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
Supported: 100rel,replaces,100rel,timer,replaces,norefersub
User-Agent: PolycomSoundPointIP-SPIP_430-UA/3.2.7.0198
Accept-Language: en
Accept: application/sdp,text/plain,message/sipfrag,application/dialog-info+xml
Accept-Encoding: identity
Content-Length: 0
 
INVITE sip:[email protected]:5060;intercom=true SIP/2.0
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK5342d0d4
Max-Forwards: 70
From: "Bedrm" <sip:[email protected]>;tag=as7f5b3cb4
To: <sip:[email protected]:5060;intercom=true>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(11.7.0)
Date: Sun, 14 Sep 2014 08:25:03 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Call-Info: <uri>;answer-after=0
Alert-Info: info=Auto Answer
Content-Type: application/sdp
Content-Length: 235
 
v=0
o=root 445089591 445089591 IN IP4 PIAFSERVER.IP
s=Asterisk PBX 11.7.0
c=IN IP4 PIAFSERVER.IP
t=0 0
m=audio 10078 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
 
SIP/2.0 100 Trying
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK5342d0d4
From: "Bedrm" <sip:[email protected]>;tag=as7f5b3cb4
To: "Comp" <sip:[email protected]:5060;intercom=true>;tag=8FF8B1EC-C66396BB
CSeq: 102 INVITE
Call-ID: [email protected]:5060
Contact: <sip:[email protected]:5060>
User-Agent: PolycomSoundPointIP-SPIP_430-UA/3.2.7.0198
Accept-Language: en
Content-Length: 0
 
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK5342d0d4
From: "Bedrm" <sip:[email protected]>;tag=as7f5b3cb4
To: "Comp" <sip:[email protected]:5060;intercom=true>;tag=8FF8B1EC-C66396BB
CSeq: 102 INVITE
Call-ID: [email protected]:5060
Contact: <sip:[email protected]:5060>
User-Agent: PolycomSoundPointIP-SPIP_430-UA/3.2.7.0198
Call-Info: <uri>;answer-after=0
Allow-Events: talk,hold,conference
Accept-Language: en
Content-Length: 0
 
CANCEL sip:[email protected]:5060;intercom=true SIP/2.0
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK5342d0d4
Max-Forwards: 70
From: "Bedrm" <sip:[email protected]>;tag=as7f5b3cb4
To: <sip:[email protected]:5060;intercom=true>
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
User-Agent: FPBX-2.11.0(11.7.0)
Content-Length: 0
 
SIP/2.0 200 OK
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK5342d0d4
From: "Bedrm" <sip:[email protected]>;tag=as7f5b3cb4
To: "Comp" <sip:[email protected]:5060;intercom=true>
CSeq: 102 CANCEL
Call-ID: [email protected]:5060
Contact: <sip:[email protected]:5060>
User-Agent: PolycomSoundPointIP-SPIP_430-UA/3.2.7.0198
Accept-Language: en
Content-Length: 0
 
SIP/2.0 487 Request Cancelled
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK5342d0d4
From: "Bedrm" <sip:[email protected]>;tag=as7f5b3cb4
To: "Comp" <sip:[email protected]:5060;intercom=true>;tag=8FF8B1EC-C66396BB
CSeq: 102 INVITE
Call-ID: [email protected]:5060
Contact: <sip:[email protected]:5060>
User-Agent: PolycomSoundPointIP-SPIP_430-UA/3.2.7.0198
Accept-Language: en
Content-Length: 0
 
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP PIAFSERVER.IP:5060;branch=z9hG4bK5342d0d4
Max-Forwards: 70
From: "Bedrm" <sip:[email protected]>;tag=as7f5b3cb4
To: <sip:[email protected]:5060;intercom=true>;tag=8FF8B1EC-C66396BB
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]:5060
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(11.7.0)
Content-Length: 0
 

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
Code:
voip*CLI> core set verbose 6
Set remote console verbosity to 6
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [7777@from-internal:1] Macro("SIP/502-000001ff", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/502-000001ff", "TOUCH_MONITOR=1410684376.543") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/502-000001ff", "AMPUSER=502") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/502-000001ff", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/502-000001ff", "1?Set(REALCALLERIDNUM=502)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/502-000001ff", "AMPUSER=502") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/502-000001ff", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/502-000001ff", "AMPUSERCIDNAME=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/502-000001ff", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/502-000001ff", "AMPUSERCID=502") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/502-000001ff", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/502-000001ff", "CALLERID(all)="Bedrm" <502>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/502-000001ff", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/502-000001ff", "0?Set(GROUP(concurrency_limit)=502)") in new stack
    -- Executing [s@macro-user-callerid:14] GosubIf("SIP/502-000001ff", "7?sub-ccss,s,1(from-internal,7777)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/502-000001ff", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/502-000001ff", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/502-000001ff", "0?monitor_config,1(from-internal,7777):monitor_default,1(from-internal,7777)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/502-000001ff", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/502-000001ff", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/502-000001ff", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/502-000001ff", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:16] Set("SIP/502-000001ff", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("SIP/502-000001ff", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/502-000001ff", "CALLERID(number)=502") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/502-000001ff", "CALLERID(name)=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/502-000001ff", "CDR(cnum)=502") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/502-000001ff", "CDR(cnam)=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/502-000001ff", "CHANNEL(language)=en") in new stack
    -- Executing [7777@from-internal:2] Goto("SIP/502-000001ff", "from-pstn,7777,1") in new stack
    -- Goto (from-pstn,7777,1)
    -- Executing [7777@from-pstn:1] NoOp("SIP/502-000001ff", "Catch-All DID Match - Found 7777 - You probably want a DID for this.") in new stack
    -- Executing [7777@from-pstn:2] Set("SIP/502-000001ff", "__FROM_DID=7777") in new stack
    -- Executing [7777@from-pstn:3] Goto("SIP/502-000001ff", "ext-did,s,1") in new stack
    -- Goto (ext-did,s,1)
    -- Executing [s@ext-did:1] ExecIf("SIP/502-000001ff", "0?Set(__FROM_DID=s)") in new stack
    -- Executing [s@ext-did:2] Set("SIP/502-000001ff", "CIDSFSCHEME=QUxMfEFMTA==") in new stack
    -- Executing [s@ext-did:3] AGI("SIP/502-000001ff", "/var/www/html/admin/modules/superfecta/agi/superfecta.agi") in new stack
    -- Launched AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta is Answering the Channel
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: Scheme is ALL
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The DID passed from Asterisk is: s
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The number passed from Asterisk is: 502
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The CID name passed from Asterisk is: Bedrm
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: Executing Scheme..
    -- <SIP/502-000001ff>AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi completed, returning 4
  == Spawn extension (ext-did, s, 3) exited non-zero on 'SIP/502-000001ff'
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [7777@from-internal:1] Macro("SIP/502-00000200", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/502-00000200", "TOUCH_MONITOR=1410684382.544") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/502-00000200", "AMPUSER=502") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/502-00000200", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/502-00000200", "1?Set(REALCALLERIDNUM=502)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/502-00000200", "AMPUSER=502") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/502-00000200", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/502-00000200", "AMPUSERCIDNAME=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/502-00000200", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/502-00000200", "AMPUSERCID=502") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/502-00000200", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/502-00000200", "CALLERID(all)="Bedrm" <502>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/502-00000200", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/502-00000200", "0?Set(GROUP(concurrency_limit)=502)") in new stack
    -- Executing [s@macro-user-callerid:14] GosubIf("SIP/502-00000200", "7?sub-ccss,s,1(from-internal,7777)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/502-00000200", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/502-00000200", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/502-00000200", "0?monitor_config,1(from-internal,7777):monitor_default,1(from-internal,7777)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/502-00000200", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/502-00000200", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/502-00000200", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/502-00000200", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:16] Set("SIP/502-00000200", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("SIP/502-00000200", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/502-00000200", "CALLERID(number)=502") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/502-00000200", "CALLERID(name)=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/502-00000200", "CDR(cnum)=502") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/502-00000200", "CDR(cnam)=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/502-00000200", "CHANNEL(language)=en") in new stack
    -- Executing [7777@from-internal:2] Goto("SIP/502-00000200", "from-pstn,7777,1") in new stack
    -- Goto (from-pstn,7777,1)
    -- Executing [7777@from-pstn:1] NoOp("SIP/502-00000200", "Catch-All DID Match - Found 7777 - You probably want a DID for this.") in new stack
    -- Executing [7777@from-pstn:2] Set("SIP/502-00000200", "__FROM_DID=7777") in new stack
    -- Executing [7777@from-pstn:3] Goto("SIP/502-00000200", "ext-did,s,1") in new stack
    -- Goto (ext-did,s,1)
    -- Executing [s@ext-did:1] ExecIf("SIP/502-00000200", "0?Set(__FROM_DID=s)") in new stack
    -- Executing [s@ext-did:2] Set("SIP/502-00000200", "CIDSFSCHEME=QUxMfEFMTA==") in new stack
    -- Executing [s@ext-did:3] AGI("SIP/502-00000200", "/var/www/html/admin/modules/superfecta/agi/superfecta.agi") in new stack
    -- Launched AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta is Answering the Channel
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: Scheme is ALL
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The DID passed from Asterisk is: s
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The number passed from Asterisk is: 502
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: The CID name passed from Asterisk is: Bedrm
/var/www/html/admin/modules/superfecta/agi/superfecta.agi: CID Superfecta: Executing Scheme..
    -- <SIP/502-00000200>AGI Script /var/www/html/admin/modules/superfecta/agi/superfecta.agi completed, returning 4
 

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
Code:
  == Spawn extension (ext-did, s, 3) exited non-zero on 'SIP/502-00000200'
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [*80501@from-internal:1] Goto("SIP/502-00000201", "ext-intercom,*80501,1") in new stack
    -- Goto (ext-intercom,*80501,1)
    -- Executing [*80501@ext-intercom:1] Macro("SIP/502-00000201", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/502-00000201", "TOUCH_MONITOR=1410684391.545") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/502-00000201", "AMPUSER=502") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/502-00000201", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/502-00000201", "1?Set(REALCALLERIDNUM=502)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/502-00000201", "AMPUSER=502") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/502-00000201", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/502-00000201", "AMPUSERCIDNAME=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/502-00000201", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/502-00000201", "AMPUSERCID=502") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/502-00000201", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/502-00000201", "CALLERID(all)="Bedrm" <502>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/502-00000201", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/502-00000201", "0?Set(GROUP(concurrency_limit)=502)") in new stack
    -- Executing [s@macro-user-callerid:14] GosubIf("SIP/502-00000201", "7?sub-ccss,s,1(ext-intercom,*80501)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/502-00000201", "0?Return()") in new stack
    -- Executing [s@sub-ccss:2] Set("SIP/502-00000201", "CCSS_SETUP=TRUE") in new stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/502-00000201", "0?monitor_config,1(ext-intercom,*80501):monitor_default,1(ext-intercom,*80501)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/502-00000201", "0?is_exten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/502-00000201", "") in new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/502-00000201", "FALSE") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/502-00000201", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:16] Set("SIP/502-00000201", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:17] GotoIf("SIP/502-00000201", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/502-00000201", "CALLERID(number)=502") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/502-00000201", "CALLERID(name)=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/502-00000201", "CDR(cnum)=502") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/502-00000201", "CDR(cnam)=Bedrm") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/502-00000201", "CHANNEL(language)=en") in new stack
    -- Executing [*80501@ext-intercom:2] Set("SIP/502-00000201", "dialnumber=501") in new stack
    -- Executing [*80501@ext-intercom:3] Set("SIP/502-00000201", "INTERCOM_CALL=TRUE") in new stack
    -- Executing [*80501@ext-intercom:4] Gosub("SIP/502-00000201", "sub-record-check,s,1(exten,501)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/502-00000201", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/502-00000201", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/502-00000201", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/502-00000201", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/502-00000201", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/502-00000201", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/502-00000201", "0?exten,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/502-00000201", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/502-00000201", "NOW=1410684391") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/502-00000201", "__DAY=14") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/502-00000201", "__MONTH=09") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/502-00000201", "__YEAR=2014") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/502-00000201", "__TIMESTR=20140914-014631") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/502-00000201", "__FROMEXTEN=502") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/502-00000201", "__CALLFILENAME=exten-501-502-20140914-014631-1410684391.545") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/502-00000201", "exten,1") in new stack
 

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
Code:
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] GotoIf("SIP/502-00000201", "0?callee") in new stack
    -- Executing [exten@sub-record-check:2] Set("SIP/502-00000201", "__REC_POLICY_MODE=dontcare") in new stack
    -- Executing [exten@sub-record-check:3] GotoIf("SIP/502-00000201", "1?caller") in new stack
    -- Goto (sub-record-check,exten,10)
    -- Executing [exten@sub-record-check:10] Set("SIP/502-00000201", "__REC_POLICY_MODE=dontcare") in new stack
    -- Executing [exten@sub-record-check:11] GosubIf("SIP/502-00000201", "0?record,1(exten,501,502)") in new stack
    -- Executing [exten@sub-record-check:12] Return("SIP/502-00000201", "") in new stack
    -- Executing [*80501@ext-intercom:5] GotoIf("SIP/502-00000201", "0?end") in new stack
    -- Executing [*80501@ext-intercom:6] GotoIf("SIP/502-00000201", "0?end") in new stack
    -- Executing [*80501@ext-intercom:7] GotoIf("SIP/502-00000201", "0?allow") in new stack
    -- Executing [*80501@ext-intercom:8] GotoIf("SIP/502-00000201", "0?nointercom") in new stack
    -- Executing [*80501@ext-intercom:9] GotoIf("SIP/502-00000201", "0?nointercom") in new stack
    -- Executing [*80501@ext-intercom:10] Set("SIP/502-00000201", "DEVICES=501") in new stack
    -- Executing [*80501@ext-intercom:11] GotoIf("SIP/502-00000201", "0?end") in new stack
    -- Executing [*80501@ext-intercom:12] Set("SIP/502-00000201", "LOOPCNT=1") in new stack
    -- Executing [*80501@ext-intercom:13] Set("SIP/502-00000201", "_SIPURI=") in new stack
    -- Executing [*80501@ext-intercom:14] Set("SIP/502-00000201", "_ALERTINFO=Alert-Info: Ring Answer") in new stack
    -- Executing [*80501@ext-intercom:15] Set("SIP/502-00000201", "_CALLINFO=Call-Info: <uri>;answer-after=0") in new stack
    -- Executing [*80501@ext-intercom:16] Set("SIP/502-00000201", "_SIPURI=intercom=true") in new stack
    -- Executing [*80501@ext-intercom:17] Set("SIP/502-00000201", "_DOPTIONS=A(beep)") in new stack
    -- Executing [*80501@ext-intercom:18] Set("SIP/502-00000201", "_DTIME=5") in new stack
    -- Executing [*80501@ext-intercom:19] Set("SIP/502-00000201", "_ANSWERMACRO=") in new stack
    -- Executing [*80501@ext-intercom:20] GotoIf("SIP/502-00000201", "0?pagemode") in new stack
    -- Executing [*80501@ext-intercom:21] Macro("SIP/502-00000201", "autoanswer,501") in new stack
    -- Executing [s@macro-autoanswer:1] Set("SIP/502-00000201", "DIAL=SIP/501") in new stack
    -- Executing [s@macro-autoanswer:2] ExecIf("SIP/502-00000201", "0?Set(DIAL=DAHDI/501)") in new stack
    -- Executing [s@macro-autoanswer:3] GotoIf("SIP/502-00000201", "0?macro") in new stack
    -- Executing [s@macro-autoanswer:4] Set("SIP/502-00000201", "phone=PolycomSoundPointIP-SPIP_430-UA/3.2.7.0198") in new stack
    -- Executing [s@macro-autoanswer:5] ExecIf("SIP/502-00000201", "0?Set(CALLINFO=Call-Info: <sip:broadworks.net>;answer-after=0)") in new stack
    -- Executing [s@macro-autoanswer:6] ExecIf("SIP/502-00000201", "0?Set(ALERTINFO=Alert-Info: Intercom)") in new stack
    -- Executing [s@macro-autoanswer:7] ExecIf("SIP/502-00000201", "1?Set(ALERTINFO=Alert-Info: info=Auto Answer)") in new stack
    -- Executing [s@macro-autoanswer:8] ExecIf("SIP/502-00000201", "0?Set(ALERTINFO=Alert-Info: ring-answer)") in new stack
    -- Executing [s@macro-autoanswer:9] ExecIf("SIP/502-00000201", "1?SipAddHeader(Alert-Info: info=Auto Answer)") in new stack
    -- Executing [s@macro-autoanswer:10] ExecIf("SIP/502-00000201", "1?SipAddHeader(Call-Info: <uri>;answer-after=0)") in new stack
    -- Executing [s@macro-autoanswer:11] ExecIf("SIP/502-00000201", "1?Set(__SIP_URI_OPTIONS=intercom=true)") in new stack
    -- Executing [*80501@ext-intercom:22] ChanIsAvail("SIP/502-00000201", "SIP/501,s") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [*80501@ext-intercom:23] GotoIf("SIP/502-00000201", "0?end") in new stack
    -- Executing [*80501@ext-intercom:24] GotoIf("SIP/502-00000201", "0?godial") in new stack
    -- Executing [*80501@ext-intercom:25] Set("SIP/502-00000201", "CONNECTEDLINE(name,i)=Comp") in new stack
    -- Executing [*80501@ext-intercom:26] Set("SIP/502-00000201", "CONNECTEDLINE(num)=501") in new stack
    -- Executing [*80501@ext-intercom:27] Dial("SIP/502-00000201", "SIP/501,5,IA(beep)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/501
    -- Connected line update to SIP/502-00000201 prevented.
    -- SIP/501-00000203 is ringing
    -- Nobody picked up in 5000 ms
    -- Executing [*80501@ext-intercom:28] ExecIf("SIP/502-00000201", "?Return()") in new stack
    -- Executing [*80501@ext-intercom:29] Busy("SIP/502-00000201", "20") in new stack
  == Spawn extension (ext-intercom, *80501, 29) exited non-zero on 'SIP/502-00000201'
voip*CLI>
 

Dan Lawrence

Member
Joined
Jan 4, 2008
Messages
47
Reaction score
9
I put together a new install of PiAF on a VM for further testing. It gives me the same results (no auto answer) so I think I can rule out the hosting provider as the source of the problem.
 

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
Are you testing using the same phone? I think I might have an IP430 running an older firmware at my office
BTW I'm curious
I set up the phones using OSS PBX End Point Manager version 2.11.7 which worked very well
are you doing this remotely?
 

EndeavorPBX

Member
Joined
May 18, 2011
Messages
53
Reaction score
6
I use the VVX phones, so my experience may be different than yours.

In looking at my configuration, I think your alertInfo value needs to be "Auto Answer" (without the quotes).
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top