<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876">
<STYLE></STYLE>
</HEAD>
<BODY 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>&nbsp;</DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2><BR>F</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
dir=ltr>
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=infos@madovsky.org href="mailto:infos@madovsky.org">Madovsky</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 2:59 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><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><TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=1&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">call_id</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=2&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">sip_user</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=3&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">sip_host</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=4&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">presence_hosts</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=5&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">contact</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=6&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">status</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=7&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">rpid</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=8&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">expires</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=9&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">user_agent</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=10&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">server_user</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=11&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">server_host</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=12&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">profile_name</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=13&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">hostname</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=14&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">network_ip</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=15&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">network_port</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=16&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">sip_username</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=17&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">sip_realm</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=18&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">mwi_user</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=19&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">mwi_host</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=20&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">orig_server_host</A></TH> 
  <TH class=data><A 
  href="https://secure.live-school.net/phpPgAdmin4/display.php?server=10.0.0.1%3A5432&amp;database=freeswitch&amp;schema=public&amp;table=sip_registrations&amp;subject=table&amp;return_url=tblproperties.php%3Fserver%3D10.0.0.1%253A5432%26amp%3Bdatabase%3Dfreeswitch%26amp%3Bschema%3Dpublic%26table%3Dsip_registrations&amp;return_desc=Back&amp;sortkey=21&amp;sortdir=asc&amp;strings=collapsed&amp;page=1">orig_hostname</A>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT size=2>thanks</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>Franck</FONT></TH></DIV></BLOCKQUOTE></BODY></HTML>