VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ldardini at gmail.com Guest
|
Posted: Wed Oct 22, 2014 4:43 pm Post subject: [asterisk-users] SPA504G auto answer |
|
|
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);
Any other ideas?
Leandro
PS
I have set the "Auto Answer Page" to yes |
|
Back to top |
|
|
lmoore at omninet.net.au Guest
|
Posted: Thu Oct 23, 2014 3:58 am Post subject: [asterisk-users] SPA504G auto answer |
|
|
On 23/10/2014 5:43 AM, Leandro Dardini wrote:
Quote: | 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.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
lmoore at omninet.net.au Guest
|
Posted: Thu Oct 23, 2014 5:42 am Post subject: [asterisk-users] SPA504G auto answer |
|
|
On 23/10/2014 4:57 PM, Larry Moore wrote:
Quote: |
On 23/10/2014 5:43 AM, Leandro Dardini wrote:
Quote: | 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.
|
Hmm, my SPA525G doesn't auto-answer a page however my SPA92X do.
The above is for paging, I use a macro to perform an intercom, here is
what I have in my extensions.ael.
<context> {
_8XXX => {
&sip_intercom(${EXTEN:1});
};
};
macro sip_intercom( extension ) {
ChanIsAvail(SIP/${LOCAL(extension)},s);
NoOp(**** Status : ${AVAILSTATUS} ****);
switch(${AVAILSTATUS}) {
case 1:
Set(TIMEOUT(absolute)=1920);
SIPAddHeader(Alert-Info: Ring Answer);
SIPAddHeader(Alert-Info: Info=Alert-Autoanswer);
SIPAddHeader(Alert-Info: info=ringAutoAnswer);
SIPAddHeader(Call-Info:\;Answer-After=0);
SIPAddHeader(P-Auto-Answer: normal);
SIPAddHeader(Answer-Mode: Auto);
Dial(SIP/${LOCAL(extension)});
Hangup();
break;
case 2:
Busy();
Hangup();
break;
case 5:
Congestion();
Hangup();
break;
default:
PlayBack(invalid);
Hangup();
break;
};
return;
};
Larry.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
lmoore at omninet.net.au Guest
|
Posted: Thu Oct 23, 2014 6:20 am Post subject: [asterisk-users] SPA504G auto answer |
|
|
On 23/10/2014 6:41 PM, Larry Moore wrote:
<snip>
Quote: | Quote: | 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()
|
| <snip>
Quote: |
Hmm, my SPA525G doesn't auto-answer a page however my SPA92X do.
| <snip>
Just upgraded the firmware on my SPA525G from 7.5.4 to 7.5.6 and the
paging function is now working!
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
lmoore at omninet.net.au Guest
|
Posted: Tue Nov 04, 2014 7:29 am Post subject: [asterisk-users] SPA504G auto answer |
|
|
On 23/10/2014 4:57 PM, Larry Moore wrote:
Quote: |
On 23/10/2014 5:43 AM, Leandro Dardini wrote:
Quote: | 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()
|
In the process of setting up another system, there is an additional
requirement for the multicast paging to work.
Asterisk will need to know where to route the multicast traffic, on your
Asterisk system, check your routing table and see if there is a route to
the multicast address through the interface which connects to your
phones. If not, create a routing entry, in this case to 224.168.168.168
through the desired interface.
Larry.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|