[asterisk-r2] [MFCR2+LIBOPENR2 TELEFONICA COLOMBIA]

Melcon Moraes melcon at gmail.com
Mon Apr 6 11:21:44 CDT 2009


Why are you trying to set the category from dialplan, once you have
that already in dahdi.conf? Just pick one category and let it be the
on conf file for now. it's not a thing that needs constant changes,
specially if your are just an user from a PSTN Company.

You can see the category being set by reading the call file log.

Are you supposed to send only 2 digits as in 01 for your ANI?

And please use pastebin.com or any other pastebin available to paste
your configs/logs.

Besides all that, let's wait for their answer on refusing your calls.

-MM

On Sun, Apr 5, 2009 at 3:33 AM, Carlos Andrés Tapasco Viera
<ctapasco at opengroupsa.com> wrote:
> Ok Moy, sorry for my insolence, don't be anger with me.  Here is my simple
> dialplan and other stuff you request.  Thanks for all your help and
> patience.
>
> *******************************
> CLI> mfcr2 show version
> OpenR2 version: 1.1.0, revision: exportado
> *******************************
> *******************************
> CLI> core show version
> Asterisk SVN-moy-mfcr2-r182170
> *******************************
> *******************************
> [general]
> static=yes
> writeprotect=no
> autofallthrough=yes
> clearglobalvars=no
> priorityjumping=yes
> ;
> [opengroup]
> exten => _9NXXXXXX,1,Answer()
> exten => _9NXXXXXX,n,Set(_MFCR2_CATEGORY=national_priority_subscriber)
> exten => _9NXXXXXX,n,Dial(DAHDI/g0/${EXTEN:1},,rtT)
> exten => _9NXXXXXX,n,Hangup()
> ***********************
> ***********************
> Executing [94862030 at opengroup:1] Answer("SIP/01-08a3b2a0", "") in new stack
>     -- Executing [94862030 at opengroup:2] Set("SIP/01-08a3b2a0",
> "_MFCR2_CATEGORY=national_priority_subscriber") in new stack
>     -- Executing [94862030 at opengroup:3] Dial("SIP/01-08a3b2a0",
> "DAHDI/g0/4862030,,rtT") in new stack
> [Apr  5 01:29:43] WARNING[21962]: chan_dahdi.c:1646
> dahdi_r2_get_channel_category: Invalid category specified 'National
> Subscriber' for chan DAHDI/2-1, using default National Subscriber
>     -- Called g0/4862030
> [Apr  5 01:29:45] NOTICE[21962]: chan_dahdi.c:1926 dahdi_r2_write_log: Chan
> 2 - Far end disconnected. Reason: Network Congestion
>     -- MFC/R2 call disconnected on chan 2
>     -- DAHDI/2-1 is circuit-busy
>     -- Hungup 'DAHDI/2-1'
>   == Everyone is busy/congested at this time (1:0/1/0)
>     -- Executing [94862030 at opengroup:4] Hangup("SIP/01-08a3b2a0", "") in new
> stack
>   == Spawn extension (opengroup, 94862030, 4) exited non-zero on
> 'SIP/01-08a3b2a0'
> [Apr  5 01:29:45] NOTICE[19858]: chan_dahdi.c:1796 dahdi_r2_on_call_end:
> MFC/R2 call end on chan 2
> *************************************
> *************************************
> [01:29:43:414] [Thread: 3072392080] [Chan 2] - Call started at Sun Apr  5
> 01:29:43 2009 on chan 2
> [01:29:43:414] [Thread: 3072392080] [Chan 2] - CAS Tx >> [SEIZE] 0x00
> [01:29:43:414] [Thread: 3072392080] [Chan 2] - CAS Raw Tx >> 0x01
> [01:29:43:461] [Thread: 3072392080] [Chan 2] - Bits changed from 0x08 to
> 0x0C
> [01:29:43:461] [Thread: 3072392080] [Chan 2] - CAS Rx << [SEIZE ACK] 0x0C
> [01:29:43:461] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 2
> [01:29:43:461] [Thread: 3072392080] [Chan 2] - timer id 2 found, cancelling
> it now
> [01:29:43:461] [Thread: 3072392080] [Chan 2] - Sending DNIS digit 4
> [01:29:43:461] [Thread: 3072392080] [Chan 2] - MF Tx >> 4 [ON]
> [01:29:43:554] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [ON]
> [01:29:43:554] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:43:554] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:43:554] [Thread: 3072392080] [Chan 2] - MF Tx >> 4 [OFF]
> [01:29:43:654] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [OFF]
> [01:29:43:654] [Thread: 3072392080] [Chan 2] - Sending DNIS digit 8
> [01:29:43:654] [Thread: 3072392080] [Chan 2] - MF Tx >> 8 [ON]
> [01:29:43:654] [Thread: 3072392080] [Chan 2] - Group A DNIS request handled
> [01:29:43:754] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [ON]
> [01:29:43:754] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:43:754] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:43:754] [Thread: 3072392080] [Chan 2] - MF Tx >> 8 [OFF]
> [01:29:43:834] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [OFF]
> [01:29:43:834] [Thread: 3072392080] [Chan 2] - Sending category National
> Subscriber
> [01:29:43:834] [Thread: 3072392080] [Chan 2] - MF Tx >> 1 [ON]
> [01:29:43:934] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [ON]
> [01:29:43:934] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:43:934] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:43:934] [Thread: 3072392080] [Chan 2] - MF Tx >> 1 [OFF]
> [01:29:44:014] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [OFF]
> [01:29:44:014] [Thread: 3072392080] [Chan 2] - Sending ANI digit 0
> [01:29:44:014] [Thread: 3072392080] [Chan 2] - MF Tx >> 0 [ON]
> [01:29:44:094] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [ON]
> [01:29:44:094] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:44:094] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:44:094] [Thread: 3072392080] [Chan 2] - MF Tx >> 0 [OFF]
> [01:29:44:174] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [OFF]
> [01:29:44:174] [Thread: 3072392080] [Chan 2] - Sending ANI digit 1
> [01:29:44:174] [Thread: 3072392080] [Chan 2] - MF Tx >> 1 [ON]
> [01:29:44:254] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [ON]
> [01:29:44:254] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:44:254] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:44:254] [Thread: 3072392080] [Chan 2] - MF Tx >> 1 [OFF]
> [01:29:44:354] [Thread: 3072392080] [Chan 2] - MF Rx << 5 [OFF]
> [01:29:44:354] [Thread: 3072392080] [Chan 2] - Sending more ANI unavailable
> [01:29:44:354] [Thread: 3072392080] [Chan 2] - MF Tx >> F [ON]
> [01:29:44:454] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [ON]
> [01:29:44:454] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:44:454] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:44:454] [Thread: 3072392080] [Chan 2] - MF Tx >> F [OFF]
> [01:29:44:554] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [OFF]
> [01:29:44:554] [Thread: 3072392080] [Chan 2] - Sending DNIS digit 6
> [01:29:44:554] [Thread: 3072392080] [Chan 2] - MF Tx >> 6 [ON]
> [01:29:44:554] [Thread: 3072392080] [Chan 2] - Group A DNIS request handled
> [01:29:44:634] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [ON]
> [01:29:44:634] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:44:634] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:44:634] [Thread: 3072392080] [Chan 2] - MF Tx >> 6 [OFF]
> [01:29:44:734] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [OFF]
> [01:29:44:734] [Thread: 3072392080] [Chan 2] - Sending DNIS digit 2
> [01:29:44:734] [Thread: 3072392080] [Chan 2] - MF Tx >> 2 [ON]
> [01:29:44:734] [Thread: 3072392080] [Chan 2] - Group A DNIS request handled
> [01:29:44:834] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [ON]
> [01:29:44:834] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:44:834] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:44:834] [Thread: 3072392080] [Chan 2] - MF Tx >> 2 [OFF]
> [01:29:44:934] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [OFF]
> [01:29:44:934] [Thread: 3072392080] [Chan 2] - Sending DNIS digit 0
> [01:29:44:934] [Thread: 3072392080] [Chan 2] - MF Tx >> 0 [ON]
> [01:29:44:934] [Thread: 3072392080] [Chan 2] - Group A DNIS request handled
> [01:29:45:014] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [ON]
> [01:29:45:014] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:45:014] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:45:014] [Thread: 3072392080] [Chan 2] - MF Tx >> 0 [OFF]
> [01:29:45:094] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [OFF]
> [01:29:45:094] [Thread: 3072392080] [Chan 2] - Sending DNIS digit 3
> [01:29:45:094] [Thread: 3072392080] [Chan 2] - MF Tx >> 3 [ON]
> [01:29:45:095] [Thread: 3072392080] [Chan 2] - Group A DNIS request handled
> [01:29:45:174] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [ON]
> [01:29:45:174] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:45:174] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:45:174] [Thread: 3072392080] [Chan 2] - MF Tx >> 3 [OFF]
> [01:29:45:254] [Thread: 3072392080] [Chan 2] - MF Rx << 1 [OFF]
> [01:29:45:254] [Thread: 3072392080] [Chan 2] - Sending DNIS digit 0
> [01:29:45:255] [Thread: 3072392080] [Chan 2] - MF Tx >> 0 [ON]
> [01:29:45:255] [Thread: 3072392080] [Chan 2] - Group A DNIS request handled
> [01:29:45:435] [Thread: 3072392080] [Chan 2] - MF Rx << 4 [ON]
> [01:29:45:435] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:45:435] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:45:435] [Thread: 3072392080] [Chan 2] - MF Tx >> 0 [OFF]
> [01:29:45:515] [Thread: 3072392080] [Chan 2] - MF Rx << 4 [OFF]
> [01:29:45:515] [Thread: 3072392080] [Chan 2] - Far end disconnected. Reason:
> Network Congestion
> [01:29:45:515] [Thread: 3072392080] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:45:515] [Thread: 3072392080] [Chan 2] - Cannot cancel timer 0
> [01:29:45:515] [Thread: 3072392080] [Chan 2] - CAS Tx >> [CLEAR FORWARD]
> 0x08
> [01:29:45:515] [Thread: 3072392080] [Chan 2] - CAS Raw Tx >> 0x09
> [01:29:45:848] [Thread: 3078863760] [Chan 2] - Bits changed from 0x0C to
> 0x08
> [01:29:45:848] [Thread: 3078863760] [Chan 2] - CAS Rx << [IDLE] 0x08
> [01:29:45:848] [Thread: 3078863760] [Chan 2] - Call ended
> [01:29:45:848] [Thread: 3078863760] [Chan 2] - Attempting to cancel timer
> timer 0
> [01:29:45:848] [Thread: 3078863760] [Chan 2] - Cannot cancel timer 0
> **********************************
>
> On Sat, Apr 4, 2009 at 9:03 PM, Moises Silva <moises.silva at gmail.com> wrote:
>>
>> As I said, you should create a simple dial plan, just a simple
>> Answer(), Dial() and Hangup(), what's the point of confusing us and
>> yourself with other stuff?
>>
>> Also include the output of mfcr2 show version and core show version.
>>
>> Moy
>
>
>
> --
> Carlos Andrés Tapasco Viera
> OpenGroup
> Ingeniero Electrónico
> Area de Telecomunicaciones
> IP-PBX +57-24862030
> Mobile 1 +57-3117650143
> Mobile 2 +57-3012141132
> Santiago de Cali
> Valle del Cauca
> Colombia
> Sudamérica
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



More information about the asterisk-r2 mailing list