[Freeswitch-users] Ring group and call-forwards.
Igor Olhovskiy
igorolhovskiy at gmail.com
Mon Oct 5 16:13:35 MSD 2015
Hi!
I'm using Fusion to configure FreeSwitch and encountered a bug, that MIGHT
be related to FreeSwitch.
Idea - I have an extension with ring group on it made this way
bridge({ignore_early_media=true}[sip_invite_domain=pbx.securenetvox.net
,confirm=false,leg_timeout=30,leg_delay_start=0,dialed_extension=108,extension_uuid=c728abd0-6107-460d-b1b6-4861c6b6998f]user/
108 at pbx.securenetvox.net,[sip_invite_domain=pbx.securenetvox.net
,confirm=false,leg_timeout=30,leg_delay_start=15,dialed_extension=107,extension_uuid=4bd03430-767b-41da-8b78-0902d590cdc2]user/
107 at pbx.securenetvox.net)
And on extension 108 i have a custom dialstring:
{presence_id=0038091908XXXX at pbx.securenetvox.net
,instant_ringback=true,domain_uuid=32ade86a-9d28-4468-9fc9-2a39fe9ffe50,sip_invite_domain=
pbx.securenetvox.net,domain_name=pbx.securenetvox.net,domain=
pbx.securenetvox.net
,extension_uuid=c728abd0-6107-460d-b1b6-4861c6b6998f,toll_allow='',sip_h_X-accountcode=
pbx.securenetvox.net,accountcode=pbx.securenetvox.net
}loopback/0038091908XXXX
So, I dial from extension 107 to ring group extension and got this (part of
log):
.............
2015-10-05 14:10:50.051507 [DEBUG] sofia.c:6658 Channel sofia/internal/
107 at pbx.securenetvox.net entering state [received][100]
2015-10-05 14:10:50.051507 [DEBUG] sofia.c:6668 Remote SDP:
v=0
o=107-jitsi.org 0 0 IN IP4 212.232.26.242
s=-
c=IN IP4 212.232.26.242
t=0 0
m=audio 25732 RTP/AVP 96 97 98 9 100 102 0 8 103 3 104 101
a=rtpmap:96 opus/48000/2
a=fmtp:96 usedtx=1
a=rtpmap:97 SILK/24000
a=rtpmap:98 SILK/16000
a=rtpmap:9 G722/8000
a=rtpmap:100 speex/32000
a=rtpmap:102 speex/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:103 iLBC/8000
a=rtpmap:3 GSM/8000
a=rtpmap:104 speex/8000
a=rtpmap:101 telephone-event/8000
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=rtcp-xr:voip-metrics
m=video 28234 RTP/AVP 105 99
a=rtpmap:105 H264/90000
a=fmtp:105 profile-level-id=4DE01f;packetization-mode=1
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=4DE01f
a=recvonly
a=imageattr:105 send * recv [x=[0-1440],y=[0-900]]
a=imageattr:99 send * recv [x=[0-1440],y=[0-900]]
a=nortpproxy:yes
..............
2015-10-05 14:10:50.131508 [NOTICE] switch_cpp.cpp:1341 [ring group]
app_data: {ignore_early_media=true}[sip_invite_domain=pbx.securenetvox.net
,confirm=false,leg_timeout=30,leg_delay_start=0,dialed_extension=108,extension_uuid=c728abd0-6107-460d-b1b6-4861c6b6998f]user/
108 at pbx.securenetvox.net,[sip_invite_domain=pbx.securenetvox.net
,confirm=false,leg_timeout=30,leg_delay_start=15,dialed_extension=107,extension_uuid=4bd03430-767b-41da-8b78-0902d590cdc2]user/
107 at pbx.securenetvox.net
EXECUTE sofia/internal/107 at pbx.securenetvox.net
bridge({ignore_early_media=true}[sip_invite_domain=pbx.securenetvox.net
,confirm=false,leg_timeout=30,leg_delay_start=0,dialed_extension=108,extension_uuid=c728abd0-6107-460d-b1b6-4861c6b6998f]user/
108 at pbx.securenetvox.net,[sip_invite_domain=pbx.securenetvox.net
,confirm=false,leg_timeout=30,leg_delay_start=15,dialed_extension=107,extension_uuid=4bd03430-767b-41da-8b78-0902d590cdc2]user/
107 at pbx.securenetvox.net)
2015-10-05 14:10:50.131508 [DEBUG] switch_channel.c:1221 sofia/internal/
107 at pbx.securenetvox.net EXPORTING[export_vars] [domain_name]=[
pbx.securenetvox.net] to event
2015-10-05 14:10:50.131508 [DEBUG] switch_channel.c:1221 sofia/internal/
107 at pbx.securenetvox.net EXPORTING[export_vars]
[origination_callee_id_name]=[96] to event
2015-10-05 14:10:50.131508 [DEBUG] switch_ivr_originate.c:2101 Parsing
global variables
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[ignore_early_media]=[true]
2015-10-05 14:10:50.131508 [DEBUG] switch_ivr_originate.c:2554 Parsing
session specific variables
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[sip_invite_domain]=[pbx.securenetvox.net]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[confirm]=[false]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[leg_timeout]=[30]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[leg_delay_start]=[0]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[dialed_extension]=[108]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[extension_uuid]=[c728abd0-6107-460d-b1b6-4861c6b6998f]
2015-10-05 14:10:50.131508 [DEBUG] switch_channel.c:1221 sofia/internal/
107 at pbx.securenetvox.net EXPORTING[export_vars] [domain_name]=[
pbx.securenetvox.net] to event
2015-10-05 14:10:50.131508 [DEBUG] switch_channel.c:1221 sofia/internal/
107 at pbx.securenetvox.net EXPORTING[export_vars]
[origination_callee_id_name]=[96] to event
2015-10-05 14:10:50.131508 [DEBUG] switch_ivr_originate.c:2101 Parsing
global variables
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[presence_id]=[00380919082171 at pbx.securenetvox.net]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[instant_ringback]=[true]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[domain_uuid]=[32ade86a-9d28-4468-9fc9-2a39fe9ffe50]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[sip_invite_domain]=[pbx.securenetvox.net]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[domain_name]=[pbx.securenetvox.net]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[domain]=[pbx.securenetvox.net]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[extension_uuid]=[c728abd0-6107-460d-b1b6-4861c6b6998f]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[sip_h_X-accountcode]=[pbx.securenetvox.net]
2015-10-05 14:10:50.131508 [DEBUG] switch_event.c:1698 Parsing variable
[accountcode]=[pbx.securenetvox.net]
2015-10-05 14:10:50.131508 [INFO] mod_loopback.c:1064 Sending early media
2015-10-05 14:10:50.131508 [DEBUG] mod_opus.c:289 Opus encoder set bitrate
to local settings [-1000bps]
2015-10-05 14:10:50.131508 [DEBUG] mod_opus.c:289 Opus encoder set bitrate
to local settings [-1000bps]
2015-10-05 14:10:50.131508 [DEBUG] switch_core_media.c:2506 Set Codec
sofia/internal/107 at pbx.securenetvox.net opus/0 0 ms 960 samples 0 bits 2
channels
2015-10-05 14:10:50.131508 [DEBUG] switch_core_codec.c:111 sofia/internal/
107 at pbx.securenetvox.net Original read codec set to opus:116
2015-10-05 14:10:50.131508 [DEBUG] switch_core_media.c:5178 AUDIO RTP
*[sofia/internal/107 at pbx.securenetvox.net
<107 at pbx.securenetvox.net>] 10.0.20.60 port 17392 -> (null) port 0 codec: 0
ms: 20*
*2015-10-05 14:10:50.131508 [ERR] switch_core_media.c:5843 AUDIO RTP
REPORTS ERROR: [Missing remote host]*
2015-10-05 14:10:50.131508 [NOTICE] switch_core_media.c:5844 Hangup
sofia/internal/107 at pbx.securenetvox.net [CS_EXECUTE]
[DESTINATION_OUT_OF_ORDER]
........
So, at some state original channel info is lost.... Is this a bug or
something another?
--
Best regards,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151005/5797ea50/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list