In my dialplan, I have set the following to send incoming calls to an application I am working on: <action application="socket" data="192.168.207.242:8084 async full"/> This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have. But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get: http://pastebin.freeswitch.org/4671 Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too? Ivan
What are you doing in your script over the socket? You're directing them elsewhere? /b On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
<action application="socket" data="192.168.207.242:8084 async full"/>
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I do a sendmsg and execute a bridge sofia/ 192.168.207.203/116%192.168.207.203 Ivan Den 22. juni. 2008 kl. 14:40 skrev Brian West:
What are you doing in your script over the socket? You're directing them elsewhere?
/b
On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
<action application="socket" data="192.168.207.242:8084 async full"/>
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge Ivan Den 22. juni. 2008 kl. 14:40 skrev Brian West:
What are you doing in your script over the socket? You're directing them elsewhere?
/b
On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
<action application="socket" data="192.168.207.242:8084 async full"/>
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I'm doing something similar and I don't see the HANGUP either. What I do see is that the control socket is closed when the hangup occurs, so I use that as a proxy for HANGUP. Not ideal but it works for me. _______________________________________________________________________________ From: Ivan_C_Myrvold To: freeswitch-users@lists.freeswitch.org Sent: 06/22/2008 08:59 AM Received: 06/22/2008 09:00 AM Subject: Re: [Freeswitch-users] Outbound socket SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge Ivan Den 22. juni. 2008 kl. 14:40 skrev Brian West:
What are you doing in your script over the socket? You're directing them elsewhere?
/b
On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
That doesn't help if you have several calls going, and one of the hangs up. You don't know which of them hang up, if you doesn't see the hangup message with the uuid in it. Ivan Den 22. juni. 2008 kl. 15:03 skrev Greg White:
I'm doing something similar and I don't see the HANGUP either. What I do see is that the control socket is closed when the hangup occurs, so I use that as a proxy for HANGUP. Not ideal but it works for me.
From: Ivan C Myrvold To: freeswitch-users@lists.freeswitch.org Sent: 06/22/2008 08:59 AM Received: 06/22/2008 09:00 AM Subject: Re: [Freeswitch-users] Outbound socket
SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge
Ivan
Den 22. juni. 2008 kl. 14:40 skrev Brian West:
What are you doing in your script over the socket? You're directing them elsewhere?
/b
On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Good point. I'm using outbound sockets - so the UUID is implied. Seems to work well. I see the socket for the terminated call close; the others stay open. _______________________________________________________________________________ From: Ivan_C_Myrvold To: freeswitch-users@lists.freeswitch.org CC: Greg_White Sent: 06/22/2008 09:39 AM Received: 06/22/2008 09:39 AM Subject: Re: [Freeswitch-users] Outbound socket That doesn't help if you have several calls going, and one of the hangs up. You don't know which of them hang up, if you doesn't see the hangup message with the uuid in it. Ivan Den 22. juni. 2008 kl. 15:03 skrev Greg White: I'm doing something similar and I don't see the HANGUP either. What I do see is that the control socket is closed when the hangup occurs, so I use that as a proxy for HANGUP. Not ideal but it works for me. _______________________________________________________________________________ From: Ivan_C_Myrvold To: freeswitch-users@lists.freeswitch.org Sent: 06/22/2008 08:59 AM Received: 06/22/2008 09:00 AM Subject: Re: [Freeswitch-users] Outbound socket SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge Ivan Den 22. juni. 2008 kl. 14:40 skrev Brian West:
What are you doing in your script over the socket? You're directing them elsewhere?
/b
On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
OK, I did it this way, too, after you gave me that idea. I will not catch the release cause, but at least now I get the hangup time. Thanks! Ivan Den 22. juni. 2008 kl. 15:55 skrev Greg White:
Good point. I'm using outbound sockets - so the UUID is implied. Seems to work well. I see the socket for the terminated call close; the others stay open.
From: Ivan C Myrvold To: freeswitch-users@lists.freeswitch.org CC: Greg White Sent: 06/22/2008 09:39 AM Received: 06/22/2008 09:39 AM Subject: Re: [Freeswitch-users] Outbound socket
That doesn't help if you have several calls going, and one of the hangs up. You don't know which of them hang up, if you doesn't see the hangup message with the uuid in it.
Ivan
Den 22. juni. 2008 kl. 15:03 skrev Greg White: I'm doing something similar and I don't see the HANGUP either. What I do see is that the control socket is closed when the hangup occurs, so I use that as a proxy for HANGUP. Not ideal but it works for me.
From: Ivan C Myrvold To: freeswitch-users@lists.freeswitch.org Sent: 06/22/2008 08:59 AM Received: 06/22/2008 09:00 AM Subject: Re: [Freeswitch-users] Outbound socket
SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge
Ivan
Den 22. juni. 2008 kl. 14:40 skrev Brian West:
What are you doing in your script over the socket? You're directing them elsewhere?
/b
On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I see in the documentation that I should send a "Sendmsg <uuid>", and not a "SendMsg" without the uuid. Maybe that will give me all messages with this uuid? Ivan Den 22. juni. 2008 kl. 14:59 skrev Ivan C Myrvold:
SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge
Ivan
Den 22. juni. 2008 kl. 14:40 skrev Brian West:
What are you doing in your script over the socket? You're directing them elsewhere?
/b
On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
In my dialplan, I have set the following to send incoming calls to an application I am working on:
<action application="socket" data="192.168.207.242:8084 async full"/>
This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to some of the registered phones I have.
But when I am terminating the calls, I do not getting the hangup events, which I would like to have so I can see when the calls were hung up. This is the last message I get:
http://pastebin.freeswitch.org/4671
Do I have to set up an inbound socket to the FreeSwitch server, just to catch those messages too?
Ivan
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On outbound event socket SendMsg alone is fine. I'm pretty sure once you send the bridge message you're finished and your not going to get anything else. /b On Jun 22, 2008, at 8:05 AM, Ivan C Myrvold wrote:
I see in the documentation that I should send a "Sendmsg <uuid>", and not a "SendMsg" without the uuid. Maybe that will give me all messages with this uuid?
Ivan
participants (3)
-
Brian West
-
Greg White
-
Ivan C Myrvold