I am sorry for asking 2 questions on the same post:
I use ARI with nodejs to emit calls. I use a SIP from OVH. Why, when I originate PJSIP/numToCall@OVH, sometimes it works and sometimes not?
When the call is not originate:
Activating Stasis app 'externalMedia'
== WebSocket connection from 'xxx.x.x.x:56436' for protocol '' accepted using version '13'
-- Called numToCall@OVH
> 0x7fa33c01d040 -- Strict RTP learning after remote address set to: xxx.x.x.x:9999
-- Called xxx.x.x.x:9999
-- UnicastRTP/xxx.x.x.x:9999-0x7fa33c005e60 answered
> Launching Stasis(externalMedia) on UnicastRTP/xxx.x.x.x:9999-0x7fa33c005e60
-- Channel Snoop/ffbe4d4c-4820-47ca-8e22-abcbb237f871-00000003 joined 'simple_bridge' stasis-bridge <53bfa643-6acc-44ca-bae6-e9ab9fe43296>
-- Channel Snoop/ffbe4d4c-4820-47ca-8e22-abcbb237f871-00000003 left 'simple_bridge' stasis-bridge <53bfa643-6acc-44ca-bae6-e9ab9fe43296>
-- Channel UnicastRTP/xxx.x.x.x:9999-0x7fa33c005e60 joined 'simple_bridge' stasis-bridge <df096a01-51e2-4490-885c-ce42ead79b85>
-- Channel UnicastRTP/xxx.x.x.x:9999-0x7fa33c005e60 left 'simple_bridge' stasis-bridge <df096a01-51e2-4490-885c-ce42ead79b85>
-- Channel UnicastRTP/xxx.x.x.x:9999-0x7fa33c005e60 joined 'simple_bridge' stasis-bridge <0c0c323c-a389-4917-a45e-26f743d48425>
-- Channel UnicastRTP/xxx.x.x.x:9999-0x7fa33c005e60 left 'simple_bridge' stasis-bridge <0c0c323c-a389-4917-a45e-26f743d48425>
Deactivating Stasis app 'externalMedia'
And when it works:
== WebSocket connection from 'xxx.x.x.x:56510' for protocol '' accepted using version '13'
-- Called numToCall@OVH
> 0x7f949c01fcd0 -- Strict RTP learning after remote address set to: xxx.x.x.x:9999
-- Called xxx.x.x.x:9999
-- UnicastRTP/xxx.x.x.x:9999-0x7f949c018920 answered
> Launching Stasis(externalMedia) on UnicastRTP/xxx.x.x.x:9999-0x7f949c018920
-- Channel Snoop/151957a9-cc0c-4309-9296-d3614b31cadc-00000000 joined 'simple_bridge' stasis-bridge <3c887c44-1f6d-434d-a67b-643c9290e691>
-- Channel Snoop/151957a9-cc0c-4309-9296-d3614b31cadc-00000001 joined 'simple_bridge' stasis-bridge <33983a36-3311-4a02-984b-db650ba55416>
-- Channel UnicastRTP/xxx.x.x.x:9999-0x7f949c018920 joined 'simple_bridge' stasis-bridge <fcb9d878-26f3-40b7-bf7a-e8cbdcf457e7>
-- Channel UnicastRTP/xxx.x.x.x:9999-0x7f949c018920 left 'simple_bridge' stasis-bridge <fcb9d878-26f3-40b7-bf7a-e8cbdcf457e7>
-- Channel UnicastRTP/xxx.x.x.x:9999-0x7f949c018920 joined 'simple_bridge' stasis-bridge <3c887c44-1f6d-434d-a67b-643c9290e691>
> 0x7f95680258e0 -- Strict RTP learning after remote address set to: yy.yyy.yyy.yyy:35232
-- PJSIP/OVH-00000000 is making progress
-- PJSIP/OVH-00000000 is making progress
-- PJSIP/OVH-00000000 is making progress
-- PJSIP/OVH-00000000 is making progress
-- PJSIP/OVH-00000000 is making progress
-- PJSIP/OVH-00000000 answered
> Launching Stasis(externalMedia,dialed) on PJSIP/OVH-00000000
How to evaluate the calling capacity of my server? (how many calls at the same time, how many calls per day within wav files are played and sometimes the same file can be played at the same time 50 times.
You would need to actually look at the SIP traffic using âpjsip set logger onâ or through a packet capture and determine the complete SIP exchange. Perhaps it rejected the call for some reason.
As for testing capacity there is SIPp to send or receive calls, but how you use it and do the testing is up to you.
I did not have a response from OVH but, I registered the line on ZOIPER.
When I call someone for the first time after the registration it works, and after notâŚ
But if between each call I stop the registration to register again it worksâŚ
That means, at the end of the call the NUMBER is always connected to something?
Sorry for my bad englishâŚ
I said, when I log in my OVH SIP number to zoiper and I try to call my personnal phone number for example, it works. But at the end of the call, If I try a second time I have the âbearercapability no authâ error and again and again.
But (2) if between each call I log out on zoiper and log in again, it works
So the question is: This case is known? Why a provider block the calls on the same log in. And if it is the case, is it possible to log out and log in automatically between each calls on ASTERISK?
How the provider chooses to do things is up to them, including any policies. There is no ability to âlog out and log inâ automatically between calls in Asterisk. Iâve never heard of such a thing being needed before.