<!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>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></BODY></HTML>