[Freeswitch-users] Prefix for outgoing calls

Brian West brian at freeswitch.org
Mon Jan 10 01:02:10 MSK 2011

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 at 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 at 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"/>

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110109/1ecee3d3/attachment.html 

More information about the FreeSWITCH-users mailing list