<!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> </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&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">call_id</A></TH>
<TH class=data><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">sip_user</A></TH>
<TH class=data><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">sip_host</A></TH>
<TH class=data><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">presence_hosts</A></TH>
<TH class=data><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">contact</A></TH>
<TH class=data><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">status</A></TH>
<TH class=data><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">rpid</A></TH>
<TH class=data><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">expires</A></TH>
<TH class=data><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">user_agent</A></TH>
<TH class=data><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">server_user</A></TH>
<TH class=data><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">server_host</A></TH>
<TH class=data><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">profile_name</A></TH>
<TH class=data><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">hostname</A></TH>
<TH class=data><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">network_ip</A></TH>
<TH class=data><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">network_port</A></TH>
<TH class=data><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">sip_username</A></TH>
<TH class=data><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">sip_realm</A></TH>
<TH class=data><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">mwi_user</A></TH>
<TH class=data><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">mwi_host</A></TH>
<TH class=data><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">orig_server_host</A></TH>
<TH class=data><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">orig_hostname</A> </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></TH></DIV></BLOCKQUOTE></BODY></HTML>