cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2568
Views
20
Helpful
17
Replies

CISCO SPA5XX Speed Dial with Asterisk: Not working?

ncixbrian
Level 1
Level 1

Hi,

 

So my asterisk has a phonebook.

I press *0 then followed by SD # on softphone, no problem. SD # is 95 for example.

But when I do that on my SPA phones, *0SD, not working. "the speed dial entry you have accessed is empty".

How do I link Asterisk with SPA phone using interface? I was thinking of writting this on either directory or Speed dial of cisco IP phone:

fnc=sd;sub=*095@$PROXY;nme=SD1

What is the difference between a personal directory and speed dial in cisco IP phone?

1 Accepted Solution

Accepted Solutions

I am not sure how to turn on sip debug

sip set debug peer PJSIP/101

or

sip set debug ip aa.bb.cc.dd

I'm unsure, but it may require increased verbosity and debug level (core set debug N and core set verbose N). As I'm starting Asterisk console with both verbose and debug level 35 all the times I don't know it's required or not to show sip debug output ordered by sip set debug ...

I just realize according to the log, when dialing *095 using CISCO Phone, it only shows as *09 (it can't display any number after 9 such as 5). So cisco SPA phones can't make it display more than 3 characters (1st = *, 2nd = 0 third = 9)?

It seems to be matter of "Dial Plan" configuration of SPA508G. Check ExtN tab, Dial Plan section. I assume there is *xx here, so star followed by two digits is allowed only. You need to modify Dial Plan option value according your overall requirements. It's not only about *095 number, you need to have all numbers that should be allowed to dial in the mind.

thanks for the ext instead of sub tips

The ext= is used for purpose of sd feature of fnc=..., the sub= is dedicated rather to blf feature. Unfortunately, the documentation is somewhat unclear about it. Also, it seems that exact behavior vary according the firmware version. So you should be careful playing with various combinations. According my test on various firmware versions the following should be safe:

fnc=sd;ext=   for (pure) speed dial

fnc=blf;sub=   for (pure) busy lamp function

fnc=sd+blf;ext=..;sub=... for both functions on single line key (even in the case the value of ext is the same as value of sub I recommend both to be specified)

Of course, other options like vid, nme, nme2 may be appended according the goal.

 

View solution in original post

17 Replies 17

Dan Lukes
VIP Alumni
VIP Alumni

I'm unsure how the SD feature is implemented on your's Asterisk. There's nothing like standard implementation of speed-dial feature on it as far as I know.

What number needs to be sent to Asterisk to request dialing of a number stored in speed-dial slot 95 ?

I'm NOT asking about button sequence pressed neither on your softphone nor on a SPA5xx phone. I'm asking what number need to be requested in SIP INVITE request to SD feature become invoked on Asterisk according your wishes ...

The "sub=*095" will INVITE number *095, but it seems the Asterisk doesn't consider such number to be speed-dial feature request.

Who is claiming "the speed dial entry you have accessed is empty" ?

 

 

Thanks for the quick reply! 

I believe the request is *0

The cisco spa phone displays the words "the speed dial entry you have accessed is empty 

I thought an IP phone should be the same as a softphone..

Here are 2 pics I took, maybe it can help a little bit what I am talking about. 

 

First pic = feature codes asterisk

2nd pic = phone book configuration asterisk

Better to know, than believe. It's almost impossible that sub=*095 will fire invite for just *0

So turn on sip debug on Asterisk console, or use a packet catcher like Wireshark, tcpdump or so and compare content of INVITE packets from softphone and SPA5xx. The differences found should help us to identify what's wrong with configuration.

But you have issue with SD feature implemented on Asterisk. So you should turn on verbose & debug messages on Asterisks console - it should reveal valuable informations.

By the way, for fnc=sd you should use ext=*095 instead of sub=*095 unless you wish for fnc=blf+sd instead of simple fnc=sd.

 

Thanks Master Lukes.

What does fire invite stand for?

I am not sure how to turn on sip debug, but I have access to the asterisk log files.

This is what happens when using softphone Xlite and dialing *095 (working)

[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [*095@from-internal:1] Macro("PJSIP/101-0000002c", "user-callerid,") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:1] Set("PJSIP/101-0000002c", "TOUCH_MONITOR=1427695384.17762") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:2] Set("PJSIP/101-0000002c", "AMPUSER=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/101-0000002c", "0?report") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/101-0000002c", "1?Set(REALCALLERIDNUM=101)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:5] Set("PJSIP/101-0000002c", "AMPUSER=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/101-0000002c", "0?limit") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:7] Set("PJSIP/101-0000002c", "AMPUSERCIDNAME=Pharmacien") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/101-0000002c", "0?report") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:9] Set("PJSIP/101-0000002c", "AMPUSERCID=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:10] Set("PJSIP/101-0000002c", "__DIAL_OPTIONS=Ttr") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:11] Set("PJSIP/101-0000002c", "CALLERID(all)="Pharmacien" <101>") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/101-0000002c", "0?limit") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/101-0000002c", "0?Set(GROUP(concurrency_limit)=101)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:14] GosubIf("PJSIP/101-0000002c", "7?sub-ccss,s,1(from-internal,)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("PJSIP/101-0000002c", "0?Return()") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-ccss:2] Set("PJSIP/101-0000002c", "CCSS_SETUP=TRUE") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("PJSIP/101-0000002c", "0?monitor_config,1(from-internal,):monitor_default,1(from-internal,)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("PJSIP/101-0000002c", "0?is_exten") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("PJSIP/101-0000002c", "") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("PJSIP/101-0000002c", "FALSE") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/101-0000002c", "0?Set(CHANNEL(language)=)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/101-0000002c", "0?continue") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:17] ExecIf("PJSIP/101-0000002c", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:18] Set("PJSIP/101-0000002c", "__TTL=64") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/101-0000002c", "1?continue") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-user-callerid,s,30)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:30] Set("PJSIP/101-0000002c", "CALLERID(number)=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:31] Set("PJSIP/101-0000002c", "CALLERID(name)=Pharmacien") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:32] Set("PJSIP/101-0000002c", "CDR(cnum)=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:33] Set("PJSIP/101-0000002c", "CDR(cnam)=Pharmacien") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:34] Set("PJSIP/101-0000002c", "CHANNEL(language)=en") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [*095@from-internal:2] Set("PJSIP/101-0000002c", "SPEEDDIALLOCATION=95") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [*095@from-internal:3] Macro("PJSIP/101-0000002c", "speeddial-lookup,95,101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:1] GotoIf("PJSIP/101-0000002c", "0]?lookupsys") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:2] Set("PJSIP/101-0000002c", "SPEEDDIALNUMBER=") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:3] Set("PJSIP/101-0000002c", "SPEEDDIALNUMBER=") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:4] GotoIf("PJSIP/101-0000002c", "1?lookupsys") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-speeddial-lookup,s,104)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:104] Set("PJSIP/101-0000002c", "SPEEDDIALNUMBER=94186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:105] GotoIf("PJSIP/101-0000002c", "0?failed") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:106] NoOp("PJSIP/101-0000002c", "Found system speeddial 95: 94186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:107] Goto("PJSIP/101-0000002c", "end") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-speeddial-lookup,s,206)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-speeddial-lookup:206] NoOp("PJSIP/101-0000002c", "End of Speeddial-lookup") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [*095@from-internal:4] GotoIf("PJSIP/101-0000002c", "0?failed") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [*095@from-internal:5] Goto("PJSIP/101-0000002c", "from-internal,94186439025,1") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (from-internal,94186439025,1)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [94186439025@from-internal:1] Macro("PJSIP/101-0000002c", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:1] Set("PJSIP/101-0000002c", "TOUCH_MONITOR=1427695384.17762") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:2] Set("PJSIP/101-0000002c", "AMPUSER=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/101-0000002c", "10?report") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-user-callerid,s,16)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/101-0000002c", "1?continue") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-user-callerid,s,30)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:30] Set("PJSIP/101-0000002c", "CALLERID(number)=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:31] Set("PJSIP/101-0000002c", "CALLERID(name)=Pharmacien") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:32] Set("PJSIP/101-0000002c", "CDR(cnum)=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:33] Set("PJSIP/101-0000002c", "CDR(cnam)=Pharmacien") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-user-callerid:34] Set("PJSIP/101-0000002c", "CHANNEL(language)=en") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [94186439025@from-internal:2] Gosub("PJSIP/101-0000002c", "sub-record-check,s,1(out,94186439025,dontcare)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:1] GotoIf("PJSIP/101-0000002c", "0?initialized") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:2] Set("PJSIP/101-0000002c", "__REC_STATUS=INITIALIZED") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:3] Set("PJSIP/101-0000002c", "NOW=1427695384") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:4] Set("PJSIP/101-0000002c", "__DAY=30") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:5] Set("PJSIP/101-0000002c", "__MONTH=03") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:6] Set("PJSIP/101-0000002c", "__YEAR=2015") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:7] Set("PJSIP/101-0000002c", "__TIMESTR=20150330-020304") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:8] Set("PJSIP/101-0000002c", "__FROMEXTEN=101") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:9] Set("PJSIP/101-0000002c", "__MON_FMT=wav") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:10] NoOp("PJSIP/101-0000002c", "Recordings initialized") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:11] ExecIf("PJSIP/101-0000002c", "0?Set(ARG3=dontcare)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:12] Set("PJSIP/101-0000002c", "REC_POLICY_MODE_SAVE=") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:13] ExecIf("PJSIP/101-0000002c", "0?Set(REC_STATUS=NO)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:14] GotoIf("PJSIP/101-0000002c", "3?checkaction") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (sub-record-check,s,17)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@sub-record-check:17] GotoIf("PJSIP/101-0000002c", "1?sub-record-check,out,1") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (sub-record-check,out,1)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [out@sub-record-check:1] NoOp("PJSIP/101-0000002c", "Outbound Recording Check from 101 to 94186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [out@sub-record-check:2] Set("PJSIP/101-0000002c", "RECMODE=dontcare") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [out@sub-record-check:3] ExecIf("PJSIP/101-0000002c", "1?Goto(routewins)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (sub-record-check,out,7)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [out@sub-record-check:7] Gosub("PJSIP/101-0000002c", "recordcheck,1(dontcare,out,94186439025)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/101-0000002c", "Starting recording check against dontcare") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/101-0000002c", "dontcare") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (sub-record-check,recordcheck,3)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/101-0000002c", "") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [out@sub-record-check:8] Return("PJSIP/101-0000002c", "") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [94186439025@from-internal:3] ExecIf("PJSIP/101-0000002c", "0 ?Set(CDR(accountcode)=)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [94186439025@from-internal:4] Set("PJSIP/101-0000002c", "MOHCLASS=default") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [94186439025@from-internal:5] Set("PJSIP/101-0000002c", "_NODEST=") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [94186439025@from-internal:6] Macro("PJSIP/101-0000002c", "dialout-trunk,3,14186439025,,off") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/101-0000002c", "DIAL_TRUNK=3") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("PJSIP/101-0000002c", "0?sub-pincheck,s,1()") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("PJSIP/101-0000002c", "0?disabletrunk,1") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("PJSIP/101-0000002c", "DIAL_NUMBER=14186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("PJSIP/101-0000002c", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("PJSIP/101-0000002c", "OUTBOUND_GROUP=OUT_3") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/101-0000002c", "1?nomax") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-dialout-trunk,s,9)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("PJSIP/101-0000002c", "0?skipoutcid") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/101-0000002c", "DIAL_TRUNK_OPTIONS=r") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("PJSIP/101-0000002c", "outbound-callerid,3") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("PJSIP/101-0000002c", "0?Set(CALLERPRES()=)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("PJSIP/101-0000002c", "0?Set(REALCALLERIDNUM=101)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("PJSIP/101-0000002c", "1?normcid") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/101-0000002c", "USEROUTCID=") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/101-0000002c", "EMERGENCYCID=") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/101-0000002c", "TRUNKOUTCID=5165147930") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("PJSIP/101-0000002c", "1?trunkcid") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-outbound-callerid,s,14)
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/101-0000002c", "1?Set(CALLERID(all)=5165147930)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/101-0000002c", "0?Set(CALLERID(all)=)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:16] ExecIf("PJSIP/101-0000002c", "0?Set(CALLERID(all)=)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:17] ExecIf("PJSIP/101-0000002c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:18] Set("PJSIP/101-0000002c", "CDR(outbound_cnum)=5165147930") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-outbound-callerid:19] Set("PJSIP/101-0000002c", "CDR(outbound_cnam)=") in new stack
[2015-03-30 02:03:04] WARNING[26473] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/101-0000002c", "0?sub-flp-3,s,1()") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("PJSIP/101-0000002c", "OUTNUM=14186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("PJSIP/101-0000002c", "custom=AMP") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/101-0000002c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)r)") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/101-0000002c", "0?Set(DIAL_TRUNK_OPTIONS=rM(confirm))") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:17] Macro("PJSIP/101-0000002c", "dialout-trunk-predial-hook,") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] NoOp("PJSIP/101-0000002c", "*** 14186439025 ***") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:2] Set("PJSIP/101-0000002c", "num2find=14186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:3] Set("PJSIP/101-0000002c", "OrigCID=5165147930") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:4] Set("PJSIP/101-0000002c", "OrigCNAM=") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:5] Set("PJSIP/101-0000002c", "CALLERID(num)=14186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:6] Set("PJSIP/101-0000002c", "CURLOPT(httptimeout)=7") in new stack
[2015-03-30 02:03:04] ERROR[9221][C-00000659] pbx.c: Function CURLOPT not registered
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:7] Set("PJSIP/101-0000002c", "lookupcid=14186439025") in new stack
[2015-03-30 02:03:04] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:8] Set("PJSIP/101-0000002c", "CALLERID(name)=") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:9] Set("PJSIP/101-0000002c", "lookupcid=") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:10] Set("PJSIP/101-0000002c", "CALLERID(name)=") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:11] NoOp("PJSIP/101-0000002c", "*** ***") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:12] Set("PJSIP/101-0000002c", "CDR(accountcode,r)=") in new stack
[2015-03-30 02:03:05] WARNING[26473] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:13] Set("PJSIP/101-0000002c", "CONNECTEDLINE(num,i)=14186439025") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:14] Set("PJSIP/101-0000002c", "CONNECTEDLINE(name,i)=") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:15] Set("PJSIP/101-0000002c", "CALLERID(num)=5165147930") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:16] Set("PJSIP/101-0000002c", "CALLERID(name)=") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:17] MacroExit("PJSIP/101-0000002c", "") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/101-0000002c", "0?bypass,1") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/101-0000002c", "1?Set(CONNECTEDLINE(num,i)=14186439025)") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/101-0000002c", "1?Set(CONNECTEDLINE(name,i)=CID:5165147930)") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:21] GotoIf("PJSIP/101-0000002c", "1?customtrunk") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-dialout-trunk,s,25)
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:25] Set("PJSIP/101-0000002c", "pre_num=AMP:Motif/gpharmaciegsbrgmailcom/") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:26] Set("PJSIP/101-0000002c", "the_num=OUTNUM") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:27] Set("PJSIP/101-0000002c", "post_num=@voice.google.com") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:28] GotoIf("PJSIP/101-0000002c", "1?outnum:skipoutnum") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Goto (macro-dialout-trunk,s,29)
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:29] Set("PJSIP/101-0000002c", "the_num=14186439025") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] pbx.c: -- Executing [s@macro-dialout-trunk:30] Dial("PJSIP/101-0000002c", "Motif/gpharmaciegsbrgmailcom/14186439025@voice.google.com,300,r") in new stack
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] app_dial.c: -- Called Motif/gpharmaciegsbrgmailcom/14186439025@voice.google.com
[2015-03-30 02:03:05] VERBOSE[9221][C-00000659] app_dial.c: -- Motif/14186439025@voice.google.com-aace is proceeding passing it to PJSIP/101-0000002c
[2015-03-30 02:03:09] VERBOSE[9221][C-00000659] app_dial.c: -- Motif/14186439025@voice.google.com-aace answered PJSIP/101-0000002c
[2015-03-30 02:03:09] VERBOSE[9221][C-00000659] bridge_channel.c: -- Channel PJSIP/101-0000002c joined 'simple_bridge' basic-bridge <85557c0a-7bf8-4b73-990e-7c7d9fc4d51b>
[2015-03-30 02:03:09] VERBOSE[9232][C-00000659] bridge_channel.c: -- Channel Motif/14186439025@voice.google.com-aace joined 'simple_bridge' basic-bridge <85557c0a-7bf8-4b73-990e-7c7d9fc4d51b>
[2015-03-30 02:03:11] NOTICE[9221][C-00000659] res_rtp_asterisk.c: Unknown RTP codec 126 received from '192.168.1.109:60572'
[2015-03-30 02:03:16] VERBOSE[9221][C-00000659] bridge_channel.c: -- Channel PJSIP/101-0000002c left 'simple_bridge' basic-bridge <85557c0a-7bf8-4b73-990e-7c7d9fc4d51b>
[2015-03-30 02:03:16] VERBOSE[9232][C-00000659] bridge_channel.c: -- Channel Motif/14186439025@voice.google.com-aace left 'simple_bridge' basic-bridge <85557c0a-7bf8-4b73-990e-7c7d9fc4d51b>
[2015-03-30 02:03:16] VERBOSE[9221][C-00000659] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'PJSIP/101-0000002c' in macro 'dialout-trunk'
[2015-03-30 02:03:16] VERBOSE[9221][C-00000659] pbx.c: == Spawn extension (from-internal, 94186439025, 6) exited non-zero on 'PJSIP/101-0000002c'
[2015-03-30 02:03:16] VERBOSE[9221][C-00000659] pbx.c: -- Executing [h@from-internal:1] Hangup("PJSIP/101-0000002c", "") in new stack
[2015-03-30 02:03:16] VERBOSE[9221][C-00000659] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/101-0000002c'
[2015-03-30 02:04:00] VERBOSE[9264] pbx_spool.c: -- Attempting call on Local/s@tc-maint for application NoCDR() (Retry 1)
[2015-03-30 02:04:00] VERBOSE[9265] dial.c: -- Called s@tc-maint

Here is what happens when I type *095 on my Cisco phone

[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [*09@from-internal:1] Macro("PJSIP/102-00000030", "user-callerid,") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:1] Set("PJSIP/102-00000030", "TOUCH_MONITOR=1427695892.17929") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:2] Set("PJSIP/102-00000030", "AMPUSER=102") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/102-00000030", "0?report") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/102-00000030", "1?Set(REALCALLERIDNUM=102)") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:5] Set("PJSIP/102-00000030", "AMPUSER=102") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/102-00000030", "0?limit") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:7] Set("PJSIP/102-00000030", "AMPUSERCIDNAME=Technicien") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/102-00000030", "0?report") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:9] Set("PJSIP/102-00000030", "AMPUSERCID=102") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:10] Set("PJSIP/102-00000030", "__DIAL_OPTIONS=Ttr") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:11] Set("PJSIP/102-00000030", "CALLERID(all)="Technicien" <102>") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/102-00000030", "0?limit") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/102-00000030", "0?Set(GROUP(concurrency_limit)=102)") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:14] GosubIf("PJSIP/102-00000030", "7?sub-ccss,s,1(from-internal,)") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("PJSIP/102-00000030", "0?Return()") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@sub-ccss:2] Set("PJSIP/102-00000030", "CCSS_SETUP=TRUE") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("PJSIP/102-00000030", "0?monitor_config,1(from-internal,):monitor_default,1(from-internal,)") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("PJSIP/102-00000030", "0?is_exten") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("PJSIP/102-00000030", "") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("PJSIP/102-00000030", "FALSE") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:15] ExecIf("PJSIP/102-00000030", "0?Set(CHANNEL(language)=)") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/102-00000030", "0?continue") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:17] ExecIf("PJSIP/102-00000030", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:18] Set("PJSIP/102-00000030", "__TTL=64") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/102-00000030", "1?continue") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Goto (macro-user-callerid,s,30)
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:30] Set("PJSIP/102-00000030", "CALLERID(number)=102") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:31] Set("PJSIP/102-00000030", "CALLERID(name)=Technicien") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:32] Set("PJSIP/102-00000030", "CDR(cnum)=102") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:33] Set("PJSIP/102-00000030", "CDR(cnam)=Technicien") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-user-callerid:34] Set("PJSIP/102-00000030", "CHANNEL(language)=en") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [*09@from-internal:2] Set("PJSIP/102-00000030", "SPEEDDIALLOCATION=9") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [*09@from-internal:3] Macro("PJSIP/102-00000030", "speeddial-lookup,9,102") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:1] GotoIf("PJSIP/102-00000030", "0]?lookupsys") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:2] Set("PJSIP/102-00000030", "SPEEDDIALNUMBER=") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:3] Set("PJSIP/102-00000030", "SPEEDDIALNUMBER=") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:4] GotoIf("PJSIP/102-00000030", "1?lookupsys") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Goto (macro-speeddial-lookup,s,104)
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:104] Set("PJSIP/102-00000030", "SPEEDDIALNUMBER=") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:105] GotoIf("PJSIP/102-00000030", "1?failed") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Goto (macro-speeddial-lookup,s,205)
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:205] NoOp("PJSIP/102-00000030", "No system or user speeddial found") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [s@macro-speeddial-lookup:206] NoOp("PJSIP/102-00000030", "End of Speeddial-lookup") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [*09@from-internal:4] GotoIf("PJSIP/102-00000030", "1?failed") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Goto (from-internal,*09,104)
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] pbx.c: -- Executing [*09@from-internal:104] Playback("PJSIP/102-00000030", "speed-dial-empty") in new stack
[2015-03-30 02:11:32] VERBOSE[9791][C-00000668] file.c: -- <PJSIP/102-00000030> Playing 'speed-dial-empty.gsm' (language 'en')
[2015-03-30 02:11:35] VERBOSE[9791][C-00000668] pbx.c: -- Executing [*09@from-internal:105] Congestion("PJSIP/102-00000030", "") in new stack
[2015-03-30 02:11:39] VERBOSE[9791][C-00000668] pbx.c: == Spawn extension (from-internal, *09, 105) exited non-zero on 'PJSIP/102-00000030'
[2015-03-30 02:11:39] VERBOSE[9791][C-00000668] pbx.c: -- Executing [h@from-internal:1] Hangup("PJSIP/102-00000030", "") in new stack
[2015-03-30 02:11:39] VERBOSE[9791][C-00000668] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/102-00000030'

 

 

 

I just realize according to the log, when dialing *095 using CISCO Phone, it only shows as *09 (it can't display any number after 9 such as 5). So cisco SPA phones can't make it display more than 3 characters (1st = *, 2nd = 0 third = 9)?

 

When in asterisk, I changed Speed dial from 95 to 9, dialing on both softphone and spa phone works! Does that mean Cisco SPA508G phone only allows 9 speed dials as *0 1, *0 2, *0 3 ,... to *0 9

Btw, thanks for the ext instead of sub tips, what does it do more? I just realize changing it works a lot better (gives less errors)

I am not sure how to turn on sip debug

sip set debug peer PJSIP/101

or

sip set debug ip aa.bb.cc.dd

I'm unsure, but it may require increased verbosity and debug level (core set debug N and core set verbose N). As I'm starting Asterisk console with both verbose and debug level 35 all the times I don't know it's required or not to show sip debug output ordered by sip set debug ...

I just realize according to the log, when dialing *095 using CISCO Phone, it only shows as *09 (it can't display any number after 9 such as 5). So cisco SPA phones can't make it display more than 3 characters (1st = *, 2nd = 0 third = 9)?

It seems to be matter of "Dial Plan" configuration of SPA508G. Check ExtN tab, Dial Plan section. I assume there is *xx here, so star followed by two digits is allowed only. You need to modify Dial Plan option value according your overall requirements. It's not only about *095 number, you need to have all numbers that should be allowed to dial in the mind.

thanks for the ext instead of sub tips

The ext= is used for purpose of sd feature of fnc=..., the sub= is dedicated rather to blf feature. Unfortunately, the documentation is somewhat unclear about it. Also, it seems that exact behavior vary according the firmware version. So you should be careful playing with various combinations. According my test on various firmware versions the following should be safe:

fnc=sd;ext=   for (pure) speed dial

fnc=blf;sub=   for (pure) busy lamp function

fnc=sd+blf;ext=..;sub=... for both functions on single line key (even in the case the value of ext is the same as value of sub I recommend both to be specified)

Of course, other options like vid, nme, nme2 may be appended according the goal.

 

Very helpful! You're right, it's XX, I should be making it XXX.

I also saw in the dial plan a case for Emergency #, blank. Do I have to put 911 in this?

You will not be allowed to dial just *01 then. But of you have star+three-digit numbers only then it's correct.

I also saw in the dial plan a case for Emergency #, blank. Do I have to put 911 in this?

If a number is declared to be Emergency, then some special processing apply for the call. Namely the call can't be put on hold and it can't be terminated by caller (e.g. only emergency operator on called end of line may terminate the call once connected).

Such behavior is mandatory in some countries (I'm not sure about NANPA region countries). I would like to recommend it even in the case such behavior is not required by law - it may save life in some life threatening situations and do little or no harm in others (like emergency number dialed by accident).

So, my simple proposal is "Yes".

Note the option is comma-delimited list. So it's possible to put more than one number here if necessary.

 

 

Thank you, you answer really helps.

 

I have 2 more questions:

1- I read on some tutorial that I should disable all other extensions I do not use. In my SPA508G, I have 8 possible expensions tab. Not sure what they are for, as I only edit EXT 1. 

Are EXT purpose to be used for different SIP servers?
Can I leave them enabled, will it do the same thing?

 

2- I have an unexpected problem here with programmable softkeys configuration.

On the Hold Key List, I changed to:

dir|1;redial|3;lcr|4;psk1|5;psk2|6;psk3|7;psk4|8;psk5|9;psk6|10;psk7|11;psk8|12;psk9|13

Where all psk are like this: fnc=sd;ext=*02@$PROXY;nme=HSMary

Here is the situation:

What I want is while first line key is on hold, any other dialing would follow as using the next available line key (instead of using the same line key as the one on hold). Whenever I dial, choose redial option, or any of my PSK, it will not use the next available line key. However, when pressing lcr, it does use the next available line key (only softkey that works).

I found out I can use the bottom arrow of the "mousepad" to switch between line keys and then use the softkey speed dial to dial and it works. However, I would want to know if it's possible to configure the dialing to automatically choose the next available line key.

I saw in misc line key to choose vertical instead of horizontal, min of call appearance is 2. But I think this is only for incoming calls, while my problem is outgoing.
 

Are EXT purpose to be used for different SIP servers?

Or different account on the same server. Yes, it is.

My SPA508G is registered to seven accounts on six servers (e.g. there is one server with two accounts and five with one account).

Note that the Line L button need not to be assigned to Ext N one by one, although it's common configuration. There may be multiple Line buttons tied to the same Ext N.

Can I leave them enabled

To be on safe side, you should disable them, but I know no difference between disabled Ext and the one enabled but not configured (the factory default state of Ext N).

it's possible to configure the dialing to automatically choose the next available line key.

I know no such method (it doesn't prove it's not possible). The SpeedDial is like other dial methods - it initiate call in the context of current Line Key. Even in the case it's connected (the current call will be put on hold). You can assign SpeedDial key to different Ext N context (using vid= parameter) but you can't use it to start call on particular Line Key (nor the "next" one).

Try different values for Phone -> Miscellaneous Line Key Settings -> Line ID Mapping and ... -> Line Navigation but I don't expect so much it will solve your issue. Just try it and let us to know the results.

 

Just to be clear: account doesn't mean extension (ex: 101) right?

What is Line L?

--------------------------------------------------------------------------

I tried Line ID mapping and nav, and all possible combinaison, not working :(

Do you know if we can find the function of lcr ? Maybe if we can find that softkey function in detail, we can take a look and copy a portion of it? Because lcr really allows to make it happen.

There are eight Line Keys on SPA508G, so Line 1 key, Line 2 key ...

No, account is not the same as extension, but it may depend on what you mean account and what you mean extension.

if we can find the function of lcr ?

I don't understand the question. LCR is PSK with hardwired implementation of a feature. What you mean "find function of lcr" ?

Unless you have firmware source codes, of course.

 

Sort of trying to find the code for PSK of LCR.

LCR is able to redial last call by using  start call on the next Line Key.

So I wondered if maybe we take a look how LCR is configurated, it can provide us a good idea on how to make it happen for a normal dialing.

LCR have no definition like fnc=something as far as I know. It's "definition" is hardwired in firmware.