On Jan 9, 2011, at 3:15 PM, Daniel Bareiro wrote:

Then I tried to make any call from the predefined extensions of
FreeSwitch (1000.xml) to a number of iptel. Then calling from extension
1000 to, for example, music@iptel.org, I was able to communicate from a
softphone. The reason why the call is successfully using @iptel.org is
because it is taking the "realm" in the file iptel.org.xml?

Chances are you bypassed FS when you dialed music@iptel.org


I have been reading the FS documentation but I not found a way to use a
prefix to call a number of iptel (or some other provider) without having
to use @provider. I have no clear the syntax I should use or where
should I do this configuration.


What do you mean?

  <extension name="local.example.com">
    <condition field="destination_number" expression="^5551212$">
      <action application="bridge" data="sofia/gateway/iptel.org/music"/>
    </condition>
  </extension>

That would take 5551212 from a softphone and dial music@iptel.org .. NEVER put @iptel.org at the end of that or you'll ened up calling music@iptel.org@iptel.org :P

/b