[asterisk-users] problems with unicall

Moises Silva moises.silva at gmail.com
Wed May 12 21:35:48 CDT 2010


I already replied to you in the asterisk-r2 mailing list. Your lines are
blocked, the log is telling you that:

[May 12 08:58:43] WARNING[2689]: chan_unicall.c:1034 unicall_call: Make call
failed - Blocked

The only way you get that is if the line is blocked ( rx ABCD bits are 1101
or equivalent blocked for your country ) or the line is configured only for
incoming calls ( not possible since chan_unicall.c hard-codes that parameter
to allow calls in both ways ).

Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
Canada
t. 1 905 474 1990 x 128 | e. moy at sangoma.com


On Wed, May 12, 2010 at 5:03 PM, Marcelo nunes dos santos <
marcelo7889 at gmail.com> wrote:

> Hello,
>
>  i'm using asterisk 1.4.9 in fedora 7, i was compiled its with this
> package:
>
>
> libpri-1.4.2
> asterisk-1.4.9
> spandsp-0.0.4
> unicall-0.0.5pre1
>    libmfcr2-0.0.3
>    libsupertone-0.0.2
>    libunicall-0.0.3
> zaptel-1.4.4
>
> i'm using a E1 pci card with R2 but they not work, when I start the
> asterisk its generate this log:
>
>
>
> [May 12 08:53:24] WARNING[30814] channel.c: No channel type registered for
> 'Unicall'
> [May 12 08:53:24] WARNING[30814] app_dial.c: Unable to create channel of
> type 'Unicall' (cause 66 - Channel not implemented)
> [May 12 08:54:47] NOTICE[2613] cdr.c: CDR simple logging enabled.
> [May 12 08:54:47] NOTICE[2613] loader.c: 146 modules will be loaded.
> [May 12 08:54:49] WARNING[2613] res_smdi.c: No SMDI interfaces are
> available to listen on, not starting SDMI listener.
> [May 12 08:54:50] WARNING[2613] chan_sip.c: insecure=very at line 37 is
> deprecated; use insecure=port,invite instead
> [May 12 08:54:50] WARNING[2613] chan_zap.c: Unable to specify channel 1:
> Device or resource busy
> [May 12 08:54:50] ERROR[2613] chan_zap.c: Unable to open channel 1: Device
> or resource busy
> here = 0, tmp->channel = 1, channel = 1
> [May 12 08:54:50] ERROR[2613] chan_zap.c: Unable to register channel
> '1-15,17-31'
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: Starting AEL load process.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: calculated
> config file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] WARNING[2613] ael.y: ==== File:
> /etc/asterisk/extensions.ael, Line 112, Cols: 34-34: Warning! The empty
> context ael-dundi-e164-canonical will be IGNORED!
> [May 12 08:54:50] WARNING[2613] ael.y: ==== File:
> /etc/asterisk/extensions.ael, Line 120, Cols: 34-34: Warning! The empty
> context ael-dundi-e164-customers will be IGNORED!
> [May 12 08:54:50] WARNING[2613] ael.y: ==== File:
> /etc/asterisk/extensions.ael, Line 128, Cols: 33-33: Warning! The empty
> context ael-dundi-e164-via-pstn will be IGNORED!
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: parsed config
> file name '/etc/asterisk/extensions.ael'
> .
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 141-145: The included context
> 'ael-dundi-e164-canonical' cannot be found.
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 141-145: The included context
> 'ael-dundi-e164-customers' cannot be found.
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 141-145: The included context
> 'ael-dundi-e164-via-pstn' cannot be found.
> [May 12 08:54:50] WARNING[2613] pbx_ael.c: Warning: file
> /etc/asterisk/extensions.ael, line 276-283: The included context
> 'ael-parkedcalls' cannot be found.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: checked config
> file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: compiled config
> file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] NOTICE[2613] pbx_ael.c: AEL load process: merged config
> file name '/etc/asterisk/extensions.ael'.
> [May 12 08:54:50] WARNING[2613] pbx.c: Context 'ael-local' tries includes
> nonexistent context 'ael-parkedcalls'
>
> my file unicall.conf is this:
>
>
> [channels]
>
> context=e1-inline
> usecallerid=yes
> hidecallerid=no
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> relaxdtmf=yes
> callgroup=1
> pickupgroup=1
> immediate=no
> callerid=asreceived
> musiconhold=default
> protocolclass=mfcr2
> protocolvariant=br,20,20,20
> protocolend=cpe
> group=1
> channel => 1-15
> channel => 17-31
>
> and when i do any dial by asterisk return this:
>
>
> The 'dial' command is deprecated and will be removed in a future release.
> Please use 'console dial' instead.
>   == Console is full duplex
>     -- Executing [208 at ext-local:1] Dial("OSS/dsp", "Unicall/g1/32719595")
> in new stack
> [May 12 08:58:43] WARNING[2689]: chan_unicall.c:1034 unicall_call: Make
> call failed - Blocked
>     -- Couldn't call g1/32719595
>     -- Hungup 'UniCall/1-1'
>   == Everyone is busy/congested at this time (0:0/0/0)
>   == Auto fallthrough, channel 'OSS/dsp' status is 'CHANUNAVAIL'
>
>
>
> can somebody help me?
>
> Sorry for my english.
>
> Marcelo Nunes Dos santos
> --------------------------------------------------------------------------
> TI Savarsul - nunes at savarsul.com.br
> Blog: makelinux.com.br
> Email/MSN: marcelo7889 at gmail.com
> twitter: www.twitter.com/marcelonunes
>
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100512/40ccc493/attachment.htm 


More information about the asterisk-users mailing list