<param name="extension" value="holger_sipgate">and name it similarily in the dialplan (/opt/freeswitch/conf/dialplan/public/sipgate.xml):<extension name="holger_sipgate">
<condition field="destination_number" expression="^49<my sipgate phone number>">
<action application="answer"/>
<action application="sleep" data="500"/>
<action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
<action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
</condition>
</extension>
<extension name="check_if_conference_active">
<condition field="${conference ${pin} list}" expression="/sofia/g" />
<condition field="destination_number" expression="^SEND_TO_CONFERENCE$">
<action application="set" data="bbb_authorized=true"/>
<action application="transfer" data="${pin} XML default"/>
</condition>
</extension>
In /opt/freeswitch/var/log/freeswitch.log you should see the incoming call being forwarded to the dialplan (somewhere holger_sipgate should occur).
Regex (FAIL) [my_sipgate] destination_number(my_sipgate) =~ /^MySipgateNumber/ break=on-falseEXTERNALDID to be entered with international prefix?)?In your configuration in /opt/freeswitch/conf/directory/default/sipgate.xml you have to uncomment the last <param ...> line and enter the name of the dialplan extension you want to call, e.g.<param name="extension" value="holger_sipgate">and name it similarily in the dialplan (/opt/freeswitch/conf/dialplan/public/sipgate.xml):<extension name="holger_sipgate">
My problem is, however, that it seems that the regexp of the dialplan is not correctly evaluated. In /opt/freeswitch/var/log/freeswitch.log I got the error message that the evaluation alsways fails:Regex (FAIL) [my_sipgate] destination_number(my_sipgate) =~ /^MySipgateNumber/ break=on-false
...
Any ideas/hints (e.g. isEXTERNALDIDto be entered with international prefix?)?
Dialplan: sofia/external/8007@9.9.9.9 Regex (FAIL) [from_sipgate] destination_number(+441463380000) =~ /^4999999999/ break=on-false
Dialplan: sofia/external/8004@9.9.9.9 Regex (FAIL) [from_sipgate] destination_number(900441503200000) =~ /^4999999999/ break=on-false
Dialplan: sofia/external/205@9.9.9.9 Regex (FAIL) [from_sipgate] destination_number(000972595500000) =~ /^4999999999/ break=on-false<param name="extension" value="my_sipgate"/>In your configuration in /opt/freeswitch/conf/directory/default/sipgate.xml you have to uncomment the last <param ...> line and enter the name of the dialplan extension you want to call, e.g.<param name="extension" value="holger_sipgate">and name it similarily in the dialplan (/opt/freeswitch/conf/dialplan/public/sipgate.xml):<extension name="holger_sipgate">Ah, thanks. Didn't relate these. However, that alone did not change the behavior when calling the number. Did you register your server's IP with sipgate explicitly (and if yes, how) or should defining the gateway be sufficient? Is there a way to check if there is a shakehand between sipgate and the server? Sipgate.de shows stil a "Device not connected".
My problem is, however, that it seems that the regexp of the dialplan is not correctly evaluated. In /opt/freeswitch/var/log/freeswitch.log I got the error message that the evaluation alsways fails:Regex (FAIL) [my_sipgate] destination_number(my_sipgate) =~ /^MySipgateNumber/ break=on-false...Any ideas/hints (e.g. isEXTERNALDIDto be entered with international prefix?)?Not sure how sipgate formats the called destination_number, but I'd expect it contains the international code.Some rows I had in to log before I restricted port 5060 to 217.10.64.0/20Dialplan: sofia/external/8007@9.9.9.9 Regex (FAIL) [from_sipgate] destination_number(+441463380000) =~ /^4999999999/ break=on-false
Dialplan: sofia/external/8004@9.9.9.9 Regex (FAIL) [from_sipgate] destination_number(900441503200000) =~ /^4999999999/ break=on-false
Dialplan: sofia/external/205@9.9.9.9 Regex (FAIL) [from_sipgate] destination_number(000972595500000) =~ /^4999999999/ break=on-falseSo I'm surprised to see destination_number(my_sipgate) in your logs. Do you see any line with your sipgate phone number when you grep the log file for destination_number? Did you perhaps set<param name="extension" value="my_sipgate"/>
which now shows up here, instead of the expected phone number?
<param name="username" value="MySIP-ID"/>
<param name="password" value="MySIP-Password"/>
<param name="extension" value="MySIP-Phonenumber"/>
</gateway>
</include><extension name="MySIP-Phonenumber">
<condition field="destination_number" expression="^MySIP-Phonenumber">
<action application="answer"/>
<action application="sleep" data="500"/>
<action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
<action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
</condition>
</extension>
<extension name="check_if_conference_active">
<condition field="${conference ${pin} list}" expression="/sofia/g" />
<condition field="destination_number" expression="^SEND_TO_CONFERENCE$">
<action application="set" data="bbb_authorized=true"/>
<action application="transfer" data="${pin} XML default"/>
</condition>
</extension> $ ls -lh /opt/freeswitch/
lrwxrwxrwx 1 freeswitch daemon 16 Mar 28 00:08 conf -> ./etc/freeswitch
$ sudo systemctl restart freeswitchGlad to hear you solved the issue!I'm still stuck. I checked the credentials and they should match. The different paths should make no difference, as conf is linked to etc/freeswitch:$ ls -lh /opt/freeswitch/
lrwxrwxrwx 1 freeswitch daemon 16 Mar 28 00:08 conf -> ./etc/freeswitchI wonder that I don't see anything in the logs. Could you check if you see any logging indicating successful connect to sipgate after service restart:$ sudo systemctl restart freeswitchAnd if a successful connect shows up, could you try how a failed one (e.g. caused by wrong credentials) would be reported?
The naming of the xml file doesn't matter, no? I'd expect any hint in the log file, either success or failure message.
I did unsuccessful tests without IP blocking firewall rule, but as I got spammed quickly I restrict to 217.10.64.0/20What firewall rules did you apply? Could you confirm that sip gates calls via an IP in that range (grep 'network_addr' /opt/freeswitch/log/freeswitch.log should report the IP)
I saw that you have slightly different paths, maybe you should recheck these, but it may also be different for different versions of BBB.
Hi,
So go to /opt/freeswitch/bin/fs_cli
Call your number you should see log in fs_cli get real active… capture this and see how your provider is sending number to you to match expression.
If before you call you see a bunch of activity in this log and no one is using BBB, you need to block UDP/TCP 5060 toeveryone and add just providers ipaddresses.
If nothing happens when you call… you need to open 5060 to them.
You well the what you need to use in the condition. Every provider is slightly different.
Regards
Stephen
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/5aa572a3-9c62-4936-9ab5-539d37af2f14%40googlegroups.com.
HI,
I am also using sipgate as provider but I have two problems:1. I can't seem to insert my phone number right. Any combination (with 49, without 49, with minus or spaces, whater) breaks the regular expression, so I that I resorted to less-than-safe<condition field="destination_number" expression="^(.*)">Could someone tell me exactly how to insert the number? So if I have the German sipgate number 0049 6221 18719999 what exactly do I enter in the line below?<condition field="destination_number" expression="^<my sipgate phone number>">
<param name="username" value="MySIP-ID"/>
<param name="password" value="MySIP-Password"/>
<param name="extension" value="0622118719999"/>
</gateway>
</include><extension name="0622118719999">
<condition field="destination_number" expression="^0622118719999">
<action application="answer"/>
<action application="sleep" data="500"/>
<action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
<action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
</condition>
</extension>
<extension name="check_if_conference_active">
<condition field="${conference ${pin} list}" expression="/sofia/g" />
<condition field="destination_number" expression="^SEND_TO_CONFERENCE$">
<action application="set" data="bbb_authorized=true"/>
<action application="transfer" data="${pin} XML default"/>
</condition>
</extension>To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
Without this both xml config files for sipgate it works .
Any Ideas ...
regards
René
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [NOTICE] switch_channel.c:1118 New Channel sofia/external/0179x...@sipgate.de [4e337b04-46c3-4e53-90a9-88a6123c105e]
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_NEW (Cur 3 Tot 50)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] sofia.c:10255 sofia/external/0179x...@sipgate.de receiving invite from 217.10.79.9:5060 version: 1.10.3-dev git 6d8e8f3 2020-01-22 19:59:42Z 64bit
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] sofia.c:7301 Channel sofia/external/0179x...@sipgate.de entering state [received][100]
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] sofia.c:7714 (sofia/external/0179x...@sipgate.de) State Change CS_NEW -> CS_INIT
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:604 (sofia/external/0179x...@sipgate.de) State NEW
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_INIT (Cur 3 Tot 50)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:628 (sofia/external/0179x...@sipgate.de) State INIT
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] mod_sofia.c:93 sofia/external/0179x...@sipgate.de SOFIA INIT
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:40 sofia/external/0179x...@sipgate.de Standard INIT
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:48 (sofia/external/0179x...@sipgate.de) State Change CS_INIT -> CS_ROUTING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:628 (sofia/external/0179x...@sipgate.de) State INIT going to sleep
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_ROUTING (Cur 3 Tot 50)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_channel.c:2332 (sofia/external/0179x...@sipgate.de) Callstate Change DOWN -> RINGING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:644 (sofia/external/0179x...@sipgate.de) State ROUTING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] mod_sofia.c:154 sofia/external/0179x...@sipgate.de SOFIA ROUTING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:236 sofia/external/0179x...@sipgate.de Standard ROUTING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [INFO] mod_dialplan_xml.c:637 Processing 0179xxxxxxx <0179xxxxxxx>->sipgate in context public
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->unloop] continue=false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->outside_call] continue=true
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Absolute Condition [outside_call]
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Action set(outside_call=true)
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->bbb_sp_call] continue=true
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [bbb_sp_call] network_addr(217.10.79.9) =~ /172.16.100.14/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->bbb_webrtc_call] continue=true
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [bbb_webrtc_call] ${sip_via_protocol}(udp) =~ /^wss?$/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->sipgate] continue=false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [sipgate] destination_number(sipgate) =~ /^030yyyyyyyy/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->check_if_conference_active] continue=false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (PASS) [check_if_conference_active] ${conference ${pin} list}(+OK Conference 18960 (1 member rate: 48000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound|json_status)
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [check_if_conference_active] destination_number(sipgate) =~ /^SEND_TO_CONFERENCE$/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:287 (sofia/external/0179x...@sipgate.de) State Change CS_ROUTING -> CS_EXECUTE
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:644 (sofia/external/0179x...@sipgate.de) State ROUTING going to sleep
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_EXECUTE (Cur 3 Tot 50)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:651 (sofia/external/0179x...@sipgate.de) State EXECUTE
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] mod_sofia.c:209 sofia/external/0179x...@sipgate.de SOFIA EXECUTE
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:329 sofia/external/0179x...@sipgate.de Standard EXECUTE
4e337b04-46c3-4e53-90a9-88a6123c105e EXECUTE [depth=0] sofia/external/0179x...@sipgate.de set(outside_call=true)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] mod_dptools.c:1672 SET sofia/external/0179x...@sipgate.de [outside_call]=[true]
4e337b04-46c3-4e53-90a9-88a6123c105e EXECUTE [depth=0] sofia/external/0179x...@sipgate.de export(RFC2822_DATE=Thu, 14 May 2020 16:53:13 +0200)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [NOTICE] switch_core_state_machine.c:386 sofia/external/0179x...@sipgate.de has executed the last dialplan instruction, hanging up.
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/external/0179x...@sipgate.de [CS_EXECUTE] [NORMAL_CLEARING]
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:651 (sofia/external/0179x...@sipgate.de) State EXECUTE going to sleep
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_HANGUP (Cur 3 Tot 50)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:848 (sofia/external/0179x...@sipgate.de) Callstate Change RINGING -> HANGUP
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0179x...@sipgate.de) State HANGUP
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] mod_sofia.c:453 Channel sofia/external/0179x...@sipgate.de hanging up, cause: NORMAL_CLEARING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:60 sofia/external/0179x...@sipgate.de Standard HANGUP, cause: NORMAL_CLEARING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0179x...@sipgate.de) State HANGUP going to sleep
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:620 (sofia/external/0179x...@sipgate.de) State Change CS_HANGUP -> CS_REPORTING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_REPORTING (Cur 3 Tot 50)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0179x...@sipgate.de) State REPORTING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:174 sofia/external/0179x...@sipgate.de Standard REPORTING, cause: NORMAL_CLEARING
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0179x...@sipgate.de) State REPORTING going to sleep
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:611 (sofia/external/0179x...@sipgate.de) State Change CS_REPORTING -> CS_DESTROY
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_session.c:1726 Session 50 (sofia/external/0179x...@sipgate.de) Locked, Waiting on external entities
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [NOTICE] switch_core_session.c:1744 Session 50 (sofia/external/0179x...@sipgate.de) Ended
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/0179x...@sipgate.de [CS_DESTROY]
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:739 (sofia/external/0179x...@sipgate.de) Running State Change CS_DESTROY (Cur 2 Tot 50)
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0179x...@sipgate.de) State DESTROY
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] mod_sofia.c:364 sofia/external/0179x...@sipgate.de SOFIA DESTROY
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:181 sofia/external/0179x...@sipgate.de Standard DESTROY
4e337b04-46c3-4e53-90a9-88a6123c105e 2020-05-14 16:53:13.122942 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0179x...@sipgate.de) State DESTROY going to sleep
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [NOTICE] switch_channel.c:1118 New Channel sofia/external/0179x...@sipgate.de [26288041-d820-4fde-9c92-ef75d2b76ffe]
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_NEW (Cur 3 Tot 51)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] sofia.c:10255 sofia/external/0179x...@sipgate.de receiving invite from 217.10.79.9:5060 version: 1.10.3-dev git 6d8e8f3 2020-01-22 19:59:42Z 64bit
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] sofia.c:7301 Channel sofia/external/0179x...@sipgate.de entering state [received][100]
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] sofia.c:7714 (sofia/external/0179x...@sipgate.de) State Change CS_NEW -> CS_INIT
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:604 (sofia/external/0179x...@sipgate.de) State NEW
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_INIT (Cur 3 Tot 51)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:628 (sofia/external/0179x...@sipgate.de) State INIT
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] mod_sofia.c:93 sofia/external/0179x...@sipgate.de SOFIA INIT
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:40 sofia/external/0179x...@sipgate.de Standard INIT
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:48 (sofia/external/0179x...@sipgate.de) State Change CS_INIT -> CS_ROUTING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:628 (sofia/external/0179x...@sipgate.de) State INIT going to sleep
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_ROUTING (Cur 3 Tot 51)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_channel.c:2332 (sofia/external/0179x...@sipgate.de) Callstate Change DOWN -> RINGING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:644 (sofia/external/0179x...@sipgate.de) State ROUTING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] mod_sofia.c:154 sofia/external/0179x...@sipgate.de SOFIA ROUTING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:236 sofia/external/0179x...@sipgate.de Standard ROUTING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [INFO] mod_dialplan_xml.c:637 Processing 0179xxxxxxx <0179xxxxxxx>->sipgate in context public
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de parsing [public->unloop] continue=false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de parsing [public->outside_call] continue=true
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Absolute Condition [outside_call]
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Action set(outside_call=true)
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de parsing [public->bbb_sp_call] continue=true
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [bbb_sp_call] network_addr(217.10.79.9) =~ /172.16.100.14/ break=on-false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de parsing [public->bbb_webrtc_call] continue=true
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [bbb_webrtc_call] ${sip_via_protocol}(udp) =~ /^wss?$/ break=on-false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de parsing [public->sipgate] continue=false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [sipgate] destination_number(sipgate) =~ /^030yyyyyyyy/ break=on-false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de parsing [public->check_if_conference_active] continue=false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (PASS) [check_if_conference_active] ${conference ${pin} list}(+OK Conference 18960 (1 member rate: 48000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound|json_status)
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [check_if_conference_active] destination_number(sipgate) =~ /^SEND_TO_CONFERENCE$/ break=on-false
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:287 (sofia/external/0179x...@sipgate.de) State Change CS_ROUTING -> CS_EXECUTE
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:644 (sofia/external/0179x...@sipgate.de) State ROUTING going to sleep
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_EXECUTE (Cur 3 Tot 51)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:651 (sofia/external/0179x...@sipgate.de) State EXECUTE
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] mod_sofia.c:209 sofia/external/0179x...@sipgate.de SOFIA EXECUTE
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:329 sofia/external/0179x...@sipgate.de Standard EXECUTE
26288041-d820-4fde-9c92-ef75d2b76ffe EXECUTE [depth=0] sofia/external/0179x...@sipgate.de set(outside_call=true)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] mod_dptools.c:1672 SET sofia/external/0179x...@sipgate.de [outside_call]=[true]
26288041-d820-4fde-9c92-ef75d2b76ffe EXECUTE [depth=0] sofia/external/0179x...@sipgate.de export(RFC2822_DATE=Thu, 14 May 2020 16:53:19 +0200)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [NOTICE] switch_core_state_machine.c:386 sofia/external/0179x...@sipgate.de has executed the last dialplan instruction, hanging up.
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/external/0179x...@sipgate.de [CS_EXECUTE] [NORMAL_CLEARING]
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:651 (sofia/external/0179x...@sipgate.de) State EXECUTE going to sleep
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_HANGUP (Cur 3 Tot 51)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:848 (sofia/external/0179x...@sipgate.de) Callstate Change RINGING -> HANGUP
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0179x...@sipgate.de) State HANGUP
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] mod_sofia.c:453 Channel sofia/external/0179x...@sipgate.de hanging up, cause: NORMAL_CLEARING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:60 sofia/external/0179x...@sipgate.de Standard HANGUP, cause: NORMAL_CLEARING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:850 (sofia/external/0179x...@sipgate.de) State HANGUP going to sleep
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:620 (sofia/external/0179x...@sipgate.de) State Change CS_HANGUP -> CS_REPORTING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:585 (sofia/external/0179x...@sipgate.de) Running State Change CS_REPORTING (Cur 3 Tot 51)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0179x...@sipgate.de) State REPORTING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:174 sofia/external/0179x...@sipgate.de Standard REPORTING, cause: NORMAL_CLEARING
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:936 (sofia/external/0179x...@sipgate.de) State REPORTING going to sleep
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:611 (sofia/external/0179x...@sipgate.de) State Change CS_REPORTING -> CS_DESTROY
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_session.c:1726 Session 51 (sofia/external/0179x...@sipgate.de) Locked, Waiting on external entities
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [NOTICE] switch_core_session.c:1744 Session 51 (sofia/external/0179x...@sipgate.de) Ended
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/0179x...@sipgate.de [CS_DESTROY]
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:739 (sofia/external/0179x...@sipgate.de) Running State Change CS_DESTROY (Cur 2 Tot 51)
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0179x...@sipgate.de) State DESTROY
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] mod_sofia.c:364 sofia/external/0179x...@sipgate.de SOFIA DESTROY
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:181 sofia/external/0179x...@sipgate.de Standard DESTROY
26288041-d820-4fde-9c92-ef75d2b76ffe 2020-05-14 16:53:19.962941 [DEBUG] switch_core_state_machine.c:749 (sofia/external/0179x...@sipgate.de) State DESTROY going to sleep
Dialplan: sofia/external/0157xxxx@sipgate.de Regex (PASS) [from_sipgate] destination_number(49711xxx) =~ /^49711xxx/ break=on-false
26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [sipgate] destination_number(sipgate) =~ /^030yyyyyyyy/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de parsing [public->bbb_sp_call] continue=true
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de Regex (FAIL) [bbb_sp_call] network_addr(217.10.79.9) =~ /172.16.100.14/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de parsing [public->bbb_webrtc_call] continue=true
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de Regex (FAIL) [bbb_webrtc_call] ${sip_via_protocol}(udp) =~ /^wss?$/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de parsing [public->sipgate] continue=false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de Regex (FAIL) [sipgate] destination_number(sipgate) =~ /^030yyyyyyyy/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de parsing [public->check_if_conference_active] continue=false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de Regex (PASS) [check_if_conference_active] ${conference ${pin} list}(+OK Conference 18960 (1 member rate: 48000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound|json_status)
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179xxxxxxx@sipgate.de Regex (FAIL) [check_if_conference_active] destination_number(sipgate) =~ /^SEND_TO_CONFERENCE$/ break=on-false
scheint mir etwas mit meinem Dialplan nicht ok zu sein
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->bbb_sp_call] continue=true
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [bbb_sp_call] network_addr(217.10.79.9) =~ /172.16.100.14/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->bbb_webrtc_call] continue=true
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [bbb_webrtc_call] ${sip_via_protocol}(udp) =~ /^wss?$/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->sipgate] continue=false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [sipgate] destination_number(sipgate) =~ /^030yyyyyyyy/ break=on-false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de parsing [public->check_if_conference_active] continue=false
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (PASS) [check_if_conference_active] ${conference ${pin} list}(+OK Conference 18960 (1 member rate: 48000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound|json_status)
4e337b04-46c3-4e53-90a9-88a6123c105e Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [check_if_conference_active] destination_number(sipgate) =~ /^SEND_TO_CONFERENCE$/ break=on-false