[Freeswitch-users] Calls Authentication

Lloyd Aloysius lloyd.aloysius at gmail.com
Thu Feb 27 15:45:35 MSK 2014


There was a type error.

challenge-realm =

auto_from


On Thu, Feb 27, 2014 at 7:43 AM, Lloyd Aloysius <lloyd.aloysius at gmail.com>wrote:

> Hello All,
>
> I have the the following set in my profile parameters.
>
> challenge-realm = false
> auth-all-packets = true
>
> But someone from the otuside can enter into my dial plan. Why the switch
> is not blocking(authenticate) before enter into the dialpaln. I do not have
> any default context or user 1001 in the system. please see the log below.
>
> What i am doing wrong in my setup.
>
> =========================
>
> 2014-02-27 07:07:16.449120 [DEBUG] sofia.c:7868 sofia/sipinterface_1/1001@{freeswitch_ip}
> receiving invite from {originate_ip}:10036 version: 1.2.22 git aabf813
> 2014-02-24 01:22:36Z 64bit
> 2014-02-27 07:07:16.449120 [DEBUG] sofia.c:8025 IP {originate_ip} Rejected
> by acl "domains". Falling back to Digest auth.
> *2014-02-27 07:07:16.449120 [WARNING] sofia_reg.c:1532 SIP auth challenge
> (INVITE) on sofia profile 'sipinterface_1' for
> [018584290411@{freeswitch_ip}] from ip {originate_ip}*
> 2014-02-27 07:07:16.449120 [DEBUG] switch_core_state_machine.c:434
> (sofia/sipinterface_1/1001@{freeswitch_ip}) State NEW
> 2014-02-27 07:07:16.449120 [DEBUG] switch_core_session.c:1016 Send signal
> sofia/sipinterface_1/1001@{freeswitch_ip} [BREAK]
> 2014-02-27 07:07:16.449120 [DEBUG] sofia.c:1792 detaching session
> b31c0e64-9fa7-11e3-8ba7-6d0b1a3b8605
> 2014-02-27 07:07:16.809118 [DEBUG] sofia.c:1884 Re-attaching to session
> b31c0e64-9fa7-11e3-8ba7-6d0b1a3b8605
> 2014-02-27 07:07:16.809118 [DEBUG] switch_core_session.c:1016 Send signal
> sofia/sipinterface_1/1001@{freeswitch_ip} [BREAK]
> 2014-02-27 07:07:16.809118 [DEBUG] switch_core_session.c:1016 Send signal
> sofia/sipinterface_1/1001@{freeswitch_ip} [BREAK]
> 2014-02-27 07:07:16.809118 [DEBUG] sofia.c:7868 sofia/sipinterface_1/1001@{freeswitch_ip}
> receiving invite from {originate_ip}:10036 version: 1.2.22 git aabf813
> 2014-02-24 01:22:36Z 64bit
> *2014-02-27 07:07:16.809118 [DEBUG] sofia.c:8025 IP {originate_ip}
> Rejected by acl "domains". Falling back to Digest auth.*
> 2014-02-27 07:07:16.829310 [DEBUG] sofia.c:5811 Channel
> sofia/sipinterface_1/1001@{freeswitch_ip} entering state [received][100]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia.c:5824 Remote SDP:
> v=0
> o=- 5753281 5753289 IN IP4 {originate_ip}
> s=eyeBeam
> c=IN IP4 192.168.1.100
> t=0 0
> m=audio 11424 RTP/AVP 100 6 0 8 3 18 97 5 101
> a=rtpmap:100 speex/16000
> a=rtpmap:97 speex/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=alt:1 1 : 86FF30D0 0000006D 192.168.1.100 24006
>
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [speex:100:16000:20:0]/[G722:9:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [speex:100:16000:20:0]/[PCMU:0:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [speex:100:16000:20:0]/[PCMA:8:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [speex:100:16000:20:0]/[GSM:3:8000:20:13200]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [DVI4:6:16000:20:0]/[G722:9:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [DVI4:6:16000:20:0]/[PCMU:0:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [DVI4:6:16000:20:0]/[PCMA:8:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [DVI4:6:16000:20:0]/[GSM:3:8000:20:13200]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[G722:9:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5282 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:3190 Set Codec
> sofia/sipinterface_1/1001@{freeswitch_ip} PCMU/8000 20 ms 160 samples
> 64000 bits
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_codec.c:111
> sofia/sipinterface_1/1001@{freeswitch_ip} Original read codec set to
> PCMU:0
> 2014-02-27 07:07:16.829310 [DEBUG] sofia_glue.c:5451 Set 2833 dtmf
> send/recv payload to 101
> 2014-02-27 07:07:16.829310 [DEBUG] sofia.c:6091 (sofia/sipinterface_1/1001@{freeswitch_ip})
> State Change CS_NEW -> CS_INIT
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_session.c:1351 Send signal
> sofia/sipinterface_1/1001@{freeswitch_ip} [BREAK]
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_state_machine.c:415
> (sofia/sipinterface_1/1001@{freeswitch_ip}) Running State Change CS_INIT
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_state_machine.c:455
> (sofia/sipinterface_1/1001@{freeswitch_ip}) State INIT
> 2014-02-27 07:07:16.829310 [DEBUG] mod_sofia.c:87
> sofia/sipinterface_1/1001@{freeswitch_ip} SOFIA INIT
> 2014-02-27 07:07:16.829310 [DEBUG] mod_sofia.c:127
> (sofia/sipinterface_1/1001@{freeswitch_ip}) State Change CS_INIT ->
> CS_ROUTING
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_session.c:1351 Send signal
> sofia/sipinterface_1/1001@{freeswitch_ip} [BREAK]
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_state_machine.c:455
> (sofia/sipinterface_1/1001@{freeswitch_ip}) State INIT going to sleep
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_state_machine.c:415
> (sofia/sipinterface_1/1001@{freeswitch_ip}) Running State Change
> CS_ROUTING
> 2014-02-27 07:07:16.829310 [DEBUG] switch_channel.c:2163
> (sofia/sipinterface_1/1001@{freeswitch_ip}) Callstate Change DOWN ->
> RINGING
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_state_machine.c:471
> (sofia/sipinterface_1/1001@{freeswitch_ip}) State ROUTING
> 2014-02-27 07:07:16.829310 [DEBUG] mod_sofia.c:150
> sofia/sipinterface_1/1001@{freeswitch_ip} SOFIA ROUTING
> 2014-02-27 07:07:16.829310 [DEBUG] switch_core_state_machine.c:117
> sofia/sipinterface_1/1001@{freeswitch_ip} Standard ROUTING
> *2014-02-27 07:07:16.829310 [INFO] mod_dialplan_xml.c:558 Processing 1001
> <1001>->018584290411 in context default*
>
>
>
>
>
> Thanks and regards,
> Lloud
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140227/a2a39e11/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list