Making Extension call cellphone

wifinetguy

Member
Joined
Jan 8, 2008
Messages
93
Reaction score
0
Hi, all.

I would like to have an extension created that simply dials my cellphone. I realize that in the initial build, there was an extension built to send calls to a cellphone. However, I deleted that extension a while back and now would like it back. (I know, I know...)
 

wifinetguy

Member
Joined
Jan 8, 2008
Messages
93
Reaction score
0
Thank you for the quick reply. If I want to send it out a specific port, using a prefix (48 = Google Voice) would I just put in "485555555555"?
 

wifinetguy

Member
Joined
Jan 8, 2008
Messages
93
Reaction score
0
lgaetz, thank you again. I got it to work using my "485555555555" number. However, to reduce any confusion, this extension is created under Setup/Extensions/Other (Custom) Device.

There is an option actually listed as "Custom Extensions" under Tools and that is not where the cellphone extension is created.
 

dandy_don

Member
Joined
Sep 27, 2010
Messages
173
Reaction score
11
Can you please help me?

I'm trying to get this to work and I've used the settings discussed as well as some others, but it always fails.

I've attached some CLI error messages. The local phone number displayed in the messages is NOT the number I have assigned to this extension. It is as if this information is being ignored.

Any ideas are appreciated.

Thanks,
Don


root@pbx:~ $ asterisk -vvr
Asterisk 1.8.6.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.8.6.0 currently running on pbx (pid = 28577)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [501@from-internal:1] Macro("SIP/703-00000001", "exten-vm,novm,501") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/703-00000001", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/703-00000001", "AMPUSER=703") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/703-00000001", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/703-00000001", "1?Set(REALCALLERIDNUM=703)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/703-00000001", "AMPUSER=703") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/703-00000001", "AMPUSERCIDNAME=703") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/703-00000001", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/703-00000001", "AMPUSERCID=703") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/703-00000001", "CALLERID(all)="703" <703>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/703-00000001", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/703-00000001", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/703-00000001", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/703-00000001", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/703-00000001", "CALLERID(number)=703") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/703-00000001", "CALLERID(name)=703") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/703-00000001", "Using CallerID "703" <703>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/703-00000001", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/703-00000001", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/703-00000001", "__EXTTOCALL=501") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/703-00000001", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/703-00000001", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/703-00000001", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/703-00000001", "record-enable,501,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/703-00000001", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/703-00000001", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/703-00000001", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/703-00000001", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/703-00000001", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/703-00000001", "dial-one,"",tr,501") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/703-00000001", "DEXTEN=501") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/703-00000001", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/703-00000001", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/703-00000001", "1?cf,1") in new stack
-- Executing [cf@macro-dial-one:1] Set("SIP/703-00000001", "CFAMPUSER=703") in new stack
-- Executing [cf@macro-dial-one:2] ExecIf("SIP/703-00000001", "0?Return()") in new stack
-- Executing [cf@macro-dial-one:3] Set("SIP/703-00000001", "DEXTEN=6781234567#") in new stack
-- Executing [cf@macro-dial-one:4] ExecIf("SIP/703-00000001", "1?Return()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/703-00000001", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/703-00000001", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/703-00000001", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/703-00000001", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/703-00000001", "0?dstring,1:dlocal,1") in new stack
-- Executing [dlocal@macro-dial-one:1] Set("SIP/703-00000001", "DSTRING=Local/6781234567@from-internal/n") in new stack
-- Executing [dlocal@macro-dial-one:2] Return("SIP/703-00000001", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/703-00000001", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/703-00000001", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/703-00000001", "1?ctset,1:ctclear,1") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/703-00000001", "DB(CALLTRACE/6781234567#)=703") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/703-00000001", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/703-00000001", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/703-00000001", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/703-00000001", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/703-00000001", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/703-00000001", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/703-00000001", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/703-00000001", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/703-00000001", "Local/6781234567@from-internal/n,"",tr") in new stack
-- Called Local/6781234567@from-internal/n
-- Executing [6781234567@from-internal:1] ResetCDR("Local/6781234567@from-internal-20c6;2", "") in new stack
-- Executing [6781234567@from-internal:2] NoCDR("Local/6781234567@from-internal-20c6;2", "") in new stack
-- Executing [6781234567@from-internal:3] Progress("Local/6781234567@from-internal-20c6;2", "") in new stack
-- Local/6781234567@from-internal-20c6;1 is making progress passing it to SIP/703-00000001
-- Executing [6781234567@from-internal:4] Wait("Local/6781234567@from-internal-20c6;2", "1") in new stack
-- Executing [6781234567@from-internal:5] Progress("Local/6781234567@from-internal-20c6;2", "") in new stack
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
You called Extension 501 which has probably a FollowMe (almost 100% sure) of 6781234567. Go to FreePBX>Extensions>501>Edit FollowMe Settings>Take out the 6781234567# and replace with yournumber followed by#.
 

dandy_don

Member
Joined
Sep 27, 2010
Messages
173
Reaction score
11
I did as you suggested: However, there were no phone numbers assigned to extension 501 under the Follow Me settings.

Where do I find the phone number that needs to be edited?

This is a stock install and I have made no changes to the default Follow Me settings. I was merely trying to get the server to phone my cell phone when I dial extension 501.

Thanks,
Don
 

dandy_don

Member
Joined
Sep 27, 2010
Messages
173
Reaction score
11
The number that I want to dial is 937xxxxxxx (the x's are the actual cell phone number, 937 is the area code).

When I did the stock install of PIAF and FreePBX, it automatically created extension 501.

I then followed the suggestion exactly as described at the start of this thread and put my cell phone number into the dial field: Local/937xxxxxxx@outbound-allroutes

That didn't work. So I tried using the various trunks, then the various outbound routes, etc., The results are always the same and the CLI debug indicates that the server always seems to try and dial the 6781234567 number, etc. instead of the actual cell phone number that was placed in the dial field for that extension (Local/937xxxxxxx@outbound-allroutes)

As I mentioned in the previous posting, I have made no modifications to the stock install regarding follow-me, etc.

Thanks,
Don
 

dandy_don

Member
Joined
Sep 27, 2010
Messages
173
Reaction score
11
Thank-You!!
:smile5:
That did the trick. I created a custom extension as you suggested, filled in the details and is working great.

I'm not sure why extension is automatically populated and that changing it in FreePBX does not seem to correct the problem.

Anyway -- Its working now -- Many Thanks!!

Don
 

Members online

Forum statistics

Threads
25,825
Messages
167,843
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top