I tried to set _MFCR2_CATEGORY through dialplan but it doesn't give nothing. Maybe I'm wrong but I cannot find info about that, for that reason, I tought this is the way. My extensions.conf is<br><br>*********************************<br>
/etc/asterisk/extensions.conf<br>*********************************<br>[local]<br>;------------ Locales -------------------------------<br>exten => _9NXXXXXX,1,Set(_MFCR2_CATEGORY=national_subscriber) ;Forzar la categoría a National Suscriber<br>
exten => _9NXXXXXX,n,Answer()<br>exten => _9NXXXXXX,n,Dial(${TRUNKTEL}/${EXTEN:1},,rtT)<br>exten => _9NXXXXXX,n,Hangup()<br>**********************************<br><br>And in CLI I have<br><br>**********************************<br>
CLI> core set verbose 10<br>**********************************<br>Executing [94862030@opengroup:1] Set("SIP/01-085eaa28", "_MFCR2_CATEGORY=national_subscriber") in new stack<br> -- Executing [94862030@opengroup:2] Dial("SIP/01-085eaa28", "DAHDI/g0/4862030,,rtT") in new stack<br>
[Apr 3 19:21:55] WARNING[5636]: chan_dahdi.c:1646 dahdi_r2_get_channel_category: Invalid category specified 'National Subscriber' for chan DAHDI/1-1, using default National Subscriber<br> -- Called g0/4862030<br>
[Apr 3 19:21:57] NOTICE[5636]: chan_dahdi.c:1926 dahdi_r2_write_log: Chan 1 - Far end disconnected. Reason: Network Congestion<br> -- MFC/R2 call disconnected on chan 1<br> -- DAHDI/1-1 is circuit-busy<br> -- Hungup 'DAHDI/1-1'<br>
== Everyone is busy/congested at this time (1:0/1/0)<br> -- Executing [94862030@opengroup:3] Hangup("SIP/01-085eaa28", "") in new stack<br> == Spawn extension (opengroup, 94862030, 3) exited non-zero on 'SIP/01-085eaa28'<br>
***********************************<br clear="all"><br>-- <br>Carlos Andrés Tapasco Viera<br>OpenGroup S.A.<br>Ingeniero Electrónico<br>Area de Telecomunicaciones<br>IP-PBX +57-24862030<br>Mobile 1 +57-3117650143<br>Mobile 2 +57-3012141132<br>
Santiago de Cali<br>Valle del Cauca<br>Colombia<br>Sudamérica<br>