FollowMe to an external number

I am trying to get Followme to ring both an internal extension and external number.

From the wiki it seems quite straight forward you just put in the number and it should work, but it is only ringing my internal extension.

I never see an outgoing invite to the external number or anything.

here is an excerpt from the log

dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘+14915208800855’ number is ‘+4915208800855’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ‘‘
dialparties.agi: Methodology of ring is ‘ringallv2’
– dialparties.agi: Added extension 62 to extension map
– dialparties.agi: Added extension 015112345678 to extension map
> dialparties.agi: got fmgrp_prering: 2, fmgrp_grptime: 20
> dialparties.agi: fmgrp_totalprering: 22
> dialparties.agi: found extension in pre-ring and array
> dialparties.agi: ringallv2 ring times: REALPRERING: 22, PRERING: 2
> dialparties.agi: Extension 015112345678 has call screening off
– dialparties.agi: Extension 62 cf is disabled
– dialparties.agi: Extension 015112345678 cf is disabled
– dialparties.agi: Extension 62 do not disturb is disabled
– dialparties.agi: Extension 015112345678 do not disturb is disabled
> dialparties.agi: extnum 62 has: cw: 1; hascfb: 0 [] hascfu: 0 []
– dialparties.agi: dbset CALLTRACE/62 to +4915208800855
> dialparties.agi: extnum 015112345678 has: cw: 0; hascfb: 0 [] hascfu: 0 []
dialparties.agi: EXTENSION_STATE: 4 (UNKNOWN)
dialparties.agi: Extension 015112345678 has ExtensionState: 4
– dialparties.agi: Checking CW and CFB status for extension 015112345678
– dialparties.agi: dbset CALLTRACE/015112345678 to +4915208800855
– dialparties.agi: Filtered ARG3: 62-015112345678
> dialparties.agi: NODEST: 62 adding M(auto-blkvm) to dialopts: TtrIM(auto-blkvm)
> dialparties.agi: FMUNIQUE: SIP/USA-00000102, FMRERING: 0, FMREALPRERING: 22, FMGRPTIME: 20
> dialparties.agi: NODEST: 62 blkvm enabled macro already in dialopts: TtrIM(auto-blkvm)
– <SIP/USA-00000102>AGI Script dialparties.agi completed, returning 0
– Executing [[email protected]:7] Dial(“SIP/USA-00000102”, “Local/[email protected]&Local/[email protected],22,TtrIM(auto-blkvm)”) in new stack
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2014-05-08 18:24:44’},’’,’’,’’,’’,’’,‘FMPR-62’,‘from-internal’,‘Local/[email protected];1’,’’,’’,3,’’,‘1399566284.415’,‘1399566279.414’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2014-05-08 18:24:44’},’’,’’,’’,’’,’’,‘FMPR-62’,‘from-internal’,‘Local/[email protected];2’,’’,’’,3,’’,‘1399566284.416’,‘1399566279.414’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2014-05-08 18:24:44’},’’,’’,’’,’’,’’,‘FMGL-015112345678’,‘from-internal’,‘Local/[email protected];1’,’’,’’,3,’’,‘1399566284.417’,‘1399566279.414’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2014-05-08 18:24:44’},’’,’’,’’,’’,’’,‘FMGL-015112345678’,‘from-internal’,‘Local/[email protected];2’,’’,’’,3,’’,‘1399566284.418’,‘1399566279.414’,’’,’’,’’)]
– Called Local/[email protected]
– Called Local/[email protected]
– Executing [[email protected]:1] NoCDR(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “RingGroupMethod=”) in new stack
– Executing [[email protected]:1] NoCDR(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “ENDLOOP=1399566286”) in new stack
– Executing [FMGL-015112[email protected]:3] GotoIf(“Local/[email protected];2”, “0?dodnd”) in new stack
– Executing [[email protected]:3] Set(“Local/[email protected];2”, “USE_CONFIRMATION=”) in new stack
– Executing [[email protected]:4] Wait(“Local/[email protected];2”, “1”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “RINGGROUP_INDEX=”) in new stack
– Executing [[email protected]:5] Macro(“Local/[email protected];2”, “simple-dial,62,22”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “__EXTTOCALL=62”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “RT=22”) in new stack
– Executing [[email protected]:3] Set(“Local/[email protected];2”, “CFUEXT=”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “CFBEXT=”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “CWI_TMP=”) in new stack
– Executing [[email protected]:6] Macro(“Local/[email protected];2”, “dial-one,22,Ttr,62”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “DEXTEN=62”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “DIALSTATUS_CW=”) in new stack
– Executing [[email protected]:3] GosubIf(“Local/[email protected];2”, “0?screen,1()”) in new stack
– Executing [[email protected]:4] GosubIf(“Local/[email protected];2”, “0?cf,1()”) in new stack
– Executing [[email protected]:5] GotoIf(“Local/[email protected];2”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “0?nodial”) in new stack
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “0?continue”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “EXTHASCW=ENABLED”) in new stack
– Executing [[email protected]:11] GotoIf(“Local/[email protected];2”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,23)
– Executing [[email protected]:23] GotoIf(“Local/[email protected];2”, “1?next3:continue”) in new stack
– Goto (macro-dial-one,s,24)
– Executing [[email protected]:24] ExecIf(“Local/[email protected];2”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
– Executing [[email protected]:25] GotoIf(“Local/[email protected];2”, “0?nodial”) in new stack
– Executing [[email protected]:26] GosubIf(“Local/[email protected];2”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “DSTRING=”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “DEVICES=62”) in new stack
– Executing [[email protected]:3] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:4] ExecIf(“Local/[email protected];2”, “0?Set(DEVICES=2)”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “LOOPCNT=1”) in new stack
– Executing [[email protected]:6] Set(“Local/[email protected];2”, “ITER=1”) in new stack
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “THISDIAL=SIP/62”) in new stack
– Executing [[email protected]:8] GosubIf(“Local/FMPR-[email protected];2”, “1?zap2dahdi,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “NEWDIAL=”) in new stack
– Executing [[email protected]:3] Set(“Local/[email protected];2”, “LOOPCNT2=1”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “ITER2=1”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “THISPART2=SIP/62”) in new stack
– Executing [[email protected]:6] ExecIf(“Local/[email protected];2”, “0?Set(THISPART2=DAHDI/62)”) in new stack
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “NEWDIAL=SIP/62&”) in new stack
– Executing [[email protected]:8] Set(“Local/[email protected];2”, “ITER2=2”) in new stack
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “0?begin2”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “THISDIAL=SIP/62”) in new stack
– Executing [[email protected]:11] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:9] Set(“Local/[email protected];2”, “DSTRING=SIP/62&”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “ITER=2”) in new stack
– Executing [[email protected]:11] GotoIf(“Local/[email protected];2”, “0?begin”) in new stack
– Executing [[email protected]:12] Set(“Local/[email protected];2”, “DSTRING=SIP/62”) in new stack
– Executing [[email protected]:13] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:27] GotoIf(“Local/[email protected];2”, “0?nodial”) in new stack
– Executing [[email protected]:28] GotoIf(“Local/[email protected];2”, “0?skiptrace”) in new stack
– Executing [[email protected]:29] GosubIf(“Local/[email protected];2”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “DB(CALLTRACE/62)=+4915208800855”) in new stack
– Executing [[email protected]:2] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:30] Set(“Local/[email protected];2”, “D_OPTIONS=TtrM(auto-blkvm)”) in new stack
– Executing [[email protected]:31] ExecIf(“Local/[email protected];2”, “0?SIPAddHeader(Alert-Info: )”) in new stack
– Executing [[email protected]:32] ExecIf(“Local/[email protected];2”, “0?SIPAddHeader()”) in new stack
– Executing [[email protected]:33] ExecIf(“Local/[email protected];2”, “1?Set(CHANNEL(musicclass)=default)”) in new stack
– Executing [[email protected]:34] GosubIf(“Local/[email protected];2”, “0?qwait,1()”) in new stack
– Executing [[email protected]:35] Set(“Local/[email protected];2”, “__CWIGNORE=”) in new stack
– Executing [[email protected]:36] Set(“Local/[email protected];2”, “__KEEPCID=TRUE”) in new stack
– Executing [[email protected]:37] GotoIf(“Local/[email protected];2”, “0?usegoto,1”) in new stack
– Executing [[email protected]:38] GotoIf(“Local/[email protected];2”, “1?godial”) in new stack
– Goto (macro-dial-one,s,43)
– Executing [[email protected]:43] Dial(“Local/[email protected];2”, “SIP/62,22,TtrM(auto-blkvm)”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2014-05-08 18:24:44’},‘Stephen’,‘62’,’’,’’,’’,‘s’,‘from-internal’,‘SIP/62-00000103’,’’,’’,3,’’,‘1399566284.419’,‘1399566279.414’,’’,’’,’’)]

You have to append the external number with a “#”.
ie, 6015551212#

And you must have a line available for follow-me to dial out on.

BF

That was it, silly overlook on my part.

Im having the same kind of problem, but i have put in the # at the end of my number.
The phone rings then its like it picks up but there is nothing and then it hangs up.

Update on this a little. It just automatically goes to the “Destination if no answer” part of the follow me. but why?

look at your extensions max ring time, it must be 60+

Are you refering to the “Ring Time (max 60 seconds)” in the picture?
Because it doesnt allow me to go higher then 60 seconds.

ok I understand now; It does not call the follow me list.

I think its because of “Change External Configuration” change its state from default to “Use Dialed Number” if it doesn’t work try other options.

I tried all the options in that list. Same results. It just goes to the Destination if no answer.

Can you try it one more time, and please send me the asterisk log files of your try.

[2015-10-27 11:56:25] VERBOSE[17153][C-00005c33] pbx.c: – Executing [[email protected]:5] Congestion(“Local/[email protected];2”, “20”) in new stack
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] app_dial.c: – Local/[email protected];1 is circuit-busy
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] app_dial.c: == Everyone is busy/congested at this time (1:0/1/0)
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] pbx.c: – Executing [[email protected]:8] Set(“Local/FMGL-7809782660#@from-internal-0000483c;2”, “DIALSTATUS=CONGESTION”) in new stack
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] pbx.c: – Executing [[email protected]:9] GosubIf(“Local/FMGL-7809782660#@from-internal-0000483c;2”, “0?CONGESTION,1()”) in new stack
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] pbx.c: – Executing [FMGL-7809782660#@from-internal:8] Hangup(“Local/FMGL-7809782660#@from-internal-0000483c;2”, “”) in new stack
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] pbx.c: == Spawn extension (from-internal, FMGL-7809782660#, 8) exited non-zero on ‘Local/FMGL-7809782660#@from-internal-0000483c;2’
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] pbx.c: – Executing [[email protected]:1] Hangup(“Local/FMGL-7809782660#@from-internal-0000483c;2”, “”) in new stack
[2015-10-27 11:56:25] VERBOSE[17146][C-00005c33] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/FMGL-7809782660#@from-internal-0000483c;2’
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] app_dial.c: – No one is available to answer at this time (2:0/0/1)
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]macro-dial:8] Set(“SIP/5877710696-0000139b”, “DIALSTATUS=NOANSWER”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:9] GosubIf(“SIP/5877710696-0000139b”, “0?NOANSWER,1()”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:23] Goto(“SIP/5877710696-0000139b”, “nextstep”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Goto (from-did-direct,300,25)
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:25] Set(“SIP/5877710696-0000139b”, “RingGroupMethod=”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:26] GotoIf(“SIP/5877710696-0000139b”, “0?nodest”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:27] Set(“SIP/5877710696-0000139b”, “__NODEST=”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:28] Set(“SIP/5877710696-0000139b”, “__PICKUPMARK=”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:29] Macro(“SIP/5877710696-0000139b”, “blkvm-clr,”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:1] Set(“SIP/5877710696-0000139b”, “SHARED(BLKVM,SIP/5877710696-0000139b)=”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:2] Set(“SIP/5877710696-0000139b”, “GOSUB_RETVAL=”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:3] MacroExit(“SIP/5877710696-0000139b”, “”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:30] Set(“SIP/5877710696-0000139b”, “DIALSTATUS=CHANUNAVAIL”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:31] Goto(“SIP/5877710696-0000139b”, “app-announcement-2,s,1”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Goto (app-announcement-2,s,1)
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/5877710696-0000139b”, “0?begin”) in new stack
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:2] Answer(“SIP/5877710696-0000139b”, “”) in new stack
[2015-10-27 11:56:25] WARNING[17153][C-00005c33] channel.c: Prodding channel ‘Local/[email protected];2’ failed
[2015-10-27 11:56:25] VERBOSE[17153][C-00005c33] app_macro.c: == Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘Local/[email protected];2’ in macro ‘outisbusy’
[2015-10-27 11:56:25] VERBOSE[17153][C-00005c33] pbx.c: == Spawn extension (from-internal, 7809782660, 8) exited non-zero on ‘Local/[email protected];2’
[2015-10-27 11:56:25] VERBOSE[17153][C-00005c33] pbx.c: – Executing [[email protected]:1] Hangup(“Local/[email protected];2”, “”) in new stack
[2015-10-27 11:56:25] VERBOSE[17153][C-00005c33] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/[email protected];2’
[2015-10-27 11:56:25] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:3] Wait(“SIP/5877710696-0000139b”, “1”) in new stack
[2015-10-27 11:56:26] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:4] NoOp(“SIP/5877710696-0000139b”, “Playing announcement Leave VM Billing”) in new stack
[2015-10-27 11:56:26] VERBOSE[17143][C-00005c33] pbx.c: – Executing [[email protected]:5] Playback(“SIP/5877710696-0000139b”, “custom/leave-vm-billing,noanswer”) in new stack
[2015-10-27 11:56:26] VERBOSE[17143][C-00005c33] file.c: – <SIP/5877710696-0000139b> Playing ‘custom/leave-vm-billing.slin’ (language ‘en’)
[2015-10-27 11:56:30] VERBOSE[17143][C-00005c33] pbx.c: == Spawn extension (app-announcement-2, s, 5) exited non-zero on ‘SIP/5877710696-0000139b’

Hi,

Did you notice that? The dialling is failing. How do you suppose to dial? what is your dial pattern?
Why do you have only the external number configured? where is the local 300 extension?

You have created a situation that everyone who is diallling to extension 300, it will dial directly to your external number.

Thank you,

Daniel Friedman
Trixton LTD.

Mobile: +41.79.868.7050
Email: [email protected]

This is what i want to accomplish. We currently have a working PBX with this exact situation but the version is quite old. I want to update, but i also do not want to try and “upgrade” that specific PBX incase it doenst work, then i am stuck with a broken PBX and a really mad boss.

Hi,

Did you configured a working trunk in the new PBX? can you dial in and out?

Thank you,

Daniel Friedman
Trixton LTD.

Mobile: +41.79.868.7050
Email: [email protected]

Yes it is working. In and outbound calls if i were to change my incoming route to an internal phone with extension.

Hi,

Do you want me to take a look?

Thank you,

Daniel Friedman
Trixton LTD.

Mobile: +41.79.868.7050
Email: [email protected]

I was mistaken. I am unable to connect my phone to this pbx and call out.
I had my phone still configured to my old pbx.

You will be able to look for me?

Incoming is working, but outgoing is not. This is for sure my problem…
I am getting an “All Circuts are busy”

Hi,

Send me the login details to my email.

Thank you,

Daniel Friedman
Trixton LTD.

Mobile: +41.79.868.7050
Email: [email protected]