I wish had $1,000.00 for every time I answer this one... :)Ok here is what is the problem, you have the device setup to register to the domain, but its subscribing to the IP ergo domain != ip when it search for any subscriptions.See force-subscription-domain, force-register-domain and force-register-db-domainThose all have to align perfectly for things to behave properly.Thanks,On Wed, Mar 9, 2016 at 12:57 PM, Igor Olhovskiy <igorolhovskiy@gmail.com> wrote:_________________________________________________________________________Hi!I’m trying to subscribe to Freeswitch with this packetSUBSCRIBE sip:*55@master.rufan.at SIP/2.0Record-Route: <sip:10.0.20.70:5060;ftag=jz8i26dy0f;lr=on>Via: SIP/2.0/UDP 212.232.26.232:5060;branch=z9hG4bKbb4c.eafe0e8f9ec4b28fb6e4056a64c702ed.0Via: SIP/2.0/UDP 192.168.88.59:37600;received=176.37.91.15;branch=z9hG4bK-rzfuku5tc99o;rport=37600Route: <sip:10.0.20.70:5060;ftag=jz8i26dy0f;lr=on>From: <sip:607@master.rufan.at>;tag=jz8i26dy0fTo: <sip:*55@master.rufan.at;user=phone>;tag=qBuxIeW1MNWFCall-ID: 313435373534383931393431313632-94bfcwdyrzz2CSeq: 610 SUBSCRIBEMax-Forwards: 69User-Agent: snom760/8.7.5.35Contact: <sip:607@176.37.91.15:37600;line=ukipitb6>;reg-id=1Event: dialogAccept: application/dialog-info+xmlExpires: 80Content-Length: 0Path: <sip:212.232.26.232:5060;lr;received=sip:176.37.91.15:37600>X-AUTH-IP: 176.37.91.15Actually I get Accepted (202)But with NOTIFY from freeswitch I got thisNOTIFY sip:607@176.37.91.15:37600;line=ukipitb6 SIP/2.0Via: SIP/2.0/UDP 10.0.20.71;rport;branch=z9hG4bKS5ZKag4N6XXFKRoute: <sip:10.0.20.70:5060>;ftag=jz8i26dy0f;lr=onRecord-Route: <sip:10.0.20.70:5060>;ftag=jz8i26dy0f;lr=onMax-Forwards: 70From: <sip:*55@master.rufan.at;user=phone>;tag=qBuxIeW1MNWFTo: <sip:607@master.rufan.at>;tag=jz8i26dy0fCall-ID: 313435373534383931393431313632-94bfcwdyrzz2CSeq: 297327351 NOTIFYContact: <sip:*55@10.0.20.71:5060>User-Agent: FreeSWITCHAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBESupported: path, replacesEvent: dialogAllow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, referSubscription-State: active;expires=80Content-Type: application/dialog-info+xmlContent-Length: 152<?xml version="1.0"?><dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="8" state="full" entity="sip:*55@master.rufan.at"></dialog-info>Problem is, XML data is empty, cause actually there is no registrations for *55 extension.Why it’s not sending «Unavail» or smth. like this? What is the correct packet for SUBSCRIBE? Or internal profile?Internal profile isnonce-ttl [60]auth-calls [true]inbound-reg-force-matching-username [true]auth-all-packets [false]ext-rtp-ip [10.0.20.71]ext-sip-ip [10.0.20.71]rtp-timeout-sec [300]rtp-hold-timeout-sec [1800]tls-verify-policy [all]multiple-registrations [contact]enable-timer [false]dbname [share_presence]send-presence-on-register [true]inbound-codec-negotiation [greedy]NDLB-force-rport [safe]challenge-realm [auto_to]outbound-proxy [10.0.20.70]track-calls [true]nat-options-ping [true]liberal-dtmf [true]all-reg-options-ping [true]force-publish-expires [true]unregister-on-options-fail [true]user-agent-string [FreeSWITCH]log-auth-failures [true]forward-unsolicited-mwi-notify [false]context [public]rfc2833-pt [101]sip-port [5060]dialplan [XML]dtmf-duration [2000]inbound-codec-prefs [G7221@32000h,G7221@16000h,G722,PCMU,PCMA,OPUS,SILK]outbound-codec-prefs [G7221@32000h,G7221@16000h,G722,PCMU,PCMA,OPUS,SILK]rtp-timer-name [soft]rtp-ip [10.0.20.71]sip-ip [10.0.20.71]hold-music [local_stream://default]apply-nat-acl [nat.auto]aggressive-nat-detection [true]apply-inbound-acl [domains]local-network-acl [localnet.auto]record-path [/usr/local/freeswitch/recordings]record-template [${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}]manage-presence [true]presence-probe-on-register [true]manage-shared-appearance [true]tls [false]--Best regards,Igor
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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--Brian West
brian@freeswitch.org
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
https://www.gofundme.com/freeswitch_ubuntuGot Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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