[asterisk-r2] Bug in openr2?

Daniel A. Veiga dveiga at advtechnology.com.ar
Thu May 14 22:30:58 CDT 2009


Ok, here it goes again. I upgraded with:

svn checkout http://svn.digium.com/svn/asterisk/team/moy/mfcr2-1.4
mfcr2-1.4

Results were:

[root at ivr pbx]# ./download
U    mfcr2-1.4/channels/chan_dahdi.c
A    mfcr2-1.4/channels/ring_tone.h
A    mfcr2-1.4/channels/busy_tone.h
 U   mfcr2-1.4/channels
 U   mfcr2-1.4

Fetching external item into 'mfcr2-1.4/menuselect'

Fetching external item into 'mfcr2-1.4/menuselect/mxml'
Checked out external at revision 148.

Checked out revision 513.
Checked out revision 194609.

The first thing I note is the version (Asterisk 1.4.23.1) has not
changed. May be it doesn't matter???
Error messages related to invalid category appear to have dissapeared:

Connected to Asterisk 1.4.23.1 currently running on ivr (pid = 5946)
Verbosity is at least 1000
Core debug is at least 1000
ivr*CLI> console dial 01540298148 at from-internal
  == Console is full duplex
    -- Executing [01540298148 at from-internal:1] Set("Console/dsp",
"_MFCR2_CATEGORY=NATIONAL_SUBSCRIBER") in new stack
    -- Executing [01540298148 at from-internal:2] Dial("Console/dsp",
"DAHDI/G2/1540298148|60|j") in new stack
    -- Called G2/1540298148
[May 15 00:19:45] NOTICE[30776]: chan_dahdi.c:1153
dahdi_r2_on_call_accepted: MFC/R2 call has been accepted on chan 31
[May 15 00:19:45] NOTICE[30776]: chan_dahdi.c:1179
dahdi_r2_on_call_accepted: Call accepted on forward channel 31
    -- DAHDI/31-1 is ringing
    -- DAHDI/31-1 answered Console/dsp


I don't know if the telco uses the category for something, but I try
again with another priority:

ivr*CLI> console dial 01540298148 at from-internal
  == Console is full duplex
    -- Executing [01540298148 at from-internal:1] Set("Console/dsp",
"_MFCR2_CATEGORY=NATIONAL_PRIORITY_SUBSCRIBER") in new stack
    -- Executing [01540298148 at from-internal:2] Dial("Console/dsp",
"DAHDI/G2/1540298148|60|j") in new stack
    -- Called G2/1540298148
[May 15 00:28:39] NOTICE[30883]: chan_dahdi.c:1153
dahdi_r2_on_call_accepted: MFC/R2 call has been accepted on chan 31
[May 15 00:28:39] NOTICE[30883]: chan_dahdi.c:1179
dahdi_r2_on_call_accepted: Call accepted on forward channel 31
    -- DAHDI/31-1 is ringing
ivr*CLI> console hangup
    -- Hungup 'DAHDI/31-1'
  == Spawn extension (from-internal, 01540298148, 2) exited non-zero on
'Console/dsp'
 << Hangup on console >>
       > cdr_odbc: Query Successful!
[May 15 00:28:44] NOTICE[30866]: chan_dahdi.c:1142
dahdi_r2_on_call_end: MFC/R2 call end on chan 31

The results are again successful, so I believe the probem is over. Thanks.


                            Ing. Daniel A. Veiga
                             ADV Technology SRL



 << Console call has been answered >>
ivr*CLI> console hangup
       > cdr_odbc: Query Successful!
    -- Hungup 'DAHDI/31-1'
  == Spawn extension (from-internal, 01540298148, 2) exited non-zero on
'Console/dsp'
 << Hangup on console >>
[May 15 00:20:00] NOTICE[5973]: chan_dahdi.c:1142 dahdi_r2_on_call_end:
MFC/R2 call end on chan 31




> On Thu, May 14, 2009 at 8:10 PM, Daniel A. Veiga
> <dveiga at advtechnology.com.ar> wrote:
>> Moises,
>>        I upgraded using:
>>
>> svn checkout http://openr2.googlecode.com/svn/branches/release-1
>> openr2
>
>
> Hello Daniel, thanks for the report. However, you should upgrade the
> Asterisk branch, I did NOT do any changes into the openr2 branch, the
> changes were done in the mfcr2-1.4 branch of Asterisk. Please keep the
> asterisk-r2 mailing list copied in future e-mails.
>
> svn co http://svn.digium.com/svn/asterisk/team/moy/mfcr2-1.4
>
> Thanks for the testing,
>
> --
> Moises Silva
> Software Developer
> 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
>





More information about the asterisk-r2 mailing list