Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Integration with Opensips


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
bullehs at gmail.com
Guest





PostPosted: Fri May 28, 2021 12:41 pm    Post subject: [Freeswitch-users] Integration with Opensips Reply with quote

Hi all.



Just been trying to integrate Opensips with Freeswitch by following this old guide:


https://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration



I think I have managed to get the other stuff working alright. However, it seems that the user extensions aren't being pulled from the opensips database. When I run:
 list_users group default



I get the following error:
2021-05-25 02:57:32.297372 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/xml_handler.lua:40: attempt to index global 'params' (a nil value)
stack traceback:
        /usr/share/freeswitch/scripts/xml_handler.lua:40: in main chunk
2021-05-25 02:57:32.297372 [ERR] mod_lua.cpp:270 LUA script parse/execute error!



I am using Opensips 3.0 on Amazon EC2. Any help would be appreciated.


Best wishes.
Back to top
david.villasmil.work a...
Guest





PostPosted: Fri May 28, 2021 1:27 pm    Post subject: [Freeswitch-users] Integration with Opensips Reply with quote

Whatever is on line 40 is trying to assign a null value, meaning it’s not being set

On Fri, 28 May 2021 at 18:32, HS <bullehs@gmail.com (bullehs@gmail.com)> wrote:

Quote:
Hi all.



Just been trying to integrate Opensips with Freeswitch by following this old guide:


https://www.opensips.org/Documentation/Tutorials-OpenSIPSFreeSwitchIntegration



I think I have managed to get the other stuff working alright. However, it seems that the user extensions aren't being pulled from the opensips database. When I run:
 list_users group default



I get the following error:
2021-05-25 02:57:32.297372 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/xml_handler.lua:40: attempt to index global 'params' (a nil value)
stack traceback:
        /usr/share/freeswitch/scripts/xml_handler.lua:40: in main chunk
2021-05-25 02:57:32.297372 [ERR] mod_lua.cpp:270 LUA script parse/execute error!



I am using Opensips 3.0 on Amazon EC2. Any help would be appreciated.


Best wishes.





_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337
Back to top
bullehs at gmail.com
Guest





PostPosted: Fri May 28, 2021 9:41 pm    Post subject: [Freeswitch-users] Integration with Opensips Reply with quote

Hi David.


Thanks for taking the time to respond. This is line 40:


freeswitch.consoleLog("notice", "[xml_handler] Params:\n" .. params:serialize() .. "\n");



Anyone have any fixes?


Best wishes.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services