<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>soooorry I answered to the wrong thread in my last
email</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=anthony.minessale@gmail.com
href="mailto:anthony.minessale@gmail.com">Anthony Minessale</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, March 09, 2010 11:39
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] vars from
sip_registrations table</DIV>
<DIV><BR></DIV>You would need to make a patch for it or pay someone to add
it.<BR><BR><BR>
<DIV class=gmail_quote>On Tue, Mar 9, 2010 at 2:04 AM, Madovsky <SPAN
dir=ltr><<A
href="mailto:infos@madovsky.org">infos@madovsky.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>forgot to say that I need it (since I didn't find any good
examples)</FONT></DIV>
<DIV><FONT size=2>for a 2 FS clustered without SRV NAPTR in DNS (the client
I should use is not compatible)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2><BR>F</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(0,0,0) 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV class=im>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: rgb(228,228,228); font-size-adjust: none; font-stretch: normal; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous"><B>From:</B>
<A title=infos@madovsky.org href="mailto:infos@madovsky.org"
target=_blank>Madovsky</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org"
target=_blank>freeswitch-users@lists.freeswitch.org</A> </DIV></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, March 09, 2010 2:59 AM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
vars from sip_registrations table</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>in sip_registration table there are</FONT></DIV>
<DIV>
<TABLE>
<TBODY>
<TR>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=1&sortdir=asc&strings=collapsed&page=1"
target=_blank>call_id</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=2&sortdir=asc&strings=collapsed&page=1"
target=_blank>sip_user</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=3&sortdir=asc&strings=collapsed&page=1"
target=_blank>sip_host</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=4&sortdir=asc&strings=collapsed&page=1"
target=_blank>presence_hosts</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=5&sortdir=asc&strings=collapsed&page=1"
target=_blank>contact</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=6&sortdir=asc&strings=collapsed&page=1"
target=_blank>status</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=7&sortdir=asc&strings=collapsed&page=1"
target=_blank>rpid</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=8&sortdir=asc&strings=collapsed&page=1"
target=_blank>expires</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=9&sortdir=asc&strings=collapsed&page=1"
target=_blank>user_agent</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=10&sortdir=asc&strings=collapsed&page=1"
target=_blank>server_user</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=11&sortdir=asc&strings=collapsed&page=1"
target=_blank>server_host</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=12&sortdir=asc&strings=collapsed&page=1"
target=_blank>profile_name</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=13&sortdir=asc&strings=collapsed&page=1"
target=_blank>hostname</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=14&sortdir=asc&strings=collapsed&page=1"
target=_blank>network_ip</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=15&sortdir=asc&strings=collapsed&page=1"
target=_blank>network_port</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=16&sortdir=asc&strings=collapsed&page=1"
target=_blank>sip_username</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=17&sortdir=asc&strings=collapsed&page=1"
target=_blank>sip_realm</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=18&sortdir=asc&strings=collapsed&page=1"
target=_blank>mwi_user</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=19&sortdir=asc&strings=collapsed&page=1"
target=_blank>mwi_host</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=20&sortdir=asc&strings=collapsed&page=1"
target=_blank>orig_server_host</A></TH>
<TH><A
href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&database=freeswitch&schema=public&table=sip_registrations&subject=table&return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&return_desc=Back&sortkey=21&sortdir=asc&strings=collapsed&page=1"
target=_blank>orig_hostname</A> </TH></TR></TBODY></TABLE></DIV>
<DIV>fields, so how can I get these vars from the callee before the bridge
?</DIV>
<DIV>I need to replace the host of the callee in case of if he's
registered on another FS node.</DIV>
<DIV> </DIV>
<DIV><FONT size=2>thanks</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT
size=2>Franck</FONT></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Anthony Minessale II<BR><BR>FreeSWITCH <A
href="http://www.freeswitch.org/">http://www.freeswitch.org/</A><BR>ClueCon <A
href="http://www.cluecon.com/">http://www.cluecon.com/</A><BR>Twitter: <A
href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</A><BR><BR>AIM:
anthm<BR><A
href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</A><BR>GTALK/JABBER/<A
href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</A><BR>IRC:
<A href="http://irc.freenode.net">irc.freenode.net</A>
#freeswitch<BR><BR>FreeSWITCH Developer Conference<BR><A
href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</A><BR><A
href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</A><BR><A
href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</A><BR>pstn:+19193869900<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>