Unicall 0.0.5 & spandsp 0.0.4 with Asterisk 1.4.9

Most recent version of Asterisk can now work with most recent version of unicall.

Download here: http://www.moythreads.com/astunicall/downloads/astunicall-1.4.9-0.1.tar.gz

Not much testing has been done. If you find problems report them and I wil do what I can to fix them.

19 Responses to “Unicall 0.0.5 & spandsp 0.0.4 with Asterisk 1.4.9”

  1. fermvilla says:

    Thanx for all the time spent on my telco installation moy…..system is operational and holding on!!! With the exception of the fu…ing sampling noise introduced by some incompatibily with my hp ml150 server and the te110p card…but works with the simple ztspeed lop workaround…keep up the good work!!!

  2. latre says:

    Hi fermvilla, you E1 is a R2 of telmex ??

    The calls that you make and recive are ok??…..not cut?

    Can you talk more about this??

    Hey Moy…..if you want i have a server with TE110P R2 of telmex….we can make tests in weekends…..

    latrew at gmail dot com

  3. moy says:

    Hi Latre, yes, im interested in testing this a little bit more. I had a strange problem with the package in a new installation where ./configure script will NOT generate the Makefile for asterisk, so I had to download asterisk manually instead of using the one already included in the astunicall package.

    do you have MSN? latrew at google mail is your MSN as well?

  4. crav says:

    Hi, I already installed all astunicall-1.4.9-0.1.tar.gz pack :) , but I have a problem asterisk start without problem but… I can’t see any channel….

    *CLI> UC show channels
    Channel Extension Context Status Language MusicOnHold
    *CLI>

    my zaptel.conf

    span=1,1,0,cas,hdb3
    cas=1-15:1101
    cas=17-31:1101
    loadzone = us
    defaultzone = us

    my unicall.conf

    [Channels]
    ;ISS_GHOST_CONTEXT[0:0]
    language=en
    ;context=digital_incoming_0_0
    context=digital-avantel
    usecallerid=yes
    hidecallerid=no
    [channels]
    usecallerid=yes
    hidecallerid=no
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=yes
    echotraining=yes
    rxgain=0.0
    txgain=0.0
    callgroup=1
    pickupgroup=1
    immediate=no
    musiconhold=default
    protocolclass=mfcr2
    protocolvariant=br,0,10,4
    # or protocolvariant=br,10,4
    protocolend=cpe
    group = 0
    context= e1-incoming
    channel => 1-15
    channel => 17-31

    Any idea ???

  5. moy says:

    can you give me ssh access to your installation?

    If so, contact me via MSN, my addr is moises.silva at gmail dot com

  6. moy says:

    crav installation did not work just because he forgot/neglected to install libmfcr2 included in the astunicall package. Now is working…

  7. leonardo says:

    Hi Moy,

    I found a problem on this version.

    Look….

    1 – When I execute “core show channels”, the asterisk don’t stop to show the active channels. (Loop core show channes)

    2 – I’ve 15 simultaneous calls (Unicall channel). In some cases this channels do not hangup and after a period all the Unicall channels are busy (zoombie).

    Thanks a lot!!!

  8. moy says:

    leonardo:

    If you still have this problem contact me and give me ssh access to the buggy box to troubleshoot and see what we can do.

  9. amjt says:

    Hi, I already installed the astunicall and i can recive incoming calls but when i try to call out the asterisk make the call and in first ring sound of the destination number asterisk hung up the call and i hear ‘”the person is try to calling is unavailable please try again” and asterisk cli show me this error

    [Oct 24 09:47:47] NOTICE[2608]: chan_unicall.c:2589 handle_uc_event: Unicall/1 event Proceeding
    [Oct 24 09:47:47] NOTICE[2608]: chan_unicall.c:2589 handle_uc_event: Unicall/1 event Far end disconnected
    [Oct 24 09:47:47] NOTICE[2608]: chan_unicall.c:2874 handle_uc_event: CRN 32771 – far disconnected cause=Switching equipment congestion [42]
    — Channel 0 got hangup
    — UniCall/1-1 is circuit-busy
    — Hungup ‘UniCall/1-1′
    [Oct 24 09:47:47] NOTICE[2608]: cdr.c:434 ast_cdr_free: CDR on channel ‘UniCall/1-1′ not posted
    == Everyone is busy/congested at this time (1:0/1/0)
    — Executing [s@macro-trunkdial:2] Goto(“SIP/6000-08672190″, “s-CONGESTION|1″) in new stack
    — Goto (macro-trunkdial,s-CONGESTION,1)
    — Executing [s-CONGESTION@macro-trunkdial:1] NoOp(“SIP/6000-08672190″, “”) in new stack
    == Auto fallthrough, channel ‘SIP/6000-08672190′ status is ‘CONGESTION’
    [Oct 24 09:47:47] NOTICE[2214]: chan_unicall.c:2589 handle_uc_event: Unicall/1 event Drop call
    [Oct 24 09:47:47] NOTICE[2214]: chan_unicall.c:2589 handle_uc_event: Unicall/1 event Release call
    — Unicall/1 released

    someone knows this problem??
    Forgiveness for my English

  10. plhung says:

    HI
    you need configured zaptel version is correct, driver for card E1

    BestRegards

  11. lamthenhan says:

    Hi Moy,

    I had install driver for my E1 Card … OK !
    I tried to install astunicall 1.4.9-0.1 packages. But I can’t success (I tried install follow guide at http://www.soft-switch.org/unicall/installing-mfcr2.html).
    I don’t know why , I don’t see anything such as : UC show channels,status,… in ‘Asterisk CLI>’ … Can you give me the reason about this ?
    Can you show me how to install unicall for MFC/R2 step by step…:) if you can.

    Thanks a lot !

  12. moy says:

    probably you did not load the chan_unicall.so module.

    I eventually will post a guide in the blog, but cannot give you a date for that.

  13. lamthenhan says:

    hi Moy,

    Thanks for reply.
    But how can i load chan_unicall.so module ?
    (What is command or edit any files?)

    Regards!

  14. lamthenhan says:

    hi amjt,

    Can you help me in this case ?
    How can i load chan_unicall.so module ?
    according to above post …. maybe you install MFC/R2 successful.

    thanks amjt !

  15. moy says:

    Asterisk 1.2.x

    CLI> load chan_unicall.so

    Asterisk 1.4

    CLI> module load chan_unicall.so

  16. Omar Perez says:

    Como estas bueno les cuento que hable con la gente de telecom y me digeron:
    Piloto primario: 5939260
    Tango MDE: 5939260 – 5939269
    Digitos q se envian son 7
    Se├▒alizacion: MFC R2
    CRC: NO
    Se gun esto la variable protocolvariant=co-land,30,7,16
    como quedaria????? asi???
    y pues ya me entran llamadas y me salen llamadas pero se me corta en el primer timbre y me sale los siguientes errore por el cli
    Cuando entra una llamada sale:
    voip*CLI>
    MFC/R2 UniCall/1 [2/DETECTED/Seize ack /Seize ack ]
    [Mar 5 13:11:26] NOTICE[5365]: chan_unicall.c:2518 handle_uc_event: Unicall/1 event Detected
    MFC/R2 UniCall/1 [2/DETECTED/Group A /Category req ]
    MFC/R2 UniCall/1 [2/DETECTED/Group A /Category req ]
    MFC/R2 UniCall/1 R2 prot. err. [2/DETECTED/Group A /Category req ] cause 32771 – T3 timed out
    MFC/R2 UniCall/1 1001 -> [1/IDLE /Idle /Idle ]
    [Mar 5 13:11:41] NOTICE[5365]: chan_unicall.c:2518 handle_uc_event: Unicall/1 event Protocol failure
    [Mar 5 13:11:41] ERROR[5365]: chan_unicall.c:2522 handle_uc_event: Unicall/1 protocol error. Cause 32771
    MFC/R2 UniCall/1 Channel echo cancel
    MFC/R2 UniCall/1 [1/IDLE /Idle /Idle ]
    voip*CLI>

    y cuando trato de sacar llamada me sale:
    voip*CLI>
    — Executing [95101652@L-DDN-DDI-CEL:1] Dial(“SIP/100-c0001240″, “Unicall/g1/5101652″) in new stack
    MFC/R2 UniCall/1 Call control(1)
    MFC/R2 UniCall/1 Make call
    MFC/R2 UniCall/1 Creating a new call with CRN 32769
    MFC/R2 UniCall/1 0001 -> [1/DIALING /Seize /Idle ]
    — Called g1/5101652
    [Mar 5 13:10:31] NOTICE[5371]: chan_unicall.c:2518 handle_uc_event: Unicall/1 event Dialing
    [Mar 5 13:10:31] NOTICE[5371]: chan_unicall.c:1914 unicall_exception: Exception on 25, channel 1
    MFC/R2 UniCall/1 [2/DIALING /Group I /DNIS ]
    MFC/R2 UniCall/1 [2/DIALING /Group I /DNIS ]
    MFC/R2 UniCall/1 [2/DIALING /Group I /DNIS ]
    MFC/R2 UniCall/1 [2/DIALING /Group I /DNIS ]
    MFC/R2 UniCall/1 [2/DIALING /Group I /DNIS ]
    MFC/R2 UniCall/1 [2/DIALING /Group I /DNIS ]
    MFC/R2 UniCall/1 [1/IDLE /Idle /Idle ]
    [Mar 5 13:10:31] NOTICE[5371]: chan_unicall.c:2518 handle_uc_event: Unicall/1 event Protocol failure
    [Mar 5 13:10:31] ERROR[5371]: chan_unicall.c:2522 handle_uc_event: Unicall/1 protocol error. Cause 32772
    MFC/R2 UniCall/1 Channel echo cancel
    MFC/R2 UniCall/1 Channel gains
    MFC/R2 UniCall/1 Channel switching
    — Hungup ‘UniCall/1-1′
    == Everyone is busy/congested at this time (1:0/0/1)
    — Executing [95101652@L-DDN-DDI-CEL:2] Hangup(“SIP/100-c0001240″, “”) in new stack
    == Spawn extension (L-DDN-DDI-CEL, 95101652, 2) exited non-zero on ‘SIP/100-c0001240′
    MFC/R2 UniCall/1 [1/IDLE /Idle /Idle ]
    voip*CLI>

    que sera?

    Mi configuracion

    zaptel.conf

    # Span 1: WCT1/0 “Wildcard TE122 Card 0″ (MASTER)
    span=1,1,0,cas,hdb3
    # termtype: te
    cas=1-15:1101
    #dchan=16
    cas=17-31:1101
    # Span 2: WCTDM/0 “Wildcard AEX410 Board 1″
    fxsks=32
    fxsks=33
    fxsks=34
    fxsks=35
    # Global data
    loadzone = us
    defaultzone = us

    unicall.conf

    [channels]
    language=es
    usecallerid=yes
    hidecallerid=no
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=yes
    echotraining=yes
    rxgain=0.0
    txgain=0.0
    group=1
    callgroup=1
    pickupgroup=1
    immediate=no
    musiconhold=default
    protocolclass=mfcr2
    ; protocolvariant=co-land,30,1,16
    protocolvariant=co-land,30,7,16
    protocolend=cpe
    group = 1
    loglevel = 255
    context= from-pstn
    channel => 1-15
    channel => 17-31
    ;skip time slot 16

    extensions.conf

    [from-pstn]
    exten=>_.,1,Answer()
    exten=>_.,n,Goto(ivr,s,1)
    exten=>_.,n,Hangup

    exten=>9260,1,Answer()
    exten=>9260,n,Goto(ivr,s,1)
    exten=>9260,n,Hangup

    Tengo entendido q en el zapata.conf no se coloca nada del E1 pero aca les mando:

    [trunkgroups]
    [channels]
    language=es
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=yes
    relaxdtmf=yes
    rxgain=0.0
    txgain=0.0
    callgroup=1
    pickupgroup=1
    immediate=no
    faxdetect=incoming
    busydetect=yes
    busycount=4

    ; Span 1: WCT1/0 “Wildcard TE122 Card 0″ (MASTER)
    ;group=1
    ;context=from-pstn
    ;switchtype = euroisdn
    ;signalling = pri_cpe
    ;channel => 1-31
    ; Span 2: WCTDM/0 “Wildcard AEX410 Board 1″
    ;;; line=”32 WCTDM/0/0 RED”
    signalling=fxs_ks
    callerid=asreceived
    group=2
    context=from-pstn
    channel => 32
    ;;; line=”33 WCTDM/0/1 RED”
    signalling=fxs_ks
    callerid=asreceived
    group=2
    context=from-pstn
    channel => 33
    ;;; line=”34 WCTDM/0/2 RED”
    signalling=fxs_ks
    callerid=asreceived
    group=2
    context=from-pstn
    channel => 34
    ;;; line=”35 WCTDM/0/3 RED”
    signalling=fxs_ks
    callerid=asreceived
    group=2
    context=from-pstn
    channel => 35

  17. Moises Silva says:

    El soporte oficial de R2 en Asterisk es con OpenR2, por que insistes en usar Unicall?

    Si deseas soporte pagado por la configuracion de Unicall u OpenR2 contactame a moises.silva en el correo de google.

  18. Bedding Bass says:

    Bedding Bass…

    Unicall 0.0.5 & spandsp 0.0.4 with Asterisk 1.4.9 « Asterisk Unicall…

  19. electric dirt bikes amazon…

    Unicall 0.0.5 & spandsp 0.0.4 with Asterisk 1.4.9 « Asterisk Unicall…

Leave a Reply