Re: [Freeswitch-users] Getting USER_NOT_REGISTERED for no reason ?
Welcome back by the way Brian... ;-) If only it were that easy...... in conf/directory/default.xml I changed.... <param name="dial-string" value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/> to read <param name="dial-string" value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain}),sofia/other_profile/${dialed_user}}"/> Then the OpenVPN phone rings, but the internally registered phone does not ?
You'll have to modify the dial-string for the user 1000 to make sure it searches this new profile ...
OK just put a dial-string param on that ONE user: (You'll have to make sure sofia_contact profile/user@domain resolves at fs_cli first... ) The starts just aren't lined up yet and this is why you MUST understand how the parts of freeswitch interact and cause this to either work or not work. <param name="dial-string" value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(other_profile/${dialed_user}@${dialed_domain})}"/> /b On Feb 6, 2012, at 12:05 PM, Bob Smith wrote:
Welcome back by the way Brian... ;-)
If only it were that easy...... in conf/directory/default.xml I changed....
<param name="dial-string" value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
to read
<param name="dial-string" value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain}),sofia/other_profile/${dialed_user}}"/>
Then the OpenVPN phone rings, but the internally registered phone does not ?
You'll have to modify the dial-string for the user 1000 to make sure it searches this new profile ...
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
btw LOOK at the logs... bet it says something about only dialing one element... use a :_: instead of a , might work also. uri:_:uri:_:uri vs uri,uri,uri /b On Feb 6, 2012, at 12:05 PM, Bob Smith wrote:
Then the OpenVPN phone rings, but the internally registered phone does not ?
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
Hi, I am testing Openfire and FS (mod_dingaling) Openfire and FS are installed on same server. Before install Openfire, FS worked fine After install Openfire, FS just exit when openfire send messages to FS or when a just execute the command: chat jingle....... The message I receive is "Socket interrupted ...." This is what a got in fs_cli before exit 2012-02-06 15:22:00.155318 [NOTICE] libdingaling.c:1373 SEND: ------------------------------------------------------------------------------- <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept" to="xmpps" version="1.0"></stream:stream> 2012-02-06 15:22:00.175334 [INFO] libdingaling.c:1371 RECV: ------------------------------------------------------------------------------- <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept" from="xmpps.genlab.anew.com.ve" id="a390f0ad"></stream:stream> 2012-02-06 15:22:00.175334 [NOTICE] libdingaling.c:1373 SEND: ------------------------------------------------------------------------------- <handshake>b33672a70d17d0d5020b141b1dff686493def49c</handshake> 2012-02-06 15:22:00.175334 [INFO] libdingaling.c:1371 RECV: ------------------------------------------------------------------------------- <handshake></handshake> 2012-02-06 15:22:00.175334 [DEBUG] libdingaling.c:1194 XMPP authenticated 2012-02-06 15:22:00.215322 [INFO] libdingaling.c:1371 RECV: ------------------------------------------------------------------------------- <iq type="get" id="71-9" from="component.genlab.anew.com.ve" to="xmpps.genlab.anew.com.ve"> <query xmlns="http://jabber.org/protocol/disco#info"></query> </iq> 2012-02-06 15:22:00.215322 [NOTICE] libdingaling.c:1373 SEND: ------------------------------------------------------------------------------- <iq from="xmpps.genlab.anew.com.ve" to="component.genlab.anew.com.ve" id="71-9" type="result"> <query xmlns="http://jabber.org/protocol/disco#info"> <identity category="gateway" name="LibDingaLing"></identity> <feature var="http://jabber.org/protocol/disco"></feature> <feature var="http://jabber.org/protocol/disco#info"></feature> <feature var="jabber:iq:version"></feature> <feature var="vcard-temp"></feature> <feature var="http://www.google.com/xmpp/protocol/voice/v1"></feature> <feature var="jabber:iq:last"></feature> </query> </iq> ----------- my dingle xml file: <include> <!-- Component (Server to Server Login) --> <!-- to use this profile take the x- away from the open and close tags so its <profile> and </profile> --> <profile type="component"> <param name="name" value="$${xmpp_server_profile}"/> <param name="password" value="123456"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="rtp-ip" value="$${bind_server_ip}"/> <param name="server" value="10.1.1.85:5275"/> <!-- disable to trade async for more calls --> <param name="use-rtp-timer" value="true"/> <!-- "_auto_" means the extension will be automaticly set to the called jid --> <param name="exten" value="_auto_"/> <!--<param name="vad" value="both"/>--> <!--<param name="avatar" value="/path/to/tiny.jpg"/>--> <!--If you have ODBC support and a working dsn you can use it instead of SQLite--> <!--<param name="odbc-dsn" value="dsn:user:pass"/>--> <!--<param name="candidate-acl" value="wan.auto"/>--> </profile> </include> Thanks in advance
participants (3)
-
Bob Smith
-
Brian West
-
Saugort Dario Garcia Tovar