[Freeswitch-users] From domain

Alex Gusak alex.gusak at gmail.com
Thu Jul 24 06:46:53 PDT 2008


We have sheme:



+-----+   +----+   +-----+
| GW1 |-->| FS |-->| GW2 |
+-----+   +----+   +-----+

  <gateway name="GW1" ip="X.X.X.X">
  <param name="caller-id-in-from" value="true"/>
  <param name="realm" value="domain.net"/>
  <param name="from-domain" value="domain.net"/>
  <param name="username" value="1"/>
  <param name="password" value="1"/>
  <param name="register" value="false"/>
  </gateway>

  <gateway name="GW2" ip="X.X.X.X">
  <param name="caller-id-in-from" value="true"/>
  <param name="realm" value="domain.net"/>
  <param name="from-domain" value="domain.net"/>
  <param name="username" value="1"/>
  <param name="password" value="1"/>
  <param name="register" value="false"/>
  </gateway>


When call from GW1 to GW2 FreeSWITCH recv INVITE from GW1:

   From: "Alex"<sip:alex_gusak at domain.net>;transport=UDP;tag=7552bb34
   To: <sip:XXXXXX at domain.net>;transport=UDP

and send INVITE to GW2:

   From: "Alex" <sip:alex_gusak at X.X.X.X>;tag=BK71NZ3yZvptK
   To: <sip:XXXXXX at domain.net>


where X.X.X.X IP address FreeSWITCH.



How to make that pass in the header From: the domain name domain.net?




-- 
Alex Gusak




More information about the FreeSWITCH-users mailing list