Howto setup dial-in via sipgate?

950 views
Skip to first unread message

Holger Bruch

unread,
Apr 14, 2020, 7:31:22 AM4/14/20
to BigBlueButton-Setup
Hi,

I'm trying to set up sipgate as my sip provider as described in http://docs.bigbluebutton.org/2.2/customize.html#add-a-phone-number-to-the-conference-bridge

I opened port 5060/udp in the firewall and added /opt/freeswitch/conf/directory/default/sipgate.xml belonging to freeswitch:daemon as follows:

<include>
  <gateway name="sipgate.de">
    <param name="proxy" value="sipgate.de"/>
    <param name="username" value="<my sip id>"/>
    <param name="password" value="<my password>"/>
    <!--param name="extension" value=""/-->
  </gateway>
</include>

and a dialplan /opt/freeswitch/conf/dialplan/public/sipgate.xml as follows:

<extension name="from_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>

However, when calling the phone number, it seems that the call is not directed to my server, receiving "The number you have dialed is temporarily unavailable."

/opt/freeswitch/log/freeswitch.log does not show a successful connect to the sipgate server after start, which I'd expect, but no error message neither.

Any hint what I'm missing would be appreciated.

Holger

Axel Zinkernagel

unread,
Apr 14, 2020, 8:18:57 AM4/14/20
to BigBlueButton-Setup
Hi Holger,

I am also using sipgate and I can call the BBB-Server/freeswitch, however I encounter some problems in later steps of the call.

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">

 <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).
 
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

It also even fails with /^[:print:]*/

Any ideas/hints (e.g. is EXTERNALDID to be entered with international prefix?)?

Best,

Axel

Holger Bruch

unread,
Apr 14, 2020, 10:25:47 AM4/14/20
to BigBlueButton-Setup

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. is EXTERNALDID to 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/20

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

 
So 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? 

Axel Zinkernagel

unread,
Apr 14, 2020, 2:13:19 PM4/14/20
to BigBlueButton-Setup


Am Dienstag, 14. April 2020 16:25:47 UTC+2 schrieb Holger Bruch:

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".

Definig the gateway is sufficient. In my sipgate-backend freeswich is successfully connected and registered as FreeSWITCH-mod_sofia/... showing the IP and port of my server on the right side. So maybe you should recheck your credentials.

 
 
 
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. is EXTERNALDID to 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/20

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

 
So 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? 

OK, thanks, that was the hint! I got it up and running.

The file /opt/freeswitch/etc/freeswitch/sip_profiles/external/sipgate.xml should look like this:

<include>
 
<gateway name="sipgate.de">
   
<param name="proxy" value="sipgate.de"/>

   
<param name="username" value="MySIP-ID"/>
   
<param name="password" value="MySIP-Password"/>
   
<param name="extension" value="MySIP-Phonenumber"/>
 
</gateway>
</include>

The Phonnumber should be like it is shown in sipgate (without any prefixes and without the minus (only digits)).
The dialplan in /opt/freeswitch/etc/freeswitch/dialplan/public/sipgate.xml looks like this:

<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>

I saw that you have slightly different paths, maybe you should recheck these, but it may also be different for different versions of BBB.

Holger Bruch

unread,
Apr 14, 2020, 7:29:16 PM4/14/20
to BigBlueButton-Setup
Glad 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/freeswitch

I 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 freeswitch
And 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.

 sipgate.de shows neither success nor failure. It just looks like the config was not applied. 

I did unsuccessful tests without IP blocking firewall rule, but as I got spammed quickly I restrict to 217.10.64.0/20
What 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)

Thanks for your support!
Holger

Axel Zinkernagel

unread,
Apr 15, 2020, 11:54:13 AM4/15/20
to BigBlueButton-Setup
Sorry for the delay, the server is under heavy use these days.


Am Mittwoch, 15. April 2020 01:29:16 UTC+2 schrieb Holger Bruch:
Glad 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/freeswitch

I 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 freeswitch
And if a successful connect shows up, could you try how a failed one (e.g. caused by wrong credentials) would be reported?

OK, restart with successful connect:

2020-04-15 17:01:18.663775 [NOTICE] sofia_reg.c:3425 Added gateway 'sipgate.de' to profile 'external'
2020-04-15 17:01:19.671962 [NOTICE] sofia_reg.c:453 Registering sipgate.de
2020-04-15 17:01:19.775483 [DEBUG] sofia_reg.c:2457 Changing expire time to 600 by request of proxy sip:sipgate.de

Restart with wrong sipgate password:

2020-04-15 17:10:45.764205 [NOTICE] sofia_reg.c:3425 Added gateway 'sipgate.de' to profile 'external'
2020-04-15 17:10:46.773353 [NOTICE] sofia_reg.c:453 Registering sipgate.de
2020-04-15 17:10:46.875184 [ERR] sofia_reg.c:2469 sipgate.de Failed Registration with status Operation has no matching challenge  [904]. failure #1
 

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 don't know. My files are both named sipgate.xml (external sip profiles and dialplan).
 
 sipgate.de shows neither success nor failure. It just looks like the config was not applied. 

That's strange. freeswitch should "ask" sipgate.de to be registered. Mabe the outgoing "call" is prohibited. Maybe your firewall also blocks outgoing traffic?

I did unsuccessful tests without IP blocking firewall rule, but as I got spammed quickly I restrict to 217.10.64.0/20
What 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)

 My external calls come from IP 217.10.79.9. The Firewall is configured as proposed in https://docs.bigbluebutton.org/2.2/configure-firewall.html#configure-your-firewall

Hope it helps. Best,

Axel

kaleem rehman

unread,
Apr 15, 2020, 1:29:46 PM4/15/20
to BigBlueButton-Setup
first you need to register to sipgate
setup additional items in your sipgate.xml

      realm          

       from_domain       

       register 

Holger Bruch

unread,
Apr 16, 2020, 12:27:41 PM4/16/20
to BigBlueButton-Setup
I saw that you have slightly different paths, maybe you should recheck these, but it may also be different for different versions of BBB.

I should have checked the paths more carefully, you were right:  /opt/freeswitch/conf/sip_profiles/external/ is the subfolder the sipgate.xml had to be placed in. Now it works! Thank you for your assistance, Axel!
 

Holger Bruch

unread,
Apr 16, 2020, 12:29:23 PM4/16/20
to BigBlueButton-Setup
Hi Kaleem, thank you for proposing this, but placing the sipgate.xml with username, password, extension was sufficient.

Harald Nikolaus

unread,
Apr 17, 2020, 10:45:36 AM4/17/20
to BigBlueButton-Setup
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>">


2. When I enter the first-mentioned regular expression, things seem to work: One can call 06221 18719999 and gets a recording "Please enter the conference pin number. ". But if I enter that five-digit number, I immediately get again "Please enter the conference pin number. ". Actually, I can enter any five-digit number and immediately get "Please enter the conference pin number. " again. And again, and again, no matter, what five-digit number I enter. I am never forwarded to the conference If, however, I enter a four-digit number, or a six-digit number, I get  a pause of about seven seconds and then "That was an invalid entry".  So it matters how many digits I enter, but still, I cannot get to the conference with that generated five-digit code. 
Could it be that the five-digit code is somehow generated wrong? 

Greetings
Harald


Am Dienstag, 14. April 2020 13:31:22 UTC+2 schrieb Holger Bruch:
Hi,

sd...@distancelearning.cloud

unread,
Apr 17, 2020, 5:28:40 PM4/17/20
to bigbluebu...@googlegroups.com

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.

Axel Zinkernagel

unread,
Apr 18, 2020, 2:33:20 PM4/18/20
to BigBlueButton-Setup

Am Freitag, 17. April 2020 16:45:36 UTC+2 schrieb Harald Nikolaus:
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>">


The file /opt/freeswitch/etc/freeswitch/sip_profiles/external/sipgate.xml should look like this (e.g., for your number 0049 6221 18719999 ):

<include>
 
<gateway name="sipgate.de">
   
<param name="proxy" value="sipgate.de"/>
    <param name="username" value="MySIP-ID"/>
   
<param name="password" value="MySIP-Password"/>

   
<param name="extension" value="0622118719999"/>
 
</gateway>
</include>

The Phonnumber should be like it is shown in sipgate (without any prefixes and without the minus (only digits)).
The dialplan in /opt/freeswitch/etc/
freeswitch/dialplan/public/sipgate.xml looks like this:

<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>

Test this, and the second problem may disappear. Be aware that you published your number, so you may also want change it.

Jan Lühr

unread,
Apr 18, 2020, 4:13:44 PM4/18/20
to bigbluebu...@googlegroups.com
Hehi,

as long as you don't have a SIPtrunk, it does not submit the phone number.

i.e.
/opt/freeswitch/conf/dialplan/public/sipgate.xml
<include>

<extension name="sipgate">
<condition field="destination_number" expression="sipgate">
<action application="set" data="destination_number=986580"/>
<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>
</include>

and for cat /opt/freeswitch/conf/sip_profiles/external/sipgate.xml
<include>
<gateway name="sipgate.de">
<param name="caller-id-in-from" value="true"/>
<param name="proxy" value="sipgate.de"/>
<param name="username" value="your-username"/>
<param name="password" value="your-password"/>
<param name="extension" value="sipgate"/>
</gateway>
</include>

Having an external IP, I don't mind tun-servers.

Greetz, Jan
> --
> 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
> <mailto:bigbluebutton-s...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bigbluebutton-setup/4e1078a9-3f38-4cbe-876d-8fabb82badc2%40googlegroups.com
> <https://groups.google.com/d/msgid/bigbluebutton-setup/4e1078a9-3f38-4cbe-876d-8fabb82badc2%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Was die Europäische Union ist, wie sie handelt und wen sie im Zweifel
bekämpft, lässt sich seit gut einer Woche an der griechisch-türkischen
Grenze beobachten. Die angebliche Wertegemeinschaft benimmt sich, als
sei sie im Krieg.

Die Würde des Menschen ist nämlich sehr wohl antastbar, jedenfalls dann,
wenn er auf der falschen Seite des Stacheldrahts steht.
Und seiner Rechte auf Leben und körperliche Unversehrtheit
darf sich der Mensch nicht allzu gewiss sein.

Ulrich Schulte, Leiter Parlamentsbüro taz, 6.3.2020
https://taz.de/Fluechtlinge-an-der-EU-Aussengrenze/!5669517/

Jan Lühr

unread,
Apr 18, 2020, 4:19:11 PM4/18/20
to bigbluebu...@googlegroups.com
Heiho,


Am 15/04/2020 um 01.29 schrieb Holger Bruch:
> Glad 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 1freeswitch daemon   16Mar2800:08conf ->./etc/freeswitch
> |
>
> I 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 freeswitch|
>
> And 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.
>
>  sipgate.de shows neither success nor failure. It just looks like the
> config was not applied. 
>
> I did unsuccessful tests without IP blocking firewall rule, but as I got
> spammed quickly I restrict to 217.10.64.0/20

Mind HE's BGP looking glass:
https://bgp.he.net/AS15594#_prefixes
Or RTFM:
https://teamhelp.sipgate.de/hc/de/articles/203571242-IP-und-Port-Bereiche-von-sipgate

Greetz, Jan

Jan Lühr

unread,
Apr 18, 2020, 4:27:33 PM4/18/20
to bigbluebu...@googlegroups.com
Heiho,


Am 17/04/2020 um 16.45 schrieb Harald Nikolaus:
> 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>">
>
>
> 2. When I enter the first-mentioned regular expression, things seem to
> work: One can call 06221 18719999 and gets a recording "Please enter the
> conference pin number. ". But if I enter that five-digit number, I
> immediately get again "Please enter the conference pin number. ".
> Actually, I can enter any five-digit number and immediately get "Please
> enter the conference pin number. " again. And again, and again, no
> matter, what five-digit number I enter. I am never forwarded to the
> conference If, however, I enter a four-digit number, or a six-digit
> number, I get  a pause of about seven seconds and then "That was an
> invalid entry".  So it matters how many digits I enter, but still, I
> cannot get to the conference with that generated five-digit code. 
> Could it be that the five-digit code is somehow generated wrong?
Mind, /opt/freeswitch/log/freeswitch.log - the pin-game is in debug-mode.
Also, the dialplan expects some american style numbers - so, make sure,
that your's matches.

I went on my rewriting the number.
The dialplan is:
/opt/freeswitch/conf/dialplan/default/bbb_conference.xml
The part for SIP is:
extension name="bbb_conferences">
<condition field="${bbb_authorized}" expression="true"
break="on-false"/>
<condition field="destination_number" expression="^(\d{5,6})$">
<action application="set" data="jitterbuffer_msec=20:400"/>
<action application="answer"/>
<action application="conference" data="$1@cdquality"/>
</condition>
</extension>

So .. you have to hit the expression="^(\d{5,6})$
I went one by setting my number:
cat /opt/freeswitch/conf/dialplan/public/sipgate.xml
<include>

<extension name="sipgate">
<condition field="destination_number" expression="sipgate">
<action application="set" data="destination_number=986580"/>
Set destination_number=986580 does the trick.

Btw. I noticed a lot of confusion in this threat - a lot is sipgate /
freeswitch specific. So .. you can also drop me a mail to b...@jluehr.de
- its fine.

Also, my employer is hosting some things .. in case you're in an urgent
need.
Message has been deleted

Harald Nikolaus

unread,
Apr 18, 2020, 9:13:43 PM4/18/20
to BigBlueButton-Setup
Great! This solved both my problems! Thank you! And no, that was not a real phone number. Just very close to my number :-)

Harald Nikolaus

unread,
Apr 18, 2020, 9:14:50 PM4/18/20
to BigBlueButton-Setup
Thanks! That a gave me a lot of insight into what is happening.
Greetings
Harald

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

Harald Nikolaus

unread,
Apr 18, 2020, 9:15:38 PM4/18/20
to BigBlueButton-Setup
Ah, that is a sleak way to do it. Thanks! Harald
(I like your signature)

ReneB

unread,
May 13, 2020, 10:08:35 AM5/13/20
to BigBlueButton-Setup
Hi,

I want to configure a sipgate number at our server too. I have read this task and the documentation.

But now I can't start/restart FreeSwitch.

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é

Axel Zinkernagel

unread,
May 14, 2020, 8:30:01 AM5/14/20
to BigBlueButton-Setup
Hm, looks like a sipgate independent problem. Is something in the logfile /opt/freeswitch/var/log/freeswitch/freeswitch.log?
Did you check the syntax (e.g., closing brackets, quotation marks)?

ReneB

unread,
May 14, 2020, 9:37:22 AM5/14/20
to BigBlueButton-Setup
Hi Axel,
thank you.

I checked the syntax.
If found the error. </gateway> has left . :-(


regards 

Rene

ReneB

unread,
May 14, 2020, 10:47:10 AM5/14/20
to BigBlueButton-Setup
hmm, rufe von externen Nummern kommen rein, aber werden gleich destroyed.
Entweder bekomme ich ein besetzt über Festnetz oder ein Service not available über Mobilfunk.
Registriert ist BBB/freewsitch bei sipgaten, das sehe ich .
Die defaultDialAccessNumber ist gesetzt.

Was habe ich vergessen ....


ReneB

unread,
May 14, 2020, 11:08:11 AM5/14/20
to BigBlueButton-Setup

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


BBB is version 2.2.10

Holger Bruch

unread,
May 14, 2020, 11:27:58 AM5/14/20
to BigBlueButton-Setup
Findest Du eine (PASS)-Zeile der folgenden Form: 

Dialplan: sofia/external/0157xxxx@sipgate.de Regex (PASS) [from_sipgate] destination_number(49711xxx) =~ /^49711xxx/ break=on-false

Bei mir kommen die Anrufe von sipgate mit Länderkennung rein (s.o.). Vielleicht liegt's daran?



Am Donnerstag, 14. Mai 2020 17:08:11 UTC+2 schrieb ReneB:

26288041-d820-4fde-9c92-ef75d2b76ffe Dialplan: sofia/external/0179x...@sipgate.de Regex (FAIL) [sipgate] destination_number(sipgate) =~ /^030yyyyyyyy/ break=on-false


 

ReneB

unread,
May 14, 2020, 3:38:16 PM5/14/20
to BigBlueButton-Setup
Hallo Holger,

nein, ich habe auch keine Ländervorwahl eingetragen . Ich kann auch ein solchen Logeintrag nicht finden.
Unter meinem vorigen Post ist ein Logschnipsel von einer eigehenden Verbindung gepostet. Ich bin kein SIP/VoIP Experte aber meines Erachtens wird der eingehende  Ruf abgelehnt.

ReneB

unread,
May 14, 2020, 3:48:35 PM5/14/20
to BigBlueButton-Setup
scheint mir etwas mit meinem Dialplan nicht ok zu sein

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

Harald Nikolaus

unread,
May 14, 2020, 5:32:59 PM5/14/20
to BigBlueButton-Setup
Dann zeig uns doch mal deinen Dialplan, vielleicht erkennen wir was darin. Meine mit sipgate funktionierenden XML-Dateien sind: 

<extension name="0622118999999">                                                                                                                                                            
  <condition field="destination_number" expression="^0622118999999">        
    <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>


und 


<include>
  <gateway name="sipgate.de">
    <param name="proxy" value="sipgate.de"/>
    <param name="username" value="1999999e2"/>
    <param name="password" value="somepassword"/>
    <param name="extension" value="0622118999999"/>
  </gateway>  
</include>

Die Rufnummer, den Usernamen und das Passwort habe ich natürlich anyomisiert.

Am Donnerstag, 14. Mai 2020 21:48:35 UTC+2 schrieb ReneB:
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

ReneB

unread,
May 15, 2020, 7:23:32 AM5/15/20
to BigBlueButton-Setup
Hey, danke, deine hat mir schon weitergeholfen....

Nachdem ich den 'extension name' in die betreffende Nummer getauscht habe, funktioniert es nun auch... Ich war der Meinung , der 'extension name' ist frei wählbar.

Vielen Dank

Sandro Degiorgi

unread,
Jun 21, 2020, 10:21:06 AM6/21/20
to BigBlueButton-Setup
Hi all!

Quick remark from my side: I just set up (german) sipgate voice bridge/dial in to my bbb server in no time following this thread (and official doc). Works like a charme!

Thanks for sharing, that's all folks:)
-Sandro



 
 
Reply all
Reply to author
Forward
0 new messages