VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
regs at kinetix.gr Guest
|
Posted: Fri Dec 05, 2008 7:31 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
The proto_specific_hangup_cause is missing on one of the two
call legs. When the caller hangs up it is missing from the a-leg CDR.
When the callee hangs up it is missing from the b-leg CDR. Is this nornal?
And another question : what piece of info could inform me about who
hanged up?
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr
-------------------------------------------
_______________________________________________
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 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Fri Dec 05, 2008 10:58 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
I will do some research on this and let you know what I find out.
Question: are these internal calls or pstn or ?? Just curious about
your environment.
Thanks,
MC
On Dec 5, 2008, at 4:23 AM, Apostolos Pantsiopoulos <regs@kinetix.gr>
wrote:
Quote: | The proto_specific_hangup_cause is missing on one of the two
call legs. When the caller hangs up it is missing from the a-leg CDR.
When the callee hangs up it is missing from the b-leg CDR. Is this
nornal?
And another question : what piece of info could inform me about who
hanged up?
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr
-------------------------------------------
_______________________________________________
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 |
|
Back to top |
|
|
regs at kinetix.gr Guest
|
Posted: Fri Dec 05, 2008 11:19 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
I am sending this second email to request/suggest/enquire about something relevant :
Wouldn't it be useful to know which end of a specific call leg send the protocol
specific hangup cause? Otherwise it would be difficult to understand what really happened.
Michael S Collins wrote: Quote: | --
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
regs at kinetix.gr Guest
|
Posted: Fri Dec 05, 2008 11:28 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
Both legs are SIP. From non-registered endpoints (if of any use).
Michael S Collins wrote: Quote: | --
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Dec 05, 2008 11:44 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
It's easy enough to set the value on both legs try r10614
It was only set on the opposing leg before but since it's harmless to set it on both i did it for you.
On Fri, Dec 5, 2008 at 10:23 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
regs at kinetix.gr Guest
|
Posted: Fri Dec 05, 2008 11:57 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
FreeSWITCH Version 1.0.trunk (10579)
Brian West wrote: Quote: | --
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Fri Dec 05, 2008 12:44 pm Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
Makes sense. I will look into this.
-MC
On Dec 5, 2008, at 8:17 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
|
|
Back to top |
|
|
regs at kinetix.gr Guest
|
Posted: Fri Dec 05, 2008 1:46 pm Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
I tested it and it works fine but it got me thinking...
Is just a copy of the cause to the other leg the correct way
to do it? Couldn't the two call legs hang up with different causes?
Especially when I could override the cause before it got send
to the e.g. calling side using e.g. the hangup command?
To make myself clear : I could have the b-leg (in a bridge hangup)
sending me a user busy code and I could send a circuit/channel
unavailable to my caller (a-leg), let's
say because I don't trust my terminator (b-leg) and his codes and I want to
enforce another one and send it to my originator so that he could retry another
carrier.
What do you think?
Anthony Minessale wrote: Quote: | It's easy enough to set the value on both legs try r10614
It was only set on the opposing leg before but since it's harmless to set it on both i did it for you.
On Fri, Dec 5, 2008 at 10:23 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Dec 05, 2008 1:56 pm Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
This variable is to specifically document the protocol specific last status cause.
So you can know what the status was when you got a BYE or final response to invite in the case of sip.
That's all it's for.
On Fri, Dec 5, 2008 at 12:43 PM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
Quote: | I tested it and it works fine but it got me thinking...
Is just a copy of the cause to the other leg the correct way
to do it? Couldn't the two call legs hang up with different causes?
Especially when I could override the cause before it got send
to the e.g. calling side using e.g. the hangup command?
To make myself clear : I could have the b-leg (in a bridge hangup)
sending me a user busy code and I could send a circuit/channel
unavailable to my caller (a-leg), let's
say because I don't trust my terminator (b-leg) and his codes and I want to
enforce another one and send it to my originator so that he could retry another
carrier.
What do you think?
Anthony Minessale wrote: Quote: |
It's easy enough to set the value on both legs try r10614
It was only set on the opposing leg before but since it's harmless to set it on both i did it for you.
On Fri, Dec 5, 2008 at 10:23 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
regs at kinetix.gr Guest
|
Posted: Mon Dec 08, 2008 5:14 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
Any updates about the "which side hanged up" potential variable?
Michael S Collins wrote: Quote: | Makes sense. I will look into this.Â
-MC
On Dec 5, 2008, at 8:17 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Dec 08, 2008 8:54 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
sip_hangup_disposition will be set to recv_bye on the side that was hungup.
On Mon, Dec 8, 2008 at 4:11 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
regs at kinetix.gr Guest
|
Posted: Mon Dec 08, 2008 9:17 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
Not necessarily. For instance I got a "send_cancel" when the
calling party hanged up before the other party could pick up.
Also, shouldn't something like that be protocol/technology
neutral?
Anthony Minessale wrote: Quote: | sip_hangup_disposition will be set to recv_bye on the side that was hungup.
On Mon, Dec 8, 2008 at 4:11 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Dec 08, 2008 10:55 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
it is protocol neutral, that's why it starts with sip_
the variable can be any of:
send_bye
recv_bye
send_cancel
send_refuse
using that value you can determine the information you asked. I answered your specific question which was:
determining "which side hanged up". Maybe you should beat around the bush less with your "requirements" for your application you are expecting me to support for you.
I already added 2 patches for you right. Just be clear about what you want.
On Mon, Dec 8, 2008 at 8:13 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
regs at kinetix.gr Guest
|
Posted: Tue Dec 09, 2008 3:25 am Post subject: [Freeswitch-users] Proto specific hangup cause issue |
|
|
"I already added 2 patches for you right. Just be clear about what you want."
And I am grateful of that.
"it is protocol neutral, that's why it starts with sip_"
I didn't know that. I thought that the sip_ variables are protocol specific. So one would expect there to be an iax_hangup_disposition,
woomera_hangup_disposition etc?
"Maybe you should beat around the bush less with your "requirements" for your application you are expecting me to support for you."
I am just trying to gather statistics for my providers as I would with any VoIP softswitch. (hangup causes per terminator per destination)
I don't think that this is a specific "application" rather than a general necessity for VoIP carriers. It is also very useful for troubleshooting
purposes : when I look at my CDRs to find a call that I got a complain for, I want to be able to tell if it was me or the provider who
hanged up and gave a specific hangup cause, so that I can troubleshoot the issue better.
"Just be clear about what you want."
I want FS to reach that level of detailing and maturity in all aspects so that it could be the softswitch of choice by any VoIP entrepreneur
(or hobbyist) and it is my strong belief that this can only be done by the community giving feedback to the programmers about what
they find useful or not (i.e. experience from real-life situations). The patches that you made the last few days were not intended for
me exclusively but for anyone that will face the same situations using FS. If you want the community to stop sending feedback about
features/improvements you may as well close down this mailing list or just use it as an announcement board.
I wish I was a c programmer and get involved with the project actively. But I am not. And as far as I can tell most of the registered users
in this list aren't either. So they only way we can help is by testing and suggesting.
Anthony Minessale wrote: Quote: | it is protocol neutral, that's why it starts with sip_
the variable can be any of:
send_bye
recv_bye
send_cancel
send_refuse
using that value you can determine the information you asked. I answered your specific question which was:
determining "which side hanged up". Maybe you should beat around the bush less with your "requirements" for your application you are expecting me to support for you.
I already added 2 patches for you right. Just be clear about what you want.
On Mon, Dec 8, 2008 at 8:13 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
------------------------------------------- |
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|