I was using a pi3 for my pbx, I then swapped my sd card out into a pi4.
I then started to get duplicate calls to my application:
I thought maybe I messed something up by just swapping the sd card, so I switched it back the original pi3, and now I have three duplicate calls!
Anyone know why this is occurring?
asterisk log:
[2019-12-12 21:41:35] VERBOSE[1956][C-00000009] pbx.c: Spawn extension (from-test, s, 3) exited non-zero on 'PJSIP/1voip-00000008'
[2019-12-12 21:41:46] VERBOSE[1959] stasis/app.c: Creating Stasis app 'hello-world'
[2019-12-12 21:41:46] VERBOSE[1959] res_http_websocket.c: WebSocket connection from '192.168.1.5:51405' for protocol '' accepted using version '13'
[2019-12-12 21:41:56] VERBOSE[1150] pbx_variables.c: Setting global variable 'SIPDOMAIN' to '-----------------' //ommited
[2019-12-12 21:41:56] VERBOSE[1963][C-0000000a] pbx.c: Executing [s@from-test:1] NoOp("PJSIP/1voip-00000009", "") in new stack
[2019-12-12 21:41:56] VERBOSE[1150] pbx_variables.c: Setting global variable 'SIPDOMAIN' to '-----------------' //ommited
[2019-12-12 21:41:56] VERBOSE[1963][C-0000000a] pbx.c: Executing [s@from-test:2] Stasis("PJSIP/1voip-00000009", "hello-world") in new stack
[2019-12-12 21:41:56] VERBOSE[1964][C-0000000b] pbx.c: Executing [s@from-test:1] NoOp("PJSIP/1voip-0000000a", "") in new stack
[2019-12-12 21:41:56] VERBOSE[1964][C-0000000b] pbx.c: Executing [s@from-test:2] Stasis("PJSIP/1voip-0000000a", "hello-world") in new stack
[2019-12-12 21:41:56] VERBOSE[1150] pbx_variables.c: Setting global variable''SIPDOMAIN' to '-----------------' //ommited'
[2019-12-12 21:41:56] VERBOSE[1965][C-0000000c] pbx.c: Executing [s@from-test:1] NoOp("PJSIP/1voip-0000000b", "") in new stack
[2019-12-12 21:41:56] VERBOSE[1965][C-0000000c] pbx.c: Executing [s@from-test:2] Stasis("PJSIP/1voip-0000000b", "hello-world") in new stack
Here is some of my log in java
2019-12-12 16:41:45 [INFO] System up since Thu Dec 12 16:35:38 EST 2019
2019-12-12 16:41:55 [INFO] ChannelVarset thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelCreated thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelDialplan thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelVarset thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelDialplan thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelVarset thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] StasisStart thread: Thread[nioEventLoopGroup-2-2,10,main]
test
2019-12-12 16:41:55 [INFO] ChannelCreated thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelDialplan thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelVarset thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelDialplan thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelVarset thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] StasisStart thread: Thread[nioEventLoopGroup-2-2,10,main]
test
2019-12-12 16:41:55 [INFO] ChannelCreated thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelDialplan thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelDialplan thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] ChannelVarset thread: Thread[nioEventLoopGroup-2-2,10,main]
2019-12-12 16:41:55 [INFO] StasisStart thread: Thread[nioEventLoopGroup-2-2,10,main]
test
dialplan
[from-test]
exten => s,1,NoOp()
same => n,Stasis(hello-world)
same => n,Hangup()