Can't listen call after redirect to gateway
-
Hi! Can anyone help?
I have internal extensions and VOIP-gateway. I can listen internal calls with FOP2. But when redirect to external number to VOIP-gateway taking place FOP2 can't listen calls. But this call is recording by Asterisk correctly.
Why Asterisk can record this calls and FOP2 can't listen them? -
FOP2 does not listen calls, it just fires the chanspy asterisk command. So your question should be instead:
Why chanspy cannot monitor a call , but Monitor or Mixmonitor can record it to disk?
I cannot give you the answer, as in many many scenarios, chanspy works fine, no matter if you are using a gateway or not. Maybe asterisk sends a reinvite to not allow a direct rtp path between endpoints when using monitor/mixmonitor but fails to do that when using chanspy.
In any case, it is not a fop2 issue, but an asterisk issue.
Best regards,
-
-
-
I have assumption.
FOP2 can't see call activity between external calls and my 3 digits extensions that have custom dial (such as SIP/10000/388501).FOP2 monitor devices... in the above SIP string, the device is SIP/10000 . So if you have a button to monitor SIP/10000 everything should work.
Now, if SIP/10000 is a gateway that dial remote extensions, then you will be able to monitor that as a trunk, not distinct extensions, as they are not distinct channels/devices. Once you dial SIP/10000/whatever or SIP/whatever@10000, ASTERISK will create a channel SIP/10000-randomsession, then you call a differente extension, then a new channel will be created SIP/10000-randomsession. So, you have two calls, maybe for two separate extensions, and both are named by asterisk SIP/10000, and that is all what FOP2 will monitor and work with.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
