Aaah!

So how do I call the cell number? Like this?

originate sofia/internal/1002 sofia/gateway/outbound/09958839124

But this gives invalid profile.


On Wed, Mar 27, 2013 at 4:08 PM, Steven Ayre <steveayre@gmail.com> wrote:
Also note in the original command 1002 enters dialplan with destination_number=1002 when the gateway answers. It won't call that user directly, you have to handle it in dialplan or use &bridge(user/1002) instead of the 1002 parameter.

Steve

On 27 Mar 2013, at 09:09, Avi Marcus <avi@avimarcus.net> wrote:

On Wed, Mar 27, 2013 at 10:08 AM, Amit Kumar <findme@itsamit.com> wrote:
I am trying to call my Cellphone using the attached PSTN number from the FXO.

This is the command I am trying

originate sofia/gateway/outbound/09xxxxxxxx4 1002

I presume that's an actual gateway, called "outbound" (or you've redacted it)?
 

This does not seem to work.
Can you explain beyond that? Perhaps it's one of these:
1) originate waits to show you anything in the fs_cli until is finishes. Using "bgapi originate... "will be different, it will show you the logs right away.
2) "originate A B" will call A, and only once A picks up, will then call B. If your cell phone is indeed ringing, then your 1002 won't ring until the cell phone picks up.
If you do originate user/1002 09xxxxxxxx4 then that will flip the order - and it will hit the dialplan with that number once 1002 picks up.

Are either of those your answer?
Avi Marcus
BestFone


However, if I use a software SIP phone(Zoiper), and use the account 1001 to call the same cellphone number, it works.

So something if definitely wrong in the command I am using, but I can't pinpoint the issue.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org