On 23/10/2014 5:43 AM, Leandro Dardini wrote:> Hello,
> I am struggling to have a SPA504G to auto answer (for intercom/paging).
> I have tried the following SIP headers (not all together), but without
> luck:
>
> SIPAddHeader(Call-Info:\;answer-after=0);
> SIPAddHeader(Call-Info: answer-after=0);
> SIPAddHeader(Alert-Info: info=intercom);
> SIPAddHeader(Alert-Info: Ring Answer);
> SIPAddHeader(P-Auto-Answer: normal);
>
What does your dialplan look like that makes the paging call?
Listing from my Asterisk:
'8000' => 1. Set(SIP_CODEC=alaw)
2.
Dial(MulticastRTP/linksys/224.168.168.168:45678/224.168.168.168:6061)
3. Hangup()
Using the Web Interface on you SPA501, log in as admin and select the
advanced view. Select the SIP tab, down the bottom of the page there is
a section headed 'Linksys Key System Parameters'.
You will want settings much like
Linksys Key System: yes
Multicast Address: 224.168.168.168:6061
Key System Auto Discovery: no
Key System IP Address: <leave blank>
Force LAN Codec: 711a <may be set to none, G711a or G711u>
Auto Ans GrPage On Active Call: no
Select the User tab and check
Auto Answer Page: yes
If you have it all configured much like I have listed hear and it still
doesn't work then you need to check the firewall configuration on your
Asterisk system and ensure it is allowing outbound Multicast traffic.
Larry.