You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is when I want bridge call to user which are connected through RTMP session. I'm trying to add "Number" element without specified gateways because I use ${rtmp_contact()} function as phone number, which returns correct contact string with gateway path. So, if we want to call RTMP session we have to have possibility to leave gateways attribute as array with single empty element.
My solution is:
File elements.py from the line 1238
if gateways:
# get list of gateways
self.gateways = gateways.split(',')
replace to
if gateways:
# get list of gateways
self.gateways = gateways.split(',')
else:
self.gateways = [""]
and in the same file from line 735
#if not number_instance.gateways:
outbound_socket.log.error("Gateway not defined on Number object !")
return ''
replace to
#if not number_instance.gateways:
# outbound_socket.log.error("Gateway not defined on Number object !")
# return ''
The text was updated successfully, but these errors were encountered:
The problem is when I want bridge call to user which are connected through RTMP session. I'm trying to add "Number" element without specified gateways because I use ${rtmp_contact()} function as phone number, which returns correct contact string with gateway path. So, if we want to call RTMP session we have to have possibility to leave gateways attribute as array with single empty element.
My solution is:
File elements.py from the line 1238
and in the same file from line 735
The text was updated successfully, but these errors were encountered: