Paging

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Paging

Postby husseinb » Mon Nov 12, 2012 10:27 am

Hello,

I have synology NAS with Asterisk/1.8.13.1. I have a problem in setting up paging group. I have configured extension 6400 as the paging group number and added few phones to it. the IP phones (grandstream) are configured with auto-answer for intercom/paging. Whenever I call the paging number 6400 I get busy tone and "no response" message on the phone display. I appreciate if somebody can help.

Regards,
Hussein
husseinb
Newsterisk
 
Posts: 7
Joined: Mon Nov 12, 2012 10:19 am

Re: Paging

Postby david55 » Mon Nov 12, 2012 10:31 am

Paging groups sound like an Asterisk GUI concept, not an Asterisk one.

Try calling a single device with Dial and capture the SIP protocol with sip set debug on; it is very difficult to debug anything without hard evidence.
david55
Moves Like Spencer
 
Posts: 10526
Joined: Fri Sep 26, 2008 5:03 am

Re: Paging

Postby husseinb » Mon Nov 12, 2012 12:34 pm

I did packet capturing:

SIP/2.0 603 Declined
Via: SIP/2.0/UDP 192.168.0.111:38334;branch=z9hG4bK541837530;received=192.168.0.111;rport=38334
From: <sip:6001@sip.hmb.mine.nu>;tag=1857631298
To: <sip:6400@sip.hmb.mine.nu>;tag=as6998a6fc
Call-ID: 668572818-38334-18@BJC.BGI.A.BBB
CSeq: 170 INVITE
Server: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
husseinb
Newsterisk
 
Posts: 7
Joined: Mon Nov 12, 2012 10:19 am

Re: Paging

Postby david55 » Mon Nov 12, 2012 12:42 pm

Why does no-one ever start at the beginning of the INVITE!

RFC 3261:

21.6.2 603 Decline

The callee's machine was successfully contacted but the user
explicitly does not wish to or cannot participate. The response MAY
indicate a better time to call in the Retry-After header field. This
status response is returned only if the client knows that no other
end point will answer the request.


The phone is almost certainly not suitable configured. If you sent the auto-answer header, this probably means you didn't configure the phone to accept this security violation (if phones auto-answered by default, they could easily be used for bugging an area).
david55
Moves Like Spencer
 
Posts: 10526
Joined: Fri Sep 26, 2008 5:03 am

Re: Paging

Postby husseinb » Mon Nov 12, 2012 1:27 pm

Hello, Thanks for your response

Kindly, find the below the invite message
Via: SIP/2.0/UDP 192.168.0.111:38334;branch=z9hG4bK1638633231;rport
From: <sip:6001@sip.hmb.mine.nu>;tag=193093513
To: <sip:6400@sip.hmb.mine.nu>
Call-ID: 1396043874-38334-21@BJC.BGI.A.BBB
CSeq: 200 INVITE
Contact: <sip:6001@192.168.0.111:38334>
Max-Forwards: 70
User-Agent: Grandstream GXV3175 1.0.3.74
Privacy: none
P-Preferred-Identity: <sip:6001@sip.hmb.mine.nu>
Supported: replaces, path, timer, eventlist
Call-Info: <sip:192.168.0.111>;answer-after=0
Alert-Info: <sip:192.168.0.111>;info=alert-autoanswer;delay=0
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 214

It looks that the info=alert-autoanswer is sent. I could not find in the grandstream any config related to security violation. Is it a problem in the calling or called party?
husseinb
Newsterisk
 
Posts: 7
Joined: Mon Nov 12, 2012 10:19 am

Re: Paging

Postby david55 » Mon Nov 12, 2012 1:32 pm

This appears to have come from the phone, not Asterisk.

The documentation won't tell you that it is a security violation, but that doesn't remove the fact that forcing a phone to auto-answer creates a security issue.

However, if the phone can auto-answer, it should document how to enable that, and I would very much hope it wasn't enabled by default.
david55
Moves Like Spencer
 
Posts: 10526
Joined: Fri Sep 26, 2008 5:03 am

Re: Paging

Postby husseinb » Thu Dec 20, 2012 11:04 am

Hello,

I am sure that the problem is in the Asterisk. I have tried many IP phones such as Grandstream, CIsco and various soft phones. However, I always get the same results.

Thanks
husseinb
Newsterisk
 
Posts: 7
Joined: Mon Nov 12, 2012 10:19 am

Re: Paging

Postby husseinb » Wed Dec 26, 2012 9:15 am

Hello,

I found the following message on CLI:

[Dec 26 18:15:15] WARNING[13806]: pbx.c:4218 pbx_extension_helper: No application 'Page' for extension (macro-pagingintercom, s, 2)

Anybody how to resolve this issue?
husseinb
Newsterisk
 
Posts: 7
Joined: Mon Nov 12, 2012 10:19 am

Re: Paging

Postby malcolmd » Wed Dec 26, 2012 9:24 am

That means app_page isn't loaded; or, more likely, wasn't compiled.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 2696
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: Paging

Postby husseinb » Wed Dec 26, 2012 10:20 am

I have Asterisk installed on Synology DiskStation. How can install paging module on it.

Thanks
husseinb
Newsterisk
 
Posts: 7
Joined: Mon Nov 12, 2012 10:19 am

Re: Paging

Postby malcolmd » Wed Dec 26, 2012 10:23 am

No clue; good luck.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 2696
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: Paging

Postby david55 » Wed Dec 26, 2012 10:54 am

How did you install it originally. If from source, rebuild using make menuconfig to select the module. Otherwise you may need to contact the person who installed it or produced the packages.

It looks to me as though you will need to contact Synology, as it looks like they installed it and it looks like the device is intended to be used as an "appliance", not as a user programmable general purpose computer.
david55
Moves Like Spencer
 
Posts: 10526
Joined: Fri Sep 26, 2008 5:03 am

Re: Paging

Postby husseinb » Thu Dec 27, 2012 1:51 am

Thanks David,

Yes, it is installed as an add on Synology appliance. I will contact Synology. BTW, I have installed Asterisknow on a virtual machine for testing and paging worked like a charm on all my grandstream and linksys phones.

Thanks again.
husseinb
Newsterisk
 
Posts: 7
Joined: Mon Nov 12, 2012 10:19 am


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 16 guests