Jump to content
ITBBAG

Trunk not working

Recommended Posts

Hi

 

New Setup of Swyx 2015 on Windows Server 2012 R2 with Trial license.

 

We have a physical machine where the PRI ISDN Trunk and Swyx-Gate is installed. = SWYXGATE

On a virtual machine we`ve installed the Swyx-Ware. = SWYXWARE

 

I`m not able to make calls outbound and inbound.

In the Admin-console the PRI is activated but not subscribed.

I`m using the very same Hardware and Software Settings on the old Server, where it is working.

 

This is the log I get from D-ChannelMonitor when I try to do an inbound call:

 

20:16:06 D-Channel Monitor
20:16:06 (c) 2010 Swyx Solutions AG
20:16:06 Operating system:  Windows NT  OS version 6.2
20:16:06 Fri, Nov 20, 2015  20:16:06
20:16:06 CAPI Manufacturer          Swyx Solutions AG
20:16:06 CAPI Driver version        8.0.0.15
20:16:06 Total CAPI Controllers     1
20:16:06 Monitored ISDN Line        SX2-express SinglePRI
20:16:06 --------------------------------------------------------------------
20:16:06 L1     activated
20:16:16 L2     U->N    0   C     0  P=1 S:RR      128   49     
20:16:16 L2     U<-N    0   C     0  P=1 S:RR      128   36     
20:16:16 L2     U->N    0   R     0  F=1 S:RR      128   49     
20:16:16 L2     U<-N    0   R     0  F=1 S:RR      128   36     
20:16:26 L2     U->N    0   C     0  P=1 S:RR      128   49     
20:16:26 L2     U<-N    0   C     0  P=1 S:RR      128   36     
20:16:26 L2     U->N    0   R     0  F=1 S:RR      128   49     
20:16:26 L2     U<-N    0   R     0  F=1 S:RR      128   36     
20:16:26 L2     U<-N    0   C     0  P=0 I:INFO    128   36    49
20:16:26 L3     Q.931        SETUP                U<=N Crn = 242    Orig
20:16:26 L3  1  10100001  INFORMATION ELEMENT : Sending complete        
20:16:26 L3  1  00000100  INFORMATION ELEMENT : Bearer capability       
20:16:26 L3  2  00000011  IE Length           : 3 octet(s)              
20:16:26 L3  3  1-------  Extension bit       : Not continued           
20:16:26 L3     -00-----  Coding standard     : ITU                     
20:16:26 L3     ---00000  Info transfer capab : Speech                  
20:16:26 L3  4  1-------  Extension bit       : Not continued           
20:16:26 L3     -00-----  Transfer mode       : Circuit mode            
20:16:26 L3     ---10000  Info transfer rate  : 64 kbit/s               
20:16:26 L3  5  1-------  Extension bit       : Not continued           
20:16:26 L3     -01-----  Layer 1 ident       :                         
20:16:26 L3     ---00011  User info layer 1   : Recommend. G.711 A-law  
20:16:26 L3  1  00011000  INFORMATION ELEMENT : Channel identification  
20:16:26 L3  2  00000011  IE Length           : 3 octet(s)              
20:16:26 L3  3  1-------  Extension bit       : Not continued           
20:16:26 L3     -0------  Interface ident     : Implicitly              
20:16:26 L3     --1-----  Interface type      : Other                   
20:16:26 L3     ---0----  Spare Bit(s)        : Reserved                
20:16:26 L3     ----1---  P/E                 : Exclusive               
20:16:26 L3     -----0--  D-channel           : No                      
20:16:26 L3     ------01  Channel selection   : In following octets     
20:16:26 L3  3b 1-------  Extension bit       : Not continued           
20:16:26 L3     -00-----  Coding standard     : ITU standard            
20:16:26 L3     ---0----  Channel indicated   : By number               
20:16:26 L3     ----0011  Channel type        : B-channel units         
20:16:26 L3  3c 1-------  Extension bit       : Not continued           
20:16:26 L3     -0001011  Channel/slot number : 11                      
20:16:26 L3  1  01101100  INFORMATION ELEMENT : Calling party number    
20:16:26 L3  2  00001100  IE Length           : 12 octet(s)             
20:16:26 L3  3  0-------  Extension bit       : continued               
20:16:26 L3     -000----  Type of number      : Unknown                 
20:16:26 L3     ----0001  Numbering plan      : ISDN numbering plan E.164
20:16:26 L3  3a 1-------  Extension bit       : Not continued           
20:16:26 L3     -00-----  Presentation indica : Presentation allowed    
20:16:26 L3     ---000--  Spare Bit(s)        : Reserved                
20:16:26 L3     ------11  Screening indicator : Number network provided 
20:16:26 L3  4  00110000  Number digits       : XXXXXXXXX              
20:16:26 L3  1  01110000  INFORMATION ELEMENT : Called party number     
20:16:26 L3  2  00000100  IE Length           : 4 octet(s)              
20:16:26 L3  3  1-------  Extension bit       : Not continued           
20:16:26 L3     -000----  Type of number      : Unknown                 
20:16:26 L3     ----0001  Numbering plan      : ISDN numbering plan E.164
20:16:26 L3  4  00110001  Number digits       : 163                     
20:16:26 L2     U->N    0   R     0  F=0 S:RR      128   50     
20:16:26 L2     U->N    0   C     0  P=0 I:INFO    128   50    36
20:16:26 L3     Q.931        RELEASE COMPLETE     U=>N Crn = 242    Dest
20:16:26 L3  1  00001000  INFORMATION ELEMENT : Cause                   
20:16:26 L3  2  00000010  IE Length           : 2 octet(s)              
20:16:26 L3  3  1-------  Extension bit       : Not continued           
20:16:26 L3     -00-----  Coding standard     : ITU                     
20:16:26 L3     ---0----  Spare Bit(s)        : Reserved                
20:16:26 L3     ----0000  Location            : User                    
20:16:26 L3  4  1-------  Extension bit       : Not continued           
20:16:26 L3     -001----  Class               : Normal event            
20:16:26 L3     ----0000  Cause               : Normal call clearing    
20:16:26 L2     U<-N    0   R     0  F=0 S:RR      128   37     
20:16:36 L2     U->N    0   C     0  P=1 S:RR      128   50     
20:16:36 L2     U<-N    0   R     0  F=1 S:RR      128   37     
20:16:46 L2     U<-N    0   C     0  P=1 S:RR      128   37     
20:16:46 L2     U->N    0   R     0  F=1 S:RR      128   50     
20:16:56 L2     U->N    0   C     0  P=1 S:RR      128   50     
20:16:56 L2     U<-N    0   R     0  F=1 S:RR      128   37     
20:17:06 L2     U<-N    0   C     0  P=1 S:RR      128   37     
20:17:06 L2     U->N    0   R     0  F=1 S:RR      128   50     
20:17:16 L2     U->N    0   C     0  P=1 S:RR      128   50     
20:17:16 L2     U<-N    0   R     0  F=1 S:RR      128   37     
20:17:26 L2     U->N    0   C     0  P=1 S:RR      128   50     
20:17:26 L2     U<-N    0   R     0  F=1 S:RR      128   37     
 

Thank you for any help.

Share this post


Link to post
Share on other sites

Hello,

 

Your trace shows the Swyx server is releasing the call: 20:16:26 L3     Q.931        RELEASE COMPLETE     U=>N Crn = 242    Dest

 

The ipbxsrv trace will tell you more about what exactly is happening here.

 

Best regards,

 

Rob

Share this post


Link to post
Share on other sites

Hi Rob

 

I found this in the log:

It seems to be a license-problem. We`re using a trial license which is not yet expired.

(used/max) ... GwTrunk=0/4 : We should have 4 licenses free.

 

Do I need to reconfigure with 4 instead of 29 Gateway-Connections? (GwTrunk,29) no (more) GwTrunk licenses available)

 

20 20:16:07.373 000f44 Inf3 SrvCOMApi  07ABA9A0 00000000 SIPBXDispColl::~SIPBXDispColl           ()
20 20:16:07.412 000f44 Inf3 SrvCOMApi  07AAD3E0 00000000 SClActiveCalls::SClActiveCalls          ()
20 20:16:07.412 000f44 Inf3 SrvCOMApi  079F8E50 00000000 SClPBX::GetStatusInterface              () S_OK
20 20:16:07.413 000f44 Inf3 SrvCOMApi  07AAD3E0 00000000 SClActiveCalls::~SClActiveCalls         ()
20 20:16:07.499 000a20 Info SwSIPReg   060D49A8 00000000 SwSIPReceiver::HandleSipRequest         () RECV SIP REGISTER
20 20:16:07.500 000a20 Info SwSIPReg   066E8F20 00000000 SwSIPRegistrar::GetBindingByAOR         () Could not find binding with AOR '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}@X.X.X.X:5060' and IP address X.X.X.Y port 5064 in list of bindings.
20 20:16:07.500 000a20 Info SwSIPReg   066E8F20 00000000 SwSIPRegistrar::FwrdReqToBinding        () Dialer mode supported: no
20 20:16:07.500 000a20 Info SwSIPReg   066E8F20 00000000 SwSIPRegistrar::AddBinding              () Added binding '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}@X.X.X.X:5060' (X.X.X.Y:5064 Call-ID: MjJhNzcwOWMzNTRlZjhhZDdhNzcwNzQ5M2Q1YjU4ZDk.) to list of bindings!
20 20:16:07.500 000738 Info SwSIP      00000000 00000000 SwSIPEndp::GetUserAgentString           () User Agent: Swyx IpPbxGate/10.30.0.19
20 20:16:07.500 000738 Info SwSIPReg   061FBED0 00000000 SwSIPBinding::GetUserId                 () User ID: {D3EED331-E9AF-449D-921F-A79A5BDC5F7A}
20 20:16:07.500 000738 Info SwSIP      06110B40 00000000 SwSIPEndp::SendSipResponse              () SEND SIP 100 Trying
20 20:16:07.501 000738 Info SwSIPReg   061FBED0 00000000 SwSIPBinding::RegisterUserDevice        () Trying to register SIP device as type 'Gateway'
20 20:16:07.501 000738 Inf3 SrvGk      07AB3970 00000000 SDeviceImpl::SDeviceImpl                (type Gateway, Ip:X.X.X.Y:5064)
20 20:16:07.501 000738 Info SrvGk      01076598 00000000 SGkImpl::RegisterDevice                 () Device registered
~[0x07AB3970 Gateway, Reg:(none), X.X.X.Y, ]
20 20:16:07.501 000738 Inf3 SrvGk      07AB3970 00000000 SDeviceImpl::RegisterSIP                (alias:{D3EED331-E9AF-449D-921F-A79A5BDC5F7A})
20 20:16:07.501 000738 Inf3 SrvGk      01076598 00000000 SGkImpl::RegisterSIP                    (07AB3970, ID: '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}', not yet authenticated)
20 20:16:07.504 000738 Info SrvGk      01076598 00000000 SGkImpl::RegisterSIP                    () user not found by login ID '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}'
20 20:16:07.505 000738 Inf3 SrvGkLic   010765A8 00000000 SLicResMgr::AllocLicenses               (GwTrunk,29)
20 20:16:07.505 000738 Warn SrvGkLic   010765A8 00000000 SLicResMgr::AllocLicenses               (GwTrunk,29) no (more) GwTrunk licenses available
20 20:16:07.505 000738 Inf3 SrvGkLic   010765A8 00000000 SLicResMgr::PrintLicenseCounts          () (used/max) User=1/5, GwTrunk=0/4, LnkTrunk=0/4, Phone=0/2, CTI=0/5, MEM=0/5, VisualContacts=0/10, DATEV=0/5, VisualApps=0/5, CTIPlus=0/5
20 20:16:07.505 000738 *Err SrvGk      01076598 00000000 SGkImpl::RegisterTrunkData              () failed, err = LicenseLimitReached
20 20:16:07.505 000738 Inf3 SrvGk      01076598 00000000 SGkImpl::RegisterSIP                    (07AB3970, ID: '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}', not yet authenticated) registration successful, elapsed time 0.004s
20 20:16:07.505 000738 Info SrvGk      07AB3970 00000000 SDeviceImpl::RegisterSIP                ({D3EED331-E9AF-449D-921F-A79A5BDC5F7A}) err: LicenseLimitReached
20 20:16:07.505 000738 Warn SwSIPReg   061FBED0 00000000 SwSIPBinding::RegisterUserDevice        () Cannot register device X.X.X.Y with user ID '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}' at gatekeeper server (LicenseLimitReached)
20 20:16:07.505 000738 Info SrvGk      01076598 00000000 SGkImpl::ReleaseDevice                  () device released
~[0x07AB3970 Gateway, Reg:(none), X.X.X.Y, ]
20 20:16:07.505 000738 Inf3 SrvGk      07AB3970 00000000 SDeviceImpl::~SDeviceImpl               (type Gateway, Ip:X.X.X.Y:5064)
20 20:16:07.506 000738 Info SwSIPReg   061FBED0 00000000 SwSIPBinding::Send403Forbidden          () SEND SIP 403 Forbidden
20 20:16:07.506 000738 Info SwSIPReg   061FBED0 00000000 SFsm::OnProcessEvent                    () Unregistered evtRegister Result: 1 NewSt: Unregistered
20 20:16:07.506 000738 Info SwSIPReg   061FBED0 00000000 SwSIPBinding::EnterStateUnregistered    (0) Erase this binding from list of bindings.
20 20:16:07.506 000738 Info SwSIPReg   066E8F20 00000000 SwSIPRegistrar::EraseBinding            () Search for binding with AOR '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}@X.X.X.X:5060' and IP address X.X.X.Y port 5064 and binding: 061FBED0
20 20:16:07.506 000738 Info SwSIPReg   066E8F20 00000000 SwSIPRegistrar::EraseBinding            () Erased binding with AOR '{D3EED331-E9AF-449D-921F-A79A5BDC5F7A}@X.X.X.X:5060' and IP address X.X.X.Y port 5064 from list of bindings.
20 20:16:07.506 000738 Info SwSIPReg   061FBED0 00000000 SwSIPBinding::ReleaseUserDevice         () User not registered or invalid pointer to device!
20 20:16:07.843 000f44 Inf3 SrvCOMApi  061F5738 00000000 SPBXConfig::CheckAccess                 () returning: ippbx admin=1
20 20:16:07.843 000f44 Inf3 SrvCOMApi  061F5738 00000000 SPBXConfig::GetUserByAddress            (Jeder)

Share this post


Link to post
Share on other sites
1 hour ago, ITBBAG said:

Hi Rob

 

I found this in the log:

It seems to be a license-problem. We`re using a trial license which is not yet expired.

(used/max) ... GwTrunk=0/4 : We should have 4 licenses free.

 

Do I need to reconfigure with 4 instead of 29 Gateway-Connections? (GwTrunk,29) no (more) GwTrunk licenses available)

 

You can use max 4 lines with the trial license, so you have to reconfigure it.

Share this post


Link to post
Share on other sites

It shows used=0. So I thought it doesn`t matter how many I configure, the license will tell the server to only use 4.

I've done the configuration and will try it out the next days.

 

Will come back to you. Thanks.

Share this post


Link to post
Share on other sites

Configured ISDN trunks will take immediately voice channel licenses, regardless if you use the trunk or not. 

 

For configured SIP trunks voice channel licenses will be pooled.

 

If you use ISDN and SIP trunks simultaneously the licenses will first be bound to the ISDN trunks and all left over channel licenses will be pooled for the SIP trunks and only used when there actually is a call on the trunk.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×