[Freeswitch-users] How to setup a span as PRI_NET

David Yat Sin david.yatsin at gmail.com
Tue Apr 6 13:47:39 PDT 2010


Hi Lakshmanan,
If you do not have anything printing in /var/log/sangoma_mgd.log, and 
you have:
verbose=4           //(or higher)

in /etc/wanpipe/smg_pri.conf, check that you have these lines in 
/etc/syslog.conf (or /etc/rsyslog.conf):

local2.*                /var/log/sangoma_mgd.log

and restart your syslog.


my first guess is that you do not have openzap loaded so sangoma_prid is 
rejecting all incoming calls, but I would need logs in 
/var/log/sangoma_mgd.log to confirm.

If openzap is not loaded, you can type:
load mod_openzap

from the freeswitch CLI to load it.

-- 

*David Yat Sin, **BEng, **Software Developer**
*Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON 
L3R 9T3 Canada
t. 1 905 474 1990 x 119 | e. _dyatsin at sangoma.com 
<mailto:dyatsin at sangoma.com>_



On 4/6/2010 12:24 AM, lakshmanan ganapathy wrote:
> Hi all,
> In my office we have a Hard PBX, with some 4 extensions.
> We also have sangoma A102 card.
> From the Hard PBX, if 0 is pressed, it is setup in a way that it will 
> go to outside world.
> I've connected that line to span2 of the card.
> The span2 in the A102 card, is configured as PRI_NET.
>
> wanrouter status shows connected for the span2.
>
> But if I dial from the extension, I got the following in the 
> sangoma_dchan log.
> 2010-04-03 12:49:49
> INCOMING [ 00 01 54 50 08 02 01 64 05 04 03 80 90 a3 6c 0c 01 81 34 34 
> 33 39 31 31 34 36 30 30 7d 02 91 81 ]
>   Call Ref:0164
>   Type:Setup (0x5)
>   Bearer Capability:Coding:ITU-T(0) TransferCap:Speech(0) 
> TransferRate:64 Kbit/s(16) L1Prot:G.711 A-Law(3)
>   Calling Party Number:4439114600(l:10) plan:isdn(1) 
> type:unknown(0)scr:user, passed(1) pres:allowed(0)
>   High-Layer Compatibility:Undecodedhex [ 7d 02 91 81 ]
>
> 2010-04-03 12:49:49
> OUTGOING [ 02 01 50 56 08 02 81 64 5a 08 02 82 a2 ]
>   Call Ref:0164
>   Type:Release Compl (0x5a)
>   Cause:coding:ITU-T(0) location:Public network, local user(2) val:No 
> Circuit/Channel Available(34)
>
> The call in not reaching freeswitch ( I enabled debug log. But nothing 
> is printing in it ).
> Can someone suggest how to make this work.
>
> Please ask me if you need more information?, since I don't know what 
> to give now.
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100406/0ca3dd70/attachment-0001.html 


More information about the FreeSWITCH-users mailing list