I've read back through several posts on this topic and am unable to find a solution in them. I've created a freeswitch sip device called "thisisatest". When it tries to register, I get this in FreeSwitch:
2014-02-19 14:29:11.735881 [WARNING] sofia_reg.c:1634 SIP auth challenge (REGISTER) on sofia profile 'default' for [thisi...@myserver.fqdn] from ip my_client_ip
2014-02-19 14:29:11.955903 [WARNING] sofia_reg.c:2695 Can't find user [thisi...@myserver.fqdn] from my_client_ip
You must define a domain called 'myserver.fqdn' in your directory and add a user with the id="thisisatest" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2014-02-19 14:29:11.955903 [WARNING] sofia_reg.c:1579 SIP auth failure (REGISTER) on sofia profile 'default' for [thisi...@myserver.fqdn] from ip my_client_ip
I've enabled debugging - here is what I see in the apache logs.
==> /var/log/httpd/error_log <==
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] hostname ASTPP
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] section directory
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] tag_name domain
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] key_name name
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] key_value myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Name REQUEST_PARAMS
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Core-UUID ce759450-9971-11e3-a386-af5857f5d182
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] FreeSWITCH-Hostname myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] FreeSWITCH-Switchname ASTPP
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] FreeSWITCH-IPv4 myserver.private/lan.ip
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] FreeSWITCH-IPv6 ::1
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Date-Local 2014-02-19 14:29:11
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Date-GMT Wed, 19 Feb 2014 14:29:11 GMT
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Date-Timestamp 1392820151775865
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Calling-File sofia_reg.c
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Calling-Function sofia_reg_parse_auth
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Calling-Line-Number 2610
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Event-Sequence 410
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] action sip_auth
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_profile default
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_user_agent PolycomSoundPointIP-SPIP_450-UA/3.3.2.0413
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_username thisisatest
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_realm myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_nonce 33501e18-9972-11e3-a399-af5857f5d182
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_uri sip:myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_contact_user thisisatest
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_contact_host my_client_ip
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_to_user thisisatest
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_to_host myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_via_protocol udp
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_from_user thisisatest
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_from_host myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_call_id ec306e3a-5dbfb383-f362b6e0@sip_device's_private_lan_ip
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_request_host myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_qop auth
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_cnonce oyFE2qpFUGjnPcj
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_nc 00000001
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_response bb08ea06414bc118f0f0625a98ba4896
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] sip_auth_method REGISTER
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] key id
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] user thisisatest
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] domain myserver.fqdn
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] ip my_client_ip
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] COUNT: 0
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] TOTAL USERS: 0
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] Content-Type: text/plain; charset=ISO-8859-1\r
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] \r
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] <?xml version="1.0" encoding="UTF-8" standalone="no"?>
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] <document type="freeswitch/xml">
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] <section name="result">
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] <result status="not found" /></section>
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1] </document>
[Wed Feb 19 14:29:11 2014] [error] [client 127.0.1.1]
==> /var/log/httpd/access_log <==
127.0.1.1 - - [19/Feb/2014:14:29:11 +0000] "POST /cgi-bin/astpp/astpp-fs-xml.cgi HTTP/1.1" 200 164 "-" "freeswitch-xml/1.0"
--
You received this message because you are subscribed to a topic in the Google Groups "ASTPP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/astpp/S8JVz86GXtg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/3845ca3d-1a80-48d2-b267-2d0898c22e9b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and all its topics, send an email to astpp+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ASTPP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/astpp/S8JVz86GXtg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/48affac5-8bb7-4669-a2af-f1223c006b39%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to astpp+unsubscribe@googlegroups.com.
2014-02-19 20:32:28.455876 [WARNING] sofia_reg.c:2695 Can't find user [thisisatest@server_ip] from phone_ip
You must define a domain called 'server_ip' in your directory and add a user with the id="thisisatest" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
send 437 bytes to udp/[client_ip]:5060 at 20:32:58.459402:
------------------------------------------------------------------------
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP client_ip:5060;branch=z9hG4bK849b1bdaFB64192F
From: "thisisatest" <sip:thisisatest@server_ip>;tag=18A69FA2-A641D057
To: <sip:thisisatest@server_ip>;tag=QyHgK21X1r1Fj
Call-ID: 81116563-db7d01e4-e488ab31@phone_private_lan_ip
CSeq: 2 REGISTER
User-Agent: ASTPP
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY
Supported: path, replaces
Content-Length: 0
------------------------------------------------------------------------
2014-02-19 20:32:58.457730 [WARNING] sofia_reg.c:1579 SIP auth failure (REGISTER) on sofia profile 'ec2' for [thisisatest@server_ip] from ip client_ip
To unsubscribe from this group and all its topics, send an email to astpp+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ASTPP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/astpp/S8JVz86GXtg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/de902c23-4349-4274-8238-7dd57d6be7e5%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to astpp+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ASTPP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/astpp/S8JVz86GXtg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/e815655b-91b7-471d-b2b3-528fdc3ee0d3%40googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/CAByRRitP7h9zud-1YvgibNG3Kyk4AYPwDX%3D%2BFZwEMfmu5ZGqzw%40mail.gmail.com.
2014-02-20 05:30:16.035868 [WARNING] sofia_reg.c:1579 SIP auth failure (REGISTER) on sofia profile 'ec2' for [thisisatest@server_ip] from ip client_ip
Hi Andy,Can you try by reloading mod_xml_curl and mod_sofia ?
On Thu, Feb 20, 2014 at 2:20 AM, sci3ntia . <jack7...@gmail.com> wrote:
I'm not using NAT anywhere in my environment though.
I think Samir would look at this in the morning and know right a way what's wrong.I def didn't have to do that, in fact if all went well with the script install very little was needed to change as far as I could remember.
To unsubscribe from this group and all its topics, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/e815655b-91b7-471d-b2b3-528fdc3ee0d3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/CAByRRitP7h9zud-1YvgibNG3Kyk4AYPwDX%3D%2BFZwEMfmu5ZGqzw%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at http://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/8f14ba8a-1590-4de1-ba90-d12ac621df05%40googlegroups.com.
Hi