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

Push Notification with Firebase #207

Open
mrhery opened this issue Dec 16, 2024 · 2 comments
Open

Push Notification with Firebase #207

mrhery opened this issue Dec 16, 2024 · 2 comments
Labels

Comments

@mrhery
Copy link

mrhery commented Dec 16, 2024

Bug description

I am running flexisip-proxy (as push gateway) on my server with other integration of other softswitch. I referred to this documentation: https://wiki.linphone.org/xwiki/wiki/public/view/Flexisip/HOWTOs/Push%20Gateway/, but it seem the push notification is not sending out to wake up the app in Android and iOS.

Steps to reproduce

I am using this settings:

[global]
aliases=localhost
transports=sip:*;transport=udp

[module::Registrar]
enabled=true
reg-domains=*
reg-on-response=true

[module::Router]
filter=(is_request && request.uri.params contains 'doroute') || is_response
fork-late=true

[module::PushNotification]
enabled=true
firebase=true
firebase-service-accounts=xxxxxx6226:/home/push_notification/android/firebase.json

[module::ContactRouteInserter]
enabled=true
insert-domain=true

From the client app (with linphone SDK):

if(core?.isPushNotificationAvailable!!){
	core?.isPushNotificationEnabled = true
}

core?.start()

loadAccounts()

... 

fun loadAccounts(){
	...
	accountParams?.pushNotificationAllowed = true

	val account = core?.createAccount(accountParams!!)
	core?.addAuthInfo(authInfo)

	core?.addAccount(account!!)
	...
}

I set the username with the softswitch server but the serverAddress users the flexisip server address.
Run the app, login the sip account (return 200 OK), try outgoing call it works, but incoming call not received even when the app is open.

I also tested sending the push notification manually, and it works.

Expected behavior

The app should receive the call on the app open or receive a push notification when the app is close.

Context

Mobile Device:

  • Poco F3
  • Android 13

Linphone SDK:

  • 5.3.0+

Flexisip:

  • 2.4.0-alpha-302-gad33b434

Relevant log output

Logs from the TCP Dump:

17:33:54.688699 IP <softswitch ip>.sip > <flexisip hostname>.sip: SIP: INVITE sip:<sip username>1003@<flexisip ip>:5060 SIP/2.0
E(.3^[email protected].....

.........LINVITE sip:<sip username>1003@<flexisip ip>:5060 SIP/2.0
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-ZmYyMzlkNTk5NTY1YTJkMDU4OTIwN2UzMWEwMDgyOTE.--37a71845de90e1beacb589fbe98920f2;rport
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-dpqc3uh2jcbz3f52
Max-Forwards: 69
Record-Route: <sip:<softswitch ip>;lr;ep>
Contact: sip:<softswitch ip>:5070
To: <sip:<sip username>1003@<flexisip ip>>
From: <sip:<caller username>@<softswitch ip>>;tag=6CAON4BK77U7B37JJRCQ____.o
Call-ID: [email protected]
CSeq: 385 INVITE
Expires: 300
Allow: INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS, UPDATE
Content-Disposition: session
Content-Type: application/sdp
User-Agent: PortaSIP
P-Asserted-Identity: <sip:<caller username>@<softswitch ip>>
Remote-Party-ID: <sip:<caller username>@<softswitch ip>>;party=calling
cisco-GUID: 1061265196-3052461791-4047583417-4047583417
h323-conf-id: 1061265196-3052461791-4047583417-4047583417
Content-Length: 297

v=0
o=PortaSIP 1983056473040185933 1 IN IP4 <softswitch ip>
s=SIP Media Capabilities
t=0 0
m=audio 48276 RTP/AVP 8 0 18 101
c=IN IP4 <Softswitch RTP IP>
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=maxptime:20
@mrhery mrhery added the bug label Dec 16, 2024
@Failxxx
Copy link
Contributor

Failxxx commented Dec 17, 2024

Hello @mrhery,
Thank you for taking time to report a problem with Flexisip.

So if I understand correctly, your UAC (mobile app) succeeds to register and place new calls. However, when you try to call this same UAC, it fails. Could you please send Flexisip logs (with debug log level) when you try to place a new call to this UAC (incoming call). I would like to see the behavior of Flexisip in this case (please provide full logs (from the registration of the UAC to the INVITE it should receive)).

Sincerely,
Félix.

@mrhery
Copy link
Author

mrhery commented Dec 17, 2024

The full logs around 93kb, so here's the shorten:

2024-12-17 18:17:52:656 flexisip-debug- nta: received INVITE sip:<callee username>@<flexisip public ip>:5060 SIP/2.0 (CSeq 483)
2024-12-17 18:17:52:656 flexisip-debug- nta: INVITE (483) to message callback
2024-12-17 18:17:52:657 flexisip-debug- New SipEvent 0x557ab2e97790 - msg 0x557ab2e96f90
2024-12-17 18:17:52:657 flexisip-debug- Receiving new Request SIP message INVITE from sip:<caller username>@<softswitch ip> :
INVITE sip:<callee username>@<flexisip public ip>:5060 SIP/2.0
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-YjA1OTEwMGNiYzFjMGVjM2UyYjA0ZTRiOGZiMGNjYWM.--5360b0af9462c44d843ebcb5e5a1445c;rport=5060
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-ib2kp7g57ijkmgc3
Max-Forwards: 69
Record-Route: <sip:<softswitch ip>;lr;ep>
Contact: sip:<softswitch ip>:5070
To: <sip:<callee username>@<flexisip public ip>>
From: <sip:<caller username>@<softswitch ip>>;tag=6CF7X3ZN4SDYBAO3OSNQ____.o
Call-ID: 17082515_113499481@<client device public ip>
CSeq: 483 INVITE
Expires: 300
Allow: INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS, UPDATE
Content-Disposition: session
Content-Type: application/sdp
User-Agent: PortaSIP
P-Asserted-Identity: <sip:<caller username>@<softswitch ip>>
Remote-Party-ID: <sip:<caller username>@<softswitch ip>>;party=calling
cisco-GUID: 3182121074-1253689996-4141923715-4141923715
h323-conf-id: 3182121074-1253689996-4141923715-4141923715
Content-Length: 297
...

2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module DoSProtection
2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module SanityChecker
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module GarbageIn
2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module Capabilities
2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module NatHelper
2024-12-17 18:17:52:657 flexisip-debug- Record route added.
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module Authentication
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module AuthTrustedHosts
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module Authorization
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module Redirect
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module RegEvent
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module B2bua
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module GatewayAdapter
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module Presence
2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module Registrar
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module StatisticsCollector
2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module ContactRouteInserter
2024-12-17 18:17:52:657 flexisip-debug- No countact route parameter found
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module Router
2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module PushNotification
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module LoadBalancer
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module MediaRelay
2024-12-17 18:17:52:657 flexisip-debug- Skipping onRequest() on module Transcoder
2024-12-17 18:17:52:657 flexisip-debug- Invoking onRequest() on module Forward
2024-12-17 18:17:52:657 flexisip-debug- Skipping addition of record route identical to top one
2024-12-17 18:17:52:657 flexisip-debug- Removed push params from contact
2024-12-17 18:17:52:657 flexisip-debug- Sending Request SIP message to sip:<callee username>@<flexisip public ip>:5060
INVITE sip:<callee username>@<flexisip public ip>:5060 SIP/2.0
Record-Route: <sip:<flexisip private ip>:5060;lr>
Record-Route: <sip:<softswitch ip>;lr;ep>
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-YjA1OTEwMGNiYzFjMGVjM2UyYjA0ZTRiOGZiMGNjYWM.--5360b0af9462c44d843ebcb5e5a1445c;rport=5060
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-ib2kp7g57ijkmgc3
Max-Forwards: 68
Contact: sip:<softswitch ip>:5070
To: <sip:<callee username>@<flexisip public ip>>
From: <sip:<caller username>@<softswitch ip>>;tag=6CF7X3ZN4SDYBAO3OSNQ____.o
Call-ID: 17082515_113499481@<client device public ip>
CSeq: 483 INVITE
Expires: 300
Allow: INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS, UPDATE
Content-Disposition: session
Content-Type: application/sdp
User-Agent: PortaSIP
P-Asserted-Identity: <sip:<caller username>@<softswitch ip>>
Remote-Party-ID: <sip:<caller username>@<softswitch ip>>;party=calling
cisco-GUID: 3182121074-1253689996-4141923715-4141923715
h323-conf-id: 3182121074-1253689996-4141923715-4141923715
Content-Length: 297
...

2024-12-17 18:17:52:657 flexisip-debug- nta: sent INVITE (483) to udp/<flexisip public ip>:5060
2024-12-17 18:17:52:657 flexisip-debug- nta_msg_tsend(request)
2024-12-17 18:17:52:657 flexisip-debug- Terminate SipEvent 0x557ab2e97790
2024-12-17 18:17:52:657 flexisip-debug- Destroy SipEvent 0x557ab2e97790
2024-12-17 18:17:52:657 flexisip-debug- 
...
2024-12-17 18:17:52:660 flexisip-debug- nta: received 482 Loop Detected for INVITE (483)
2024-12-17 18:17:52:660 flexisip-debug- nta: 482 Loop Detected to message callback
2024-12-17 18:17:52:660 flexisip-debug- New SipEvent 0x557ab2e960c0 - msg 0x557ab2e96f40
2024-12-17 18:17:52:660 flexisip-debug- Receiving new Response SIP message: 482
SIP/2.0 482 Loop Detected
Via: SIP/2.0/UDP <flexisip private ip>;rport=65477;branch=z9hG4bK.NN5NgB4Ftp0aSpyv23gX7j899F;received=10.10.0.1
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-YjA1OTEwMGNiYzFjMGVjM2UyYjA0ZTRiOGZiMGNjYWM.--5360b0af9462c44d843ebcb5e5a1445c;rport=5060
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-ib2kp7g57ijkmgc3
Record-Route: <sip:<flexisip private ip>:5060;lr>
Record-Route: <sip:<softswitch ip>;lr;ep>
From: <sip:<caller username>@<softswitch ip>>;tag=6CF7X3ZN4SDYBAO3OSNQ____.o
To: <sip:<callee username>@<flexisip public ip>>;tag=F86aj200D06eD
Call-ID: 17082515_113499481@<client device public ip>
CSeq: 483 INVITE
Server: Flexisip/2.4.0-alpha-302-gad33b434 (sofia-sip-nta/2.0)
Content-Length: 0


2024-12-17 18:17:52:660 flexisip-debug- Invoking onResponse() on module DoSProtection
2024-12-17 18:17:52:660 flexisip-debug- Invoking onResponse() on module SanityChecker
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module GarbageIn
2024-12-17 18:17:52:660 flexisip-debug- Invoking onResponse() on module Capabilities
2024-12-17 18:17:52:660 flexisip-debug- Invoking onResponse() on module NatHelper
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module Authentication
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module AuthTrustedHosts
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module Authorization
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module Redirect
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module RegEvent
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module B2bua
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module GatewayAdapter
2024-12-17 18:17:52:660 flexisip-debug- Skipping onResponse() on module Presence
2024-12-17 18:17:52:660 flexisip-debug- Invoking onResponse() on module Registrar
2024-12-17 18:17:52:661 flexisip-debug- Skipping onResponse() on module StatisticsCollector
2024-12-17 18:17:52:661 flexisip-debug- Invoking onResponse() on module ContactRouteInserter
2024-12-17 18:17:52:661 flexisip-debug- Invoking onResponse() on module Router
2024-12-17 18:17:52:661 flexisip-debug- Invoking onResponse() on module PushNotification
2024-12-17 18:17:52:661 flexisip-debug- Skipping onResponse() on module LoadBalancer
2024-12-17 18:17:52:661 flexisip-debug- Skipping onResponse() on module MediaRelay
2024-12-17 18:17:52:661 flexisip-debug- Skipping onResponse() on module Transcoder
2024-12-17 18:17:52:661 flexisip-debug- Invoking onResponse() on module Forward
2024-12-17 18:17:52:661 flexisip-debug- Sending response:
SIP/2.0 482 Loop Detected
Via: SIP/2.0/UDP <flexisip private ip>;rport=65477;branch=z9hG4bK.NN5NgB4Ftp0aSpyv23gX7j899F;received=10.10.0.1
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-YjA1OTEwMGNiYzFjMGVjM2UyYjA0ZTRiOGZiMGNjYWM.--5360b0af9462c44d843ebcb5e5a1445c;rport=5060
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-ib2kp7g57ijkmgc3
Record-Route: <sip:<flexisip private ip>:5060;lr>
Record-Route: <sip:<softswitch ip>;lr;ep>
From: <sip:<caller username>@<softswitch ip>>;tag=6CF7X3ZN4SDYBAO3OSNQ____.o
To: <sip:<callee username>@<flexisip public ip>>;tag=F86aj200D06eD
Call-ID: 17082515_113499481@<client device public ip>
CSeq: 483 INVITE
Server: Flexisip/2.4.0-alpha-302-gad33b434 (sofia-sip-nta/2.0)
Content-Length: 0
...
ACK sip:<callee username>@<flexisip public ip>:5060 SIP/2.0
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-YjA1OTEwMGNiYzFjMGVjM2UyYjA0ZTRiOGZiMGNjYWM.--5360b0af9462c44d843ebcb5e5a1445c;rport=5060
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-ib2kp7g57ijkmgc3
Max-Forwards: 69
To: <sip:<callee username>@<flexisip public ip>>;tag=F86aj200D06eD
From: <sip:<caller username>@<softswitch ip>>;tag=6CF7X3ZN4SDYBAO3OSNQ____.o
Call-ID: 17082515_113499481@<client device public ip>
CSeq: 483 ACK
Allow: INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
User-Agent: PortaSIP
Content-Length: 0


2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module DoSProtection
2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module SanityChecker
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module GarbageIn
2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module Capabilities
2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module NatHelper
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module Authentication
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module AuthTrustedHosts
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module Authorization
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module Redirect
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module RegEvent
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module B2bua
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module GatewayAdapter
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module Presence
2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module Registrar
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module StatisticsCollector
2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module ContactRouteInserter
2024-12-17 18:17:52:943 flexisip-debug- No countact route parameter found
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module Router
2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module PushNotification
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module LoadBalancer
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module MediaRelay
2024-12-17 18:17:52:943 flexisip-debug- Skipping onRequest() on module Transcoder
2024-12-17 18:17:52:943 flexisip-debug- Invoking onRequest() on module Forward
2024-12-17 18:17:52:943 flexisip-debug- Sending Request SIP message to sip:<callee username>@<flexisip public ip>:5060
ACK sip:<callee username>@<flexisip public ip>:5060 SIP/2.0
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-YjA1OTEwMGNiYzFjMGVjM2UyYjA0ZTRiOGZiMGNjYWM.--5360b0af9462c44d843ebcb5e5a1445c;rport=5060
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-ib2kp7g57ijkmgc3
Max-Forwards: 68
To: <sip:<callee username>@<flexisip public ip>>;tag=F86aj200D06eD
From: <sip:<caller username>@<softswitch ip>>;tag=6CF7X3ZN4SDYBAO3OSNQ____.o
Call-ID: 17082515_113499481@<client device public ip>
CSeq: 483 ACK
Allow: INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
User-Agent: PortaSIP
Content-Length: 0
...
2024-12-17 18:17:52:944 flexisip-debug- nta: received ACK sip:<callee username>@<flexisip public ip>:5060 SIP/2.0 (CSeq 483)
2024-12-17 18:17:52:944 flexisip-debug- nta: Via check: received=10.10.0.1
2024-12-17 18:17:52:944 flexisip-debug- nta: ACK (483) to message callback
2024-12-17 18:17:52:944 flexisip-debug- New SipEvent 0x557ab2e97790 - msg 0x557ab2e96f40
2024-12-17 18:17:52:944 flexisip-debug- Receiving new Request SIP message ACK from sip:<caller username>@<softswitch ip> :
ACK sip:<callee username>@<flexisip public ip>:5060 SIP/2.0
Via: SIP/2.0/UDP <flexisip private ip>;rport=65477;branch=z9hG4bK.NN5NgB4Ftp0aSpyv23gX7j899F;received=10.10.0.1
Via: SIP/2.0/UDP <softswitch ip>:5060;branch=z9hG4bK-524287-1-YjA1OTEwMGNiYzFjMGVjM2UyYjA0ZTRiOGZiMGNjYWM.--5360b0af9462c44d843ebcb5e5a1445c;rport=5060
Via: SIP/2.0/UDP <softswitch ip>:5070;rport=5070;branch=z9hG4bK-ib2kp7g57ijkmgc3
Max-Forwards: 68
To: <sip:<callee username>@<flexisip public ip>>;tag=F86aj200D06eD
From: <sip:<caller username>@<softswitch ip>>;tag=6CF7X3ZN4SDYBAO3OSNQ____.o
Call-ID: 17082515_113499481@<client device public ip>
CSeq: 483 ACK
Allow: INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
User-Agent: PortaSIP
Content-Length: 0


2024-12-17 18:17:52:944 flexisip-debug- Invoking onRequest() on module DoSProtection
2024-12-17 18:17:52:944 flexisip-debug- Invoking onRequest() on module SanityChecker
2024-12-17 18:17:52:944 flexisip-debug- Skipping onRequest() on module GarbageIn
2024-12-17 18:17:52:944 flexisip-debug- Invoking onRequest() on module Capabilities
2024-12-17 18:17:52:945 flexisip-debug- Invoking onRequest() on module NatHelper
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module Authentication
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module AuthTrustedHosts
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module Authorization
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module Redirect
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module RegEvent
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module B2bua
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module GatewayAdapter
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module Presence
2024-12-17 18:17:52:945 flexisip-debug- Invoking onRequest() on module Registrar
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module StatisticsCollector
2024-12-17 18:17:52:945 flexisip-debug- Invoking onRequest() on module ContactRouteInserter
2024-12-17 18:17:52:945 flexisip-debug- No countact route parameter found
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module Router
2024-12-17 18:17:52:945 flexisip-debug- Invoking onRequest() on module PushNotification
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module LoadBalancer
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module MediaRelay
2024-12-17 18:17:52:945 flexisip-debug- Skipping onRequest() on module Transcoder
2024-12-17 18:17:52:945 flexisip-debug- Invoking onRequest() on module Forward
2024-12-17 18:17:52:945 flexisip-debug- Loop detected: z9hG4bK.NN5NgB4Ftp0aSpyv23gX7j899F
2024-12-17 18:17:52:945 flexisip-debug- Replying Request SIP message: 482 Loop Detected
2024-12-17 18:17:52:945 flexisip-debug- Terminate SipEvent 0x557ab2e97790
2024-12-17 18:17:52:945 flexisip-debug- Destroy SipEvent 0x557ab2e97790
2024-12-17 18:17:52:945 flexisip-debug- 

==============================================================================================================

2024-12-17 18:17:52:945 flexisip-debug- nta: received 482 Loop Detected for ACK (468)
2024-12-17 18:17:52:945 flexisip-debug- nta: 482 Loop Detected is response to ACK
2024-12-17 18:17:52:946 flexisip-debug- nta: received 482 Loop Detected for ACK (483)
2024-12-17 18:17:52:946 flexisip-debug- nta: 482 Loop Detected is response to ACK
2024-12-17 18:17:54:788 flexisip-debug- nta: timer J fired, terminate 401 response
2024-12-17 18:17:54:788 flexisip-debug- incoming_reclaim: 0x557ab2e8f260
2024-12-17 18:17:54:788 flexisip-debug- nta_incoming_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 free
2024-12-17 18:17:55:440 flexisip-debug- nta: timer J fired, terminate 200 response
2024-12-17 18:17:55:440 flexisip-debug- incoming_reclaim: 0x557ab2e96270
2024-12-17 18:17:55:440 flexisip-debug- nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free

The logs is longer since we tested on 3 other extension (3 sip username) 1001, 1002,1003. For this purpose we use 1003. The INVITE sip:1003@ip itself repeated 3 times in the log.

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

No branches or pull requests

2 participants