[Freeswitch-users] How to call a person on the same network.

Anthony Minessale anthony.minessale at gmail.com
Thu Apr 3 06:10:14 PDT 2008


The last argument to "pa call" is the extension in the dialplan that you
intend to call.

portaudio is backwards in the sense that when you make an outbound call from
the console it's actually a inbound call
as far as FreeSWITCH is concerned.

If you want to be able to call sip urls with portaudio "pa call" you need to
make an extension to capture it and rewrite the dest.

put this as the first extension in your dialplan.

  <extension name="dial by url">
    <condition field="destination_number" expression="^sip:(.*)">
      <action application="bridge" data="sofia/default/$1"/>
    </condition>
  </extension>




On Wed, Apr 2, 2008 at 10:45 PM, Ritesh Singh <riteshsingh81 at gmail.com>
wrote:

> Hi All,
>
> My aim is to call a person who's ip address is x.x.x.x. My ip address is
> y.y.y.y.
>
> What i tried was:
> Run the freeswitch on m/c having ips x.x.x.x and y.y.y.y. In both the
> freeswitch instance, i have loaded the mod_portaudio and mod_spidermonkey.
>
> Now i used commands from x.x.x.x  freeswitch console:
> 1)  pa call sip:SIP_URI at y.y.y.y.
> 2)  pa call sip:y.y.y.y.
>
> And in both the cases i was unsuccessfull in calling y.y.y.y from x.x.x.x.
> Basically i was thinking that extension SIP_URI in default.xml will work
> with ip addresses only.
> In my scenario, x.x.x.x and y.y.y.y are on the same network.
>
> Please suggest.
>
> Thanks and Regards
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080403/5128ed31/attachment-0002.html 


More information about the FreeSWITCH-users mailing list