[arm-allstar] New RPI2 installation IAXRpt drops out.

B. McIntosh [Pace] bmcintosh at paceprofessional.co.uk
Tue Aug 4 05:25:01 EST 2015


Hi,

I've been operating BBB for a while, but have a new remote base that I want
to control with the RPI2 image.  Plan is to use iaxrpt dispatch software.

I have some success but its not working well.

Firstly, I reboot rpi2 then run iaxrpt on Win 7 PC. (same subnet) reports
successful connection but there is no audio.  Problem resolved by executing
asterik -r, followed by reload.

Then all is well for a few minutes. Audio just stops, iaxrpt says that it is
still connected. 

Iaxrpt reports "Linking delayed by inactivity" "Busy set call =0"  "Buy
clear call = 0" and a few other similar  messages which I can reproduce if
relevant (it doesn't seem to be esy to export the log, messages all have to
be retyped by hand) . It isn't clear if there is any correlation between
these iaxrpt messages and the problem.

Turning to the rPI2. 

When I do a reload of asterisk I get some messages that do not look right.
See further below.

When I check the /var/log/asterisk/messages file there are also some things
not right. See below

I have done nothing but install as per Doug's scripts and have two specific
questions:

1. Is there generally success with Iaxrpt and the RPI2 v1.0 image ?
2. Any ideas on how to track down this problem ?

Tnx and 73

Bernie GM4WZG

Messages file
____________________________________________________________________________
__

[Aug  4 12:13:09] NOTICE[1234] cdr.c: CDR simple logging enabled.
[Aug  4 12:13:09] NOTICE[1234] dnsmgr.c: Managed DNS entries will be
refreshed every 300 seconds.
[Aug  4 12:13:09] NOTICE[1234] indications.c: Removed default indication
country 'us'
[Aug  4 12:13:09] NOTICE[1234] chan_iax2.c: Ignoring bindport on reload
[Aug  4 12:13:09] NOTICE[1234] chan_iax2.c: Ignoring bindaddr on reload
[Aug  4 12:13:09] WARNING[1234] acl.c:  is not a valid IP
[Aug  4 12:13:09] WARNING[1234] iax2-provision.c: No IAX provisioning
configuration found, IAX provisioning disabled.
[Aug  4 12:13:09] WARNING[1234] chan_dahdi.c: Ignoring signalling
[Aug  4 12:13:09] WARNING[1277] file.c: Failed to write frame
[Aug  4 12:13:09] WARNING[1277] app_rpt.c: ast_streamfile rpt/node failed on
DAHDI/pseudo-1013024235
[Aug  4 12:13:09] WARNING[1277] app_rpt.c: ast_streamfile failed on
DAHDI/pseudo-1013024235
[Aug  4 12:13:57] NOTICE[1428] cdr.c: CDR simple logging enabled.
[Aug  4 12:13:57] NOTICE[1428] dnsmgr.c: Managed DNS entries will be
refreshed every 300 seconds.
[Aug  4 12:13:57] NOTICE[1428] indications.c: Removed default indication
country 'us'
[Aug  4 12:13:57] NOTICE[1428] chan_iax2.c: Ignoring bindport on reload
[Aug  4 12:13:57] NOTICE[1428] chan_iax2.c: Ignoring bindaddr on reload
[Aug  4 12:13:57] WARNING[1428] acl.c:  is not a valid IP
[Aug  4 12:13:57] WARNING[1428] iax2-provision.c: No IAX provisioning
configuration found, IAX provisioning disabled.
[Aug  4 12:13:57] WARNING[1428] chan_dahdi.c: Ignoring signalling
[Aug  4 12:16:08] NOTICE[1444] cdr.c: CDR simple logging enabled.
[Aug  4 12:16:08] NOTICE[1444] dnsmgr.c: Managed DNS entries will be
refreshed every 300 seconds.
[Aug  4 12:16:08] NOTICE[1444] indications.c: Removed default indication
country 'us'
[Aug  4 12:16:09] NOTICE[1444] chan_iax2.c: Ignoring bindport on reload
[Aug  4 12:16:09] NOTICE[1444] chan_iax2.c: Ignoring bindaddr on reload
[Aug  4 12:16:09] WARNING[1444] acl.c:  is not a valid IP
[Aug  4 12:16:09] WARNING[1444] iax2-provision.c: No IAX provisioning
configuration found, IAX provisioning disabled.
[Aug  4 12:16:09] WARNING[1444] chan_dahdi.c: Ignoring signalling
[root at mrt ~]#

____________________________________________________________________________
___________________

here is the reload output
____________________________________________________________________________
_________________

 mrt*CLI> reload
[Aug  4 12:13:57] NOTICE[1428]: cdr.c:1416 do_reload: CDR simple logging
enabled
.
  == Parsing '/etc/asterisk/dnsmgr.conf': Found
[Aug  4 12:13:57] NOTICE[1428]: dnsmgr.c:394 do_reload: Managed DNS entries
will
be refreshed every 300 seconds.
  == Parsing '/etc/asterisk/manager.conf': Found
  == RTP Allocating from port range 5000 -> 31000
  == Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger restarted
Asterisk Queue Logger restarted
    -- Reloading module 'res_features.so' (Call Features Resource)
  == Parsing '/etc/asterisk/features.conf': Found
    -- Added extension '700' priority 1 to parkedcalls
    -- Reloading module 'res_crypto.so' (Cryptographic Digital Signatures)
    -- Reloading module 'res_indications.so' (Indications Resource)
[Aug  4 12:13:57] NOTICE[1428]: indications.c:506
ast_unregister_indication_coun
try: Removed default indication country 'us'
    -- Unregistered indication country 'us'
    -- Unregistered indication country 'au'
    -- Unregistered indication country 'fr'
    -- Unregistered indication country 'de'
    -- Unregistered indication country 'nl'
    -- Unregistered indication country 'uk'
    -- Unregistered indication country 'fi'
    -- Unregistered indication country 'no'
  == Parsing '/etc/asterisk/indications.conf': Found
    -- Registered indication country 'us'
    -- Registered indication country 'au'
    -- Registered indication country 'fr'
    -- Registered indication country 'de'
    -- Registered indication country 'nl'
    -- Registered indication country 'uk'
    -- Registered indication country 'fi'
    -- Registered indication country 'no'
    -- Setting default indication country to 'us'
    -- Reloading module 'app_rpt.so' (Radio Repeater/Remote Base
Application)
  == Parsing '/etc/asterisk/rpt.conf': Found
    -- Reloading module 'codec_dahdi.so' (Generic DAHDI Transcoder Codec
Transla
tor)
    -- Reloading module 'pbx_config.so' (Text Extension Configuration)
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Re-Loading config for repeater 12345
  == Setting global variable 'HOMENPA' to '215'
    -- Re-Loading config for repeater 1999
  == Parsing '/etc/asterisk/rpt.conf':     -- Registered extension context
'defa
ult'
  == Parsing '/etc/asterisk/rpt.conf': Found
    -- Added extension 'i' priority 1 to default
    -- Registered extension context 'radio-secure'
Found
    -- Added extension '12345' priority 1 to radio-secure
    -- Added extension '1999' priority 1 to radio-secure
    -- Registered extension context 'radio-secure-proxy'
    -- Added extension '12345' priority 1 to radio-secure-proxy
    -- Added extension '_0X.' priority 1 to radio-secure-proxy
    -- Registered extension context 'radio-iaxrpt'
    -- Added extension '12345' priority 1 to radio-iaxrpt
    -- Added extension '1999' priority 1 to radio-iaxrpt
    -- Registered extension context 'myphone'
    -- Registered extension context 'pstn-out'
    -- Added extension '_NXXNXXXXXX' priority 1 to pstn-out
    -- Added extension '_NXXNXXXXXX' priority 2 to pstn-out
    -- Registered extension context 'invalidnum'
    -- Added extension 's' priority 1 to invalidnum
    -- Added extension 's' priority 2 to invalidnum
    -- Added extension 's' priority 3 to invalidnum
    -- Added extension 's' priority 4 to invalidnum
    -- Registered extension context 'radio'
    -- Added extension '_X11' priority 1 to radio
    -- Added extension '_NXXXXXX' priority 1 to radio
    -- Added extension '_1XXXXXXXXXX' priority 1 to radio
    -- Added extension '_07XX' priority 1 to radio
    -- Added extension '00' priority 1 to radio
    -- Registered extension context 'check_route'
    -- Added extension '_1800NXXXXXX' priority 2 to check_route
    -- Added extension '_1888NXXXXXX' priority 2 to check_route
    -- Added extension '_1877NXXXXXX' priority 2 to check_route
    -- Added extension '_1866NXXXXXX' priority 2 to check_route
    -- Added extension '_1855NXXXXXX' priority 2 to check_route
    -- Added extension '_1X00XXXXXXX' priority 2 to check_route
    -- Added extension '_1X11XXXXXXX' priority 2 to check_route
    -- Added extension '_X11' priority 2 to check_route
    -- Added extension '_1NXX555XXXX' priority 2 to check_route
    -- Added extension '_1NXX976XXXX' priority 2 to check_route
    -- Added extension '_1809XXXXXXX' priority 2 to check_route
    -- Added extension '_1900XXXXXXX' priority 2 to check_route
    -- Added extension '_1NXXXXXXXXX' priority 1 to check_route
    -- Added extension '_X.' priority 2 to check_route
    -- Registered extension context 'my-ip'
    -- Added extension 's' priority 1 to my-ip
    -- Added extension 's' priority 2 to my-ip
    -- Added extension 's' priority 3 to my-ip
    -- Added extension 's' priority 4 to my-ip
    -- Registered extension context 'allstar-sys'
    -- Added extension '0' priority 1 to allstar-sys
    -- Added extension '0' priority 2 to allstar-sys
    -- Added extension '0' priority 3 to allstar-sys
    -- Added extension '_0.' priority 1 to allstar-sys
    -- Added extension '_0.' priority 2 to allstar-sys
    -- Added extension '_0.' priority 3 to allstar-sys
    -- Added extension '_1.' priority 1 to allstar-sys
    -- Added extension '_1.' priority 2 to allstar-sys
    -- Added extension '_2.' priority 1 to allstar-sys
    -- Added extension '_2.' priority 2 to allstar-sys
    -- Added extension '_2.' priority 3 to allstar-sys
    -- Added extension '_2.' priority 4 to allstar-sys
    -- Added extension '_2.' priority 5 to allstar-sys
    -- Added extension '_2.' priority 6 to allstar-sys
    -- Added extension '_2.' priority 7 to allstar-sys
    -- Added extension '_3.' priority 1 to allstar-sys
    -- Added extension '_3.' priority 2 to allstar-sys
    -- Added extension '_3.' priority 3 to allstar-sys
    -- Added extension '_3.' priority 4 to allstar-sys
    -- Added extension '_3.' priority 5 to allstar-sys
    -- Added extension '_3.' priority 6 to allstar-sys
    -- Added extension '_3.' priority 7 to allstar-sys
    -- Added extension '_4.' priority 1 to allstar-sys
    -- Added extension '_4.' priority 2 to allstar-sys
    -- Added extension '_4.' priority 3 to allstar-sys
    -- Added extension '_4.' priority 4 to allstar-sys
    -- Added extension '_4.' priority 5 to allstar-sys
    -- Added extension '_4.' priority 6 to allstar-sys
    -- Added extension '_4.' priority 7 to allstar-sys
    -- Added extension '_5.' priority 1 to allstar-sys
    -- Added extension '_5.' priority 2 to allstar-sys
    -- Added extension '_5.' priority 3 to allstar-sys
    -- Added extension '_5.' priority 4 to allstar-sys
    -- Added extension '_5.' priority 5 to allstar-sys
    -- Added extension '_5.' priority 6 to allstar-sys
    -- Added extension '_5.' priority 7 to allstar-sys
    -- Registered extension context 'allstar-public'
    -- Added extension 's' priority 1 to allstar-public
    -- Added extension 's' priority 2 to allstar-public
    -- Added extension 's' priority 3 to allstar-public
    -- Added extension 's' priority 4 to allstar-public
    -- Added extension 's' priority 5 to allstar-public
    -- Added extension 's' priority 6 to allstar-public
    -- Added extension 's' priority 7 to allstar-public
    -- Added extension 's' priority 8 to allstar-public
    -- Added extension 's' priority 9 to allstar-public
    -- Added extension 's' priority 10 to allstar-public
    -- Added extension 's' priority 11 to allstar-public
    -- Added extension 's' priority 12 to allstar-public
    -- Added extension 's' priority 13 to allstar-public
    -- Added extension 's' priority 14 to allstar-public
    -- Added extension 's' priority 15 to allstar-public
    -- Added extension 's' priority 16 to allstar-public
    -- Added extension 's' priority 17 to allstar-public
    -- Added extension '9999' priority 1 to allstar-public
    -- Reloading module 'codec_g726.so' (ITU G.726-32kbps G726 Transcoder)
    -- Reloading module 'app_playback.so' (Sound File Playback Application)
    -- Reloading module 'chan_iax2.so' (Inter Asterisk eXchange (Ver 2))
  == Parsing '/etc/asterisk/iax.conf': Found
[Aug  4 12:13:57] NOTICE[1428]: chan_iax2.c:11446 set_config: Ignoring
bindport
on reload
[Aug  4 12:13:57] NOTICE[1428]: chan_iax2.c:11505 set_config: Ignoring
bindaddr
on reload
[Aug  4 12:13:57] WARNING[1428]: acl.c:345 ast_append_ha:  is not a valid IP
  == Loaded firmware 'iaxy.bin'
[Aug  4 12:13:57] WARNING[1428]: iax2-provision.c:519 iax_provision_reload:
No I
AX provisioning configuration found, IAX provisioning disabled.
    -- Reloading module 'codec_adpcm.so' (Adaptive Differential PCM
Coder/Decode
r)
    -- Reloading module 'codec_ulaw.so' (mu-Law Coder/Decoder)
    -- Reloading module 'chan_dahdi.so' (DAHDI Telephony)
  == Parsing '/etc/asterisk/chan_dahdi.conf': Found
[Aug  4 12:13:57] WARNING[1428]: chan_dahdi.c:11652 process_dahdi: Ignoring
sign
alling
    -- Reconfigured channel -2, Pseudo signalling
    -- Reloading module 'codec_alaw.so' (A-law Coder/Decoder)
    -- Reloading module 'codec_gsm.so' (GSM Coder/Decoder)
mrt*CLI>

_______________________________________________________________________




More information about the arm-allstar mailing list