I always just use ngrep.  As long as you aren't using TLS it works quite well:

ngrep -d [device] -q -W byline SIP udp port 5060

  Of course you can update your BPF syntax if you wish.

On 1/12/09, Brian West <[email protected]> wrote:
>
> TPORT_LOG=1 ./freeswitch
>
>
> /b
>
>
>
> On Jan 12, 2009, at 3:21 PM, Will Smith wrote:
>
>
> Forgive me,
> I don't know how to turn on the SIP debug mode. This is what it say from FS 
> command line:
>
> 2009-01-13 16:26:46 [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 
> 1000->18187188288in context default
> 2009-01-13 16:26:47 [ERR] mod_sofia.c:2341 sofia_outgoing_channel() Invalid 
> Gateway
> 2009-01-13 16:26:47 [NOTICE] mod_sofia.c:2540 sofia_outgoing_channel() Close 
> Channel N/A [CS_NEW]
> 2009-01-13 16:26:47 [ERR] switch_ivr_originate.c:1110 switch_ivr_originate() 
> Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]
> 2009-01-13 16:26:47 [INFO] mod_dptools.c:1891 audio_bridge_function() 
> Originate Failed.  Cause: INVALID_NUMBER_FORMAT
> 2009-01-13 16:26:47 [NOTICE] mod_dptools.c:1918 audio_bridge_function() 
> Hangup sofia/internal/[email protected] [CS_EXECUTE] [INVALID_NUMBER_FORMAT]
> 2009-01-13 16:26:47 [NOTICE] switch_core_session.c:956 
> switch_core_session_thread() Session 163 (sofia/internal/[email protected]) 
> Ended
> 2009-01-13 16:26:47 [NOTICE] switch_core_session.c:958 
> switch_core_session_thread() Close Channel sofia/internal/[email protected] 
> [CS_HANGUP]
>
> _______________________________________________
>  Freeswitch-users mailing list
>  [email protected]
>  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>  http://www.freeswitch.org
>
>



-- 
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.com

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to