Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audiocodes SBC syslog errors #87

Open
petertjeee opened this issue Mar 3, 2021 · 13 comments
Open

Audiocodes SBC syslog errors #87

petertjeee opened this issue Mar 3, 2021 · 13 comments

Comments

@petertjeee
Copy link

Hi,

When using the audiocodes pastash plugin, I'm getting the following errors:

Wed, 03 Mar 2021 20:47:14 GMT] NOTICE Starting pastash 1.0.71
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Max http socket 100
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Loading config file : /home/peter/pastash/sbc-stack01.conf
[Wed, 03 Mar 2021 20:47:14 GMT] INFO File loaded, 3 urls found
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Loading config : 6 urls
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Initializing output HEP/EEP Server
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Start output to HEP udp to 127.0.0.1:9060
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Initializing filter AddHost
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Initializing filter AddTimestamp
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Initializing filter AddVersion
Loading npm module... @pastash/filter_app_audiocodes
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Initializing filter AppAudiocodes
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Initialized App Audiocodes SysLog to SIP/HEP parser
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Initializing input Udp
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Start listening on udp 0.0.0.0:925
[Wed, 03 Mar 2021 20:47:14 GMT] INFO Config loaded.
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception has been catch, it' a bug
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception: SyntaxError: Invalid regular expression: /[SID=(?.?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR SyntaxError: Invalid regular expression: /[SID=(?.
?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception has been catch, it' a bug
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception: SyntaxError: Invalid regular expression: /[SID=(?.?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR SyntaxError: Invalid regular expression: /[SID=(?.
?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception has been catch, it' a bug
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception: SyntaxError: Invalid regular expression: /[SID=(?.?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR SyntaxError: Invalid regular expression: /[SID=(?.
?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception has been catch, it' a bug
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR Exception: SyntaxError: Invalid regular expression: /[SID=(?.?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
[Wed, 03 Mar 2021 20:47:18 GMT] ERROR SyntaxError: Invalid regular expression: /[SID=(?.
?):(?.?):(?.?)]/: Invalid group
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:114:71)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at emitOne (events.js:96:13)
at FilterAppAudiocodes.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at emitOne (events.js:96:13)
at FilterAddVersion.emit (events.js:188:7)
^C[Wed, 03 Mar 2021 20:47:26 GMT] INFO SIGINT received.
[Wed, 03 Mar 2021 20:47:26 GMT] INFO Closing listening udp 0.0.0.0:925
[Wed, 03 Mar 2021 20:47:26 GMT] INFO Closing output to HEP udp to 127.0.0.1:9060
[Wed, 03 Mar 2021 20:47:26 GMT] INFO Closing agent
[Wed, 03 Mar 2021 20:47:26 GMT] INFO Quitting.

Running on CentOS 7. Installed Homer with the standard install script. Audiocodes CE on Azure with firmware 7.20CO.256.016

@lmangani
Copy link
Member

lmangani commented Mar 3, 2021

which version of nodejs are you running? minimum is 12.x

@petertjeee
Copy link
Author

Hi,

I was running an old version :( Upgraded to 14 now:
[root@mon01 peter]# node -v
v14.16.0
[root@mon01 peter]# npm -v
7.6.0
[root@mon01 peter]#

But now I'm getting other errors:
[Thu, 04 Mar 2021 11:29:33 GMT] INFO Config loaded.
[Thu, 04 Mar 2021 11:29:39 GMT] ERROR failed parsing Outgoing SIP. Cache on!
[Thu, 04 Mar 2021 11:29:48 GMT] ERROR Exception has been catch, it' a bug
[Thu, 04 Mar 2021 11:29:48 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Thu, 04 Mar 2021 11:29:48 GMT] ERROR Exception: TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:104:26)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 11:29:48 GMT] ERROR TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:104:26)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 11:29:52 GMT] ERROR failed parsing Outgoing SIP. Cache on!
[Thu, 04 Mar 2021 11:29:59 GMT] ERROR Exception has been catch, it' a bug
[Thu, 04 Mar 2021 11:29:59 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Thu, 04 Mar 2021 11:29:59 GMT] ERROR Exception: TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:104:26)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 11:29:59 GMT] ERROR TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:104:26)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 11:30:00 GMT] ERROR Exception has been catch, it' a bug
[Thu, 04 Mar 2021 11:30:00 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Thu, 04 Mar 2021 11:30:00 GMT] ERROR Exception: TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:104:26)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 11:30:00 GMT] ERROR TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:104:26)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)

etc etc

@lmangani
Copy link
Member

lmangani commented Mar 4, 2021

@petertjeee i can't help you without knowing the input

@petertjeee
Copy link
Author

@lmangani I just use the Syslog output like the directions of the plugin say. Is there a way I could send you some logfiles in private?

@lmangani
Copy link
Member

lmangani commented Mar 4, 2021

@petertjeee we can only assist here - you are welcome to ping sales @ qxip dot net to book some and help us sponsor this feature.
Meanwhile, try enabling the debug flag and see if the logs display the offending message being processed.

@petertjeee
Copy link
Author

@lmangani These are all "ERROR SESSION" messages:
[Thu, 04 Mar 2021 12:56:39 GMT] ERROR SESSION SID 976098
DEBUG <133>[S=22477524] [SID=813dd0:13:976099] (N 22948446) (#1017)gwSession[Allocated]. Handle:00007FC14531FE20; Global session ID: 21b37b75df1f4ea8
(N 22948447) Condition Table matched on condition Index 0
(N 22948448) Classification Succeeded - Source IP Group #2 (Teams)
(N 22948449) GetTag looking for dialed number: +321xxxxxxx
(N 22948450) Tags for: [DialplanID: 2; SrcUsername: +321xxxxxxx] are: TEAMS_INT
(N 22948451) GetTag looking for dialed number: +321xxxxxxxx
(N 22948452) GetNumber - no match found: +321xxxxxxxx
(N 22948453) GetTag did not find match. Dialed number: +321xxxxxxxx
(N 22948454) (#4):Call Setup Run Rules Set ID 0
(N 22948455) (#4):Call Setup Run Rule 0: Execute condition/action
(N 22948456) (#4):Call Setup Run Rule: Execute result:1
(N 22948457) GetTag looking for dialed number: +321xxxxxxxx
(N 22948458) GetNumber - no match found: +321xxxxxxxxx
(N 22948459) GetTag did not find match. Dialed number: +321xxxxxxxx
(N 22948460) (#4):Call Setup Run Rule 1: Query Dial Plan for +321xxxxxxxx - Not found.
(N 22948461) (#4):Call Setup Run Rule 1: Execute condition/action
(N 22948462) (#4):Call Setup Run Rule: Execute result:1
(N 22948463) GetTag looking for dialed number: False
[Time:04-03@13:56:45.633]
[Thu, 04 Mar 2021 12:56:46 GMT] ERROR SESSION SID 976099
DEBUG <133>[S=22477525] [SID=813dd0:13:976099] (N 22948464) GetNumber - no match found: False
(N 22948465) GetTag did not find match. Dialed number: False
(N 22948466) (#4):Call Setup Run Rule 2: Query Dial Plan for False - Not found.
(N 22948467) (#4):Call Setup Run Rule 2: Execute condition/action
(N 22948468) (#4):Call Setup Run Rule: Execute result:1
(N 22948469) Src Tags after Initial CSR: TEAMS_INT
(N 22948470) States: (#1864)SBCRoutesIterator[InitialCSRRouting->InitialRouting]
(N 22948471) Condition Table matched on condition Index 1
(N 22948472) States: (#1864)SBCRoutesIterator[InitialRouting->AlternativeRouting]
(N 22948473) SBC_ADMIT_DIALOGS_EV: (#1864)SBCRoutesIterator -> (#0)SBCAdmissionControlMngr
(N 22948474) CAC: Add SBC Incoming INVITE, IPG 2 (Teams): 1, SRD 0 (DefaultSRD): 1, SipIF 0 (Teams): 1
(N 22948475) ResourceCounter: SBC leg +1 [1/40]
(N 22948476) CAC: Add SBC Outgoing INVITE, IPG 4 (SIPtrunk-ext-cust): 1, SRD 0 (DefaultSRD): 1, SipIF 1 (SIP): 1
(N 22948477) ResourceCounter: SBC leg +1 [2/40]
(N 22948478) (#1864)Route found (3), Route by IPGroup, IP Group 2 -> 4 (Teams -> SIPtrunk-ext-cust)
[Time:04-03@13:56:45.633]
[Thu, 04 Mar 2021 12:56:46 GMT] ERROR SESSION SID 976099
DEBUG <133>[S=22477526] [SID=813dd0:13:976099] (N 22948479) ---- Incoming SIP Message from 52.114.75.24:6848 to SIPInterface #0 (Teams) TLS TO(#1181) SocketID(6199) ----
[Time:04-03@13:56:45.633]
[Thu, 04 Mar 2021 12:56:46 GMT] ERROR SESSION SID 976099
[Thu, 04 Mar 2021 12:56:46 GMT] ERROR Cashed packet number 22477526
[Thu, 04 Mar 2021 12:56:46 GMT] ERROR failed parsing Incoming SIP. Cache on!
DEBUG <133>[S=22477527] [SID=813dd0:13:976099] INVITE sip:[email protected]:5061;user=phone;transport=tls SIP/2.0
FROM: John Doesip:[email protected]:5061;user=phone;tag=ef40a125944c4224984325f2c7fa5d9b
TO: sip:[email protected]:5061;user=phone
CSEQ: 1 INVITE
CALL-ID: 914c631bc67f5a4ab43154c3e08df1d7
MAX-FORWARDS: 70
VIA: SIP/2.0/TLS 52.114.75.24:5061;branch=z9hG4bKef1e537c
RECORD-ROUTE: sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr
CONTACT: sip:api-du-a-euno.pstnhub.microsoft.com:443;x-i=4f7aa8a8-c857-4b77-bf5a-79184bce6127;x-c=914c631bc67f5a4ab43154c3e08df1d7/d/8/83200e124bfe4eb39ebc27820e84a653
CONTENT-LENGTH: 2352
USER-AGENT: Microsoft.PSTNHub.SIPProxy v.2021.3.1.6 i.EUWE.6
CONTENT-TYPE: application/sdp
ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY
P-ASSERTED-IDENTITY: tel:+321xxxxxxx,sip:[email protected]
PRIVACY: id
X-MS-UserLocation: external
X-MS-MediaPath: cust.xxxx.xxxxx.be

v=0
o=- 0 0 IN IP4 52.112.170.201
s=session
c=IN IP4 52.112.170.201
b=CT:4000
t=0 0
m=audio 50808 RTP/SAVP 104 114 9 112 111 18 0 8 103 116 115 97 13 118 119 101
a=rtcp:50814
a=ice-ufrag:nTx5
a=ice-pwd:8ihU3o0fdxdz+Z/SxsOvOvjd
[Time:04-03@13:56:45.633]
DEBUG <142>[S=351] |MEDIA_END |76e8505779835d2ca8610c59a99fc5de |813dd0:13:976162 |36 |AUDIO |g711Ulaw64k |20 |10.0.0.24 |30072 |91.x.x.x |50006 |0 |0 |0 |0 |0 |0 |0 |0 |127 |127 |127 |127 |46 |91.x.x.x |50006 | |0 |NO_TRANSCODING |mc-2 |2 |1
[Thu, 04 Mar 2021 13:03:50 GMT] ERROR SESSION SID undefined
[Thu, 04 Mar 2021 13:03:50 GMT] INFO !!!!!!!!!!!!!! DEBUG MEDIA [
'<142>[S=351]',
'MEDIA_END',
'76e8505779835d2ca8610c59a99fc5de',
'813dd0:13:976162',
'36',
'AUDIO',
'g711Ulaw64k',
'20',
'10.0.0.24',
'30072',
'91.x.x.x',
'50006',
'127',
'127',
'127',
'127',
'46',
'91.x.x.x',
'50006',
'NO_TRANSCODING',
'mc-2'
] 21
[Thu, 04 Mar 2021 13:03:50 GMT] ERROR missing media parameters [
'<142>[S=351]',
'MEDIA_END',
'76e8505779835d2ca8610c59a99fc5de',
'813dd0:13:976162',
'36',
'AUDIO',
'g711Ulaw64k',
'20',
'10.0.0.24',
'30072',
'91.x.x.x',
'50006',
'127',
'127',
'127',
'127',
'46',
'91.x.x.x',
'50006',
'NO_TRANSCODING',
'mc-2'
]

And these are exceptions:

DEBUG <135>[S=22479531] [BID=813dd0:13] DnsGetAddrInfo: CacheEntry == NULL ai_family[2] [File:DnsApi_Linux.cpp Line:1690] [Time:04-03@14:07:32.378]
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception has been catch, it' a bug
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception: TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
DEBUG <135>[S=22479532] [BID=813dd0:13] _DnsSendQuery status 8 [File:DnsApi_Linux.cpp Line:1430] [Time:04-03@14:07:32.378]
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception has been catch, it' a bug
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception: TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
DEBUG <133>[S=22479533] [BID=813dd0:13] (N 22956105) SIPServersIPList::ResolveDNS (ProxySet 1) - Starting resolution of voip.mtsip.nl
(N 22956106) HandleARecordQuery - Host:voip.bla.nl is not in cache, setting timer
[Time:04-03@14:07:32.378]
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception has been catch, it' a bug
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception: TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
DEBUG <133>[S=22479534] [BID=813dd0:13] (N 22956107) DNSResolver::HandleTimerExpiredOnWaitForARecord: host:voip.bla.nl
[Time:04-03@14:07:32.438]
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception has been catch, it' a bug
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Please submit an issue on https://github.com/sipcapture/pastash
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR Exception: TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
[Thu, 04 Mar 2021 13:07:32 GMT] ERROR TypeError: Cannot read property '1' of null
at FilterAppAudiocodes.process (/usr/lib/node_modules/@pastash/filter_app_audiocodes/filter_app_audiocodes.js:103:64)
at FilterAppAudiocodes. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:21:24)
at FilterAppAudiocodes.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddVersion. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)
at FilterAddVersion.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/agent.js:260:14)
at FilterAddTimestamp.emit (events.js:315:20)
at FilterAddTimestamp. (/usr/lib/node_modules/@pastash/pastash/lib/lib/base_filter.js:27:18)

@Ken-UC
Copy link

Ken-UC commented Apr 13, 2021

Hi
same issue here with a mediant ve 7.40a.005.306
@petertjeee do you resolve your issue?

@lmangani
Copy link
Member

please share your pastash config

@Ken-UC
Copy link

Ken-UC commented Apr 13, 2021

hi @lmangani

here my config file :

input {
udp {
host => 0.0.0.0
port => 514
type => syslog
}
}

filter {
app_audiocodes{}
}

output {
stdout {}
if [rcinfo] != 'undefined' {
hep {
host => '127.0.0.1'
port => 9060
hep_id => 2222
}
}
}

@lmangani
Copy link
Member

This version is untested and might need fixes. To start, please try adding the following:

filter {
  app_audiocodes{
     debug => true
     autolocal => true
     version => 7.20A.256.511
  }
}

@Ken-UC
Copy link

Ken-UC commented Apr 13, 2021

here the logs,

you can find an invite with this call id: 2113399168-440182791-202234420

log.txt

@lmangani
Copy link
Member

@Ken-UC did you try the above parameters?

@Ken-UC
Copy link

Ken-UC commented Apr 13, 2021

yes, log are with thoses parameters

input {
udp {
host => 0.0.0.0
port => 514
type => syslog
}
}

filter {
app_audiocodes{
debug => true
autolocal => true
version => '7.20A.256.511'
}
}

output {
stdout {}
if [rcinfo] != 'undefined' {
hep {
host => '127.0.0.1'
port => 9060
hep_id => 2222
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants