Dear All, I have a problem with mod_sms. Configuration of chatplan is as this: Here is FS log: 2013-12-26 21:14:21.841090 [INFO] mod_sms.c:336 Processing text message 1001->1004 in context public Chatplan: 1004 parsing [public->default] continue=false Chatplan: 1004@test.local Regex (PASS) [default] to(1004@test.local) =~ /^(.*)$/ break=on-false Chatplan: 1004@test.local Action send() 2013-12-26 21:14:21.841090 [DEBUG] sofia_presence.c:224 Can't find registered user 1004@test.local But user is registered: in fs_cli #sofia_contact 1004 sofia/internal/sip:1004@1.2.3.4:40348;rinstance=72ECC02F;transport=tls;fs_nat=yes;fs_path=sip%3A1004%4014.3.2.1.%3A40348%3Brinstance%3D72ECC02F%3Btransport%3Dtls Out of default configuration I have just forced TLS connection (tlsv1). Dont you have an idea where could be problem? Thanks everyone for help PT
Hello PT, Make sure that both users are in the same domain, e.g. they're using <extension>@<domain-or-ip> I had a similar problem because one of the users was connecting to the local IP (1000@192.168.1.100) and the other one was connected to 1001@fs-test.lan) /* fs-test.lan is pointing to 192.168.1.100 in my LAN */. When I registered all users with <extension>@fs-test.lan it started working fine. Let me know if that helped. Cheers, -- Iskren Hadzhinedev System Administrator The Idea Factory | 20 Mearns Street | Aberdeen | AB11 5AT | UK T: 01224 607500 VAT Reg No: 982 4936 74. Company registered in Scotland, SC237116 On Thursday 26 December 2013 22:30:55 peetee23@hushmail.com wrote:
Dear All,
I have a problem with mod_sms.
Configuration of chatplan is as this: Here is FS log:
2013-12-26 21:14:21.841090 [INFO] mod_sms.c:336 Processing text message 1001->1004 in context public Chatplan: 1004 parsing [public->default] continue=false Chatplan: 1004@test.local Regex (PASS) [default] to(1004@test.local) =~ /^(.*)$/ break=on-false Chatplan: 1004@test.local Action send() 2013-12-26 21:14:21.841090 [DEBUG] sofia_presence.c:224 Can't find registered user 1004@test.local
But user is registered: in fs_cli #sofia_contact 1004 sofia/internal/sip:1004@1.2.3.4:40348;rinstance=72ECC02F;transport=tls;fs_na t=yes;fs_path=sip%3A1004%4014.3.2.1. %3A40348%3Brinstance%3D72ECC02F%3Btransp ort%3Dtls
Out of default configuration I have just forced TLS connection (tlsv1).
Dont you have an idea where could be problem?
Thanks everyone for help
PT
Hi Iskren, yes, this happen to me as well. Both users are using domain name. Please let me know if this could cause something else. Thank you, PT On 12/26/2013 at 10:57 PM, "Iskren Hadzhinedev" wrote:p,li { white-space:pre-wrap; } Hello PT, Make sure that both users are in the same domain, e.g. they're using @ I had a similar problem because one of the users was connecting to the local IP (1000@192.168.1.100) and the other one was connected to 1001@fs-test.lan) /* fs-test.lan is pointing to 192.168.1.100 in my LAN */. When I registered all users with @fs-test.lan it started working fine. Let me know if that helped. Cheers, -- Iskren Hadzhinedev System Administrator The Idea Factory | 20 Mearns Street | Aberdeen | AB11 5AT | UK T: 01224 607500 VAT Reg No: 982 4936 74. Company registered in Scotland, SC237116 On Thursday 26 December 2013 22:30:55 peetee23@hushmail.com wrote: > Dear All, > > I have a problem with mod_sms. > > Configuration of chatplan is as this: > Here is FS log: > > 2013-12-26 21:14:21.841090 [INFO] mod_sms.c:336 Processing text > message 1001->1004 in context public > Chatplan: 1004 parsing [public->default] continue=false > Chatplan: 1004@test.local Regex (PASS) [default] to(1004@test.local) > =~ /^(.*)$/ break=on-false > Chatplan: 1004@test.local Action send() > 2013-12-26 21:14:21.841090 [DEBUG] sofia_presence.c:224 Can't find > registered user 1004@test.local > > But user is registered: > in fs_cli #sofia_contact 1004 > sofia/internal/sip:1004@1.2.3.4:40348;rinstance=72ECC02F;transport=tls;fs_na > t=yes;fs_path=sip%3A1004%4014.3.2.1.%3A40348%3Brinstance%3D72ECC02F%3Btransp > ort%3Dtls > > Out of default configuration I have just forced TLS connection > (tlsv1). > > Dont you have an idea where could be problem? > > Thanks everyone for help > > PT
PT, What is the output from 'sofia status profile internal reg' ? At least the output for the user at extension 1004. William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com On 12/26/2013 01:30 PM, peetee23@hushmail.com wrote:
Dear All,
I have a problem with mod_sms.
Configuration of chatplan is as this:
<?xml version="1.0" encoding="utf-8"?> <include> <context name="public"> <extension name="default"> <condition field="to" expression="^(.*)$"> <action application="send"/> </condition> </extension> </context> </include>
Here is FS log:
2013-12-26 21:14:21.841090 [INFO] mod_sms.c:336 Processing text message 1001->1004 in context public Chatplan: 1004 parsing [public->default] continue=false Chatplan: 1004@test.local Regex (PASS) [default] to(1004@test.local) =~ /^(.*)$/ break=on-false Chatplan: 1004@test.local Action send() 2013-12-26 21:14:21.841090 [DEBUG] sofia_presence.c:224 Can't find registered user 1004@test.local
But user is registered: in fs_cli #sofia_contact 1004 sofia/internal/sip:1004@1.2.3.4:40348;rinstance=72ECC02F;transport=tls;fs_nat=yes;fs_path=sip%3A1004%4014.3.2.1.%3A40348%3Brinstance%3D72ECC02F%3Btransport%3Dtls
Out of default configuration I have just forced TLS connection (tlsv1).
Dont you have an idea where could be problem?
Thanks everyone for help
PT
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi all, problem solved. I haven't setup domain (test.local) in vars.xml when I switch from IP register to domain name. Calls were working fine but for messages it needs to be specified. Thank you for your help! PT On 12/27/2013 at 7:07 AM, "William King" wrote:PT, What is the output from 'sofia status profile internal reg' ? At least the output for the user at extension 1004. William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com On 12/26/2013 01:30 PM, peetee23@hushmail.com wrote:
Dear All,
I have a problem with mod_sms.
Configuration of chatplan is as this:
Here is FS log:
2013-12-26 21:14:21.841090 [INFO] mod_sms.c:336 Processing text message 1001->1004 in context public Chatplan: 1004 parsing [public->default] continue=false Chatplan: 1004@test.local Regex (PASS) [default] to(1004@test.local) =~ /^(.*)$/ break=on-false Chatplan: 1004@test.local Action send() 2013-12-26 21:14:21.841090 [DEBUG] sofia_presence.c:224 Can't find registered user 1004@test.local
But user is registered: in fs_cli #sofia_contact 1004
sofia/internal/sip:1004@1.2.3.4:40348;rinstance=72ECC02F;transport=tls;fs_nat=yes;fs_path=sip%3A1004%4014.3.2.1.%3A40348%3Brinstance%3D72ECC02F%3Btransport%3Dtls
Out of default configuration I have just forced TLS connection
(tlsv1).
Dont you have an idea where could be problem?
Thanks everyone for help
PT
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Iskren Hadzhinedev
-
peetee23@hushmail.com
-
William King