Al, please, show us the content of the following files: conf/directory/default.xml conf/vars.xml May you also tell us if you see a message in fs_cli when you try to register ? David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 27/06/2011 à 22:05, Al Bogner a écrit :
I am doing my first steps with freeswitch.
I have installed on an Ubuntu 11.04 server:
ii freeswitch 1.0.7~20110603-0natty6 ii freeswitch-codec-passthru-g7231 1.0.7~20110603-0natty6 ii freeswitch-codec-passthru-g729 1.0.7~20110603-0natty6 ii freeswitch-lang-de 1.0.7~20110603-0natty6 ii freeswitch-lang-en 1.0.7~20110603-0natty6
Following the tutorial at http://www.onlinesolution.co.nz/viewtopic.php?t=102 I modified /opt/freeswitch/conf/directory/default/1000.xml
<include> <user id="1000"> <params> <param name="password" value="siptest"/> <param name="vm-password" value="siptest"/> </params> <variables> <variable name="toll_allow" value="domestic,local"/> <variable name="accountcode" value="1000"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1000"/> <variable name="effective_caller_id_number" value="1000"/> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/> <variable name="callgroup" value="techsupport"/> </variables> </user> </include>
Then I tried to connect to the server from another machine:
+++ 27-6-2011 17:07:30.279796 INFO SIP ::send_sip_udp Send to: udp:192.168.2.100:5060 REGISTER sip:192.168.2.100 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.108;rport;branch=z9hG4bKcvkohckk Max-Forwards: 70 To: "FS Admin" <sip:1000@192.168.2.100> From: "FS Admin" <sip:1000@192.168.2.100>;tag=nyyvz Call-ID: zmjxppampyrrgxk@client.local.tld CSeq: 645 REGISTER Contact: <sip:1000@192.168.2.108>;expires=3600 Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE User-Agent: Twinkle/1.4.2 Content-Length: 0
---
+++ 27-6-2011 17:07:30.281799 INFO SIP ::process_sip_msg Received from: udp:192.168.2.100:5060 SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 192.168.2.108;received=192.168.2.108;rport=5060;branch=z9hG4bKcvkohckk To: "FS Admin" <sip:1000@192.168.2.100>;tag=iairy From: "FS Admin" <sip:1000@192.168.2.100>;tag=nyyvz Call-ID: zmjxppampyrrgxk@client.local.tld CSeq: 645 REGISTER Server: Twinkle/1.4.2 Content-Length: 0
What could be wrong, so I can't connect?
Al
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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