keywords:pbx ip pbx voip gateway gsm gateway

× Questions about G400/G410 Cards.

Trixbox2.8.0.4 with Openvox G400P and A400P

8 years 7 months ago #6744 by micpet
I have a few questions on this setup: Trixbox2.8.0.4 with Openvox G400P and A400P
Question 1.
I am trying to follow the freepbx instructions and recommendations so i did not edit the extensions.conf but added the
[from-gsm] to the extensions_custom.conf instead. it appears to work well.

[from-gsm]
exten => s,1,Answer()
exten => s,n,Goto(ext-group,600,1)
exten => s,n,Hangup

The thing is I have the A400P which was configured by default and the freepbx GUI works well for configuring in/out with the A400P. I want the G400P to be configured like the A400P, change the routes if i decide to use and ext 200 or ringgroup or IVR or whatever. Will the following work?
[from-gsm]
include => from-pstn

Question 2.
When I dial out on the G400P, the called phone takes 12 seconds to begin ringing. 4 sec for the callers phone to start the count and 8 seconds for the called phone to begin ringing. Any suggestions on shortening this? here are my out routes and sequence in case this is part of the problem.

[outbound-allroutes]
include => outbound-allroutes-custom
include => outrt-001-LIME_LOCAL_Fixed ; A400P
include => outrt-002-ALL_LOCAL ; G400P
include => outrt-003-PSTN_LOCAL_ALL ; G400P
include => outrt-004-International ;G400P
include => outrt-005-Emergency
exten => foo,1,Noop(bar)

; end of [outbound-allroutes]


[outrt-001-LIME_LOCAL_Fixed]
include => outrt-001-LIME_LOCAL_Fixed-custom
exten => 911,1,Macro(user-callerid,SKIPTTL,)
exten => 911,n,Set(_NODEST=)
exten => 911,n,Macro(record-enable,${AMPUSER},OUT,)
exten => 911,n,Macro(dialout-trunk,5,${EXTEN},,)
exten => 911,n,Macro(dialout-trunk,4,${EXTEN},,)
exten => 911,n,Macro(outisbusy,)
exten => 999,1,Macro(user-callerid,SKIPTTL,)
exten => 999,n,Set(_NODEST=)
exten => 999,n,Macro(record-enable,${AMPUSER},OUT,)
exten => 999,n,Macro(dialout-trunk,5,${EXTEN},,)
exten => 999,n,Macro(dialout-trunk,4,${EXTEN},,)
exten => 999,n,Macro(outisbusy,)
exten => _9255XXXX,1,Macro(user-callerid,SKIPTTL,)
exten => _9255XXXX,n,Set(_NODEST=)
exten => _9255XXXX,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _9255XXXX,n,Macro(dialout-trunk,5,${EXTEN:1},,)
exten => _9255XXXX,n,Macro(dialout-trunk,4,${EXTEN:1},,)
exten => _9255XXXX,n,Macro(outisbusy,)
exten => _9266XXXX,1,Macro(user-callerid,SKIPTTL,)
exten => _9266XXXX,n,Set(_NODEST=)
exten => _9266XXXX,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _9266XXXX,n,Macro(dialout-trunk,5,${EXTEN:1},,)
exten => _9266XXXX,n,Macro(dialout-trunk,4,${EXTEN:1},,)
exten => _9266XXXX,n,Macro(outisbusy,)
exten => _94XXXXXX,1,Macro(user-callerid,SKIPTTL,)
exten => _94XXXXXX,n,Set(_NODEST=)
exten => _94XXXXXX,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _94XXXXXX,n,Macro(dialout-trunk,5,${EXTEN:1},,)
exten => _94XXXXXX,n,Macro(dialout-trunk,4,${EXTEN:1},,)
exten => _94XXXXXX,n,Macro(outisbusy,)

; end of [outrt-001-LIME_LOCAL_Fixed]


[outrt-002-ALL_LOCAL]
include => outrt-002-ALL_LOCAL-custom
exten => 911,1,Macro(user-callerid,SKIPTTL,)
exten => 911,n,Set(_NODEST=)
exten => 911,n,Macro(record-enable,${AMPUSER},OUT,)
exten => 911,n,Macro(dialout-trunk,2,${EXTEN},,)
exten => 911,n,Macro(dialout-trunk,3,${EXTEN},,)
exten => 911,n,Macro(outisbusy,)
exten => 999,1,Macro(user-callerid,SKIPTTL,)
exten => 999,n,Set(_NODEST=)
exten => 999,n,Macro(record-enable,${AMPUSER},OUT,)
exten => 999,n,Macro(dialout-trunk,2,${EXTEN},,)
exten => 999,n,Macro(dialout-trunk,3,${EXTEN},,)
exten => 999,n,Macro(outisbusy,)
exten => _9NXXXXXX,1,Macro(user-callerid,SKIPTTL,)
exten => _9NXXXXXX,n,Set(_NODEST=)
exten => _9NXXXXXX,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _9NXXXXXX,n,Macro(dialout-trunk,2,${EXTEN:1},,)
exten => _9NXXXXXX,n,Macro(dialout-trunk,3,${EXTEN:1},,)
exten => _9NXXXXXX,n,Macro(outisbusy,)

; end of [outrt-002-ALL_LOCAL]


[outrt-003-PSTN_LOCAL_ALL]
include => outrt-003-PSTN_LOCAL_ALL-custom
exten => _9NXXXXXX,1,Macro(user-callerid,SKIPTTL,)
exten => _9NXXXXXX,n,Set(_NODEST=)
exten => _9NXXXXXX,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _9NXXXXXX,n,Macro(dialout-trunk,5,${EXTEN:1},,)
exten => _9NXXXXXX,n,Macro(dialout-trunk,4,${EXTEN:1},,)
exten => _9NXXXXXX,n,Macro(outisbusy,)

; end of [outrt-003-PSTN_LOCAL_ALL]


[outrt-004-International]
include => outrt-004-International-custom
exten => _9.,1,Macro(user-callerid,SKIPTTL,)
exten => _9.,n,Set(_NODEST=)
exten => _9.,n,Macro(record-enable,${AMPUSER},OUT,)
exten => _9.,n,Macro(dialout-trunk,2,${EXTEN:1},654321,)
exten => _9.,n,Macro(dialout-trunk,3,${EXTEN:1},,)
exten => _9.,n,Macro(dialout-trunk,5,${EXTEN:1},,)
exten => _9.,n,Macro(dialout-trunk,4,${EXTEN:1},,)
exten => _9.,n,Macro(outisbusy,)

; end of [outrt-004-International]


[outrt-005-Emergency]
include => outrt-005-Emergency-custom
exten => 911,1,Macro(user-callerid,SKIPTTL,)
exten => 911,n,Set(_NODEST=)
exten => 911,n,Macro(record-enable,${AMPUSER},OUT,)
exten => 911,n,Macro(dialout-trunk,5,${EXTEN},,)
exten => 911,n,Macro(dialout-trunk,4,${EXTEN},,)
exten => 911,n,Macro(dialout-trunk,2,${EXTEN},,)
exten => 911,n,Macro(dialout-trunk,3,${EXTEN},,)
exten => 911,n,Macro(outisbusy,)
exten => 999,1,Macro(user-callerid,SKIPTTL,)
exten => 999,n,Set(_NODEST=)
exten => 999,n,Macro(record-enable,${AMPUSER},OUT,)
exten => 999,n,Macro(dialout-trunk,5,${EXTEN},,)
exten => 999,n,Macro(dialout-trunk,4,${EXTEN},,)
exten => 999,n,Macro(dialout-trunk,2,${EXTEN},,)
exten => 999,n,Macro(dialout-trunk,3,${EXTEN},,)
exten => 999,n,Macro(outisbusy,)

; end of [outrt-005-Emergency]

Question 3.

Considering the duration to dial out I want to add a "please wait while I connect your call" audio file so the caller will not think of a dead call and hang up. Where would I place this? The actual line of code would be helpful.
8 years 7 months ago #6746 by lisa.gao
Hi,For your question 1:You can configure context=from-pstn in extra-channels.conf, maybe it's easier.
Question 2:Asterisk will take time to execute your outbound select case. If possible, please paste the complete log till the called phone begin ringing.

Question 3:Sorry, can't play the voice and dial out simutaneously.

i] Last edited by lisa.gao at 2011-3-14 14:34 [/i

8 years 7 months ago #6749 by micpet
I will try this tomorrow.

Question 1

; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=12
;context=from-gsm
context=from-pstn
signalling = gsm
;pin=1234
channel => 5
context = default
group = 63

; Span 3: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=13
;context=from-gsm
context=from-pstn
signalling = gsm
;pin=1234
channel => 7
context = default
group = 63

Log for dial out Question 2

[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP RTP TOS bits 184
[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP RTP CoS mark 5
[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP VRTP TOS bits 136
[Mar 11 17:31:01] VERBOSE[4156] logger.c: == Using SIP VRTP CoS mark 6
[Mar 11 17:31:01] DEBUG[4146] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:1] Macro("SIP/201-000001dc", "user-callerid,SKIPTTL,") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/201-000001dc", "AMPUSER=201") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/201-000001dc", "0?report") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/201-000001dc", "1?Set(REALCALLERIDNUM=201)") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/201-000001dc", "AMPUSER=201") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/201-000001dc", "AMPUSERCIDNAME=Josephine Dublin") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/201-000001dc", "0?report") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/201-000001dc", "AMPUSERCID=201") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:8] Set("SIP/201-000001dc", "CALLERID(all)="Josephine Dublin" <201>") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/201-000001dc", "0?Set(CHANNEL(language)=)") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/201-000001dc", "1?continue") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Goto (macro-user-callerid,s,19)
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/201-000001dc", "Using CallerID "Josephine Dublin" <201>") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:2] Set("SIP/201-000001dc", "_NODEST=") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:3] Macro("SIP/201-000001dc", "record-enable,201,OUT,") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/201-000001dc", "1?check") in new stack
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Goto (macro-record-enable,s,4)
[Mar 11 17:31:01] VERBOSE[7302] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/201-000001dc", "recordingcheck,20110311-173101,1299879061.623") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Mar 11 17:31:02] VERBOSE[7302] logger.c: recordingcheck,20110311-173101,1299879061.623: Outbound recording not enabled
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- <SIP/201-000001dc>AGI Script recordingcheck completed, returning 0
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [92258402@from-internal:4] Macro("SIP/201-000001dc", "dialout-trunk,2,2258402,,") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/201-000001dc", "DIAL_TRUNK=2") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/201-000001dc", "0?sub-pincheck,s,1") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/201-000001dc", "0?disabletrunk,1") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/201-000001dc", "DIAL_NUMBER=2258402") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/201-000001dc", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/201-000001dc", "OUTBOUND_GROUP=OUT_2") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/201-000001dc", "0?nomax") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/201-000001dc", "0?chanfull") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/201-000001dc", "0?skipoutcid") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/201-000001dc", "DIAL_TRUNK_OPTIONS=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/201-000001dc", "outbound-callerid,2") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/201-000001dc", "0?Set(CALLERPRES()=)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/201-000001dc", "0?Set(REALCALLERIDNUM=201)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/201-000001dc", "1?normcid") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-outbound-callerid,s,6)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/201-000001dc", "USEROUTCID=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/201-000001dc", "EMERGENCYCID=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/201-000001dc", "TRUNKOUTCID="CHS" <7676162916>") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/201-000001dc", "1?trunkcid") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-outbound-callerid,s,12)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/201-000001dc", "1?Set(CALLERID(all)="CHS" <7676162916>)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/201-000001dc", "0?Set(CALLERID(all)=)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/201-000001dc", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/201-000001dc", "0?AGI(fixlocalprefix)") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/201-000001dc", "OUTNUM=2258402") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/201-000001dc", "custom=AMP") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/201-000001dc", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/201-000001dc", "dialout-trunk-predial-hook,") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/201-000001dc", "0?bypass,1") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/201-000001dc", "1?customtrunk") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-dialout-trunk,s,21)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:21] Set("SIP/201-000001dc", "pre_num=AMP:extra/5/") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:22] Set("SIP/201-000001dc", "the_num=OUTNUM") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:23] Set("SIP/201-000001dc", "post_num=") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/201-000001dc", "1?outnum:skipoutnum") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Goto (macro-dialout-trunk,s,25)
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:25] Set("SIP/201-000001dc", "the_num=2258402") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Executing [s@macro-dialout-trunk:26] Dial("SIP/201-000001dc", "extra/5/2258402,300,") in new stack
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Requested transfer capability: 0x00 - SPEECH
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- Called 5/2258402
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is proceeding passing it to SIP/201-000001dc
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is making progress passing it to SIP/201-000001dc
[Mar 11 17:31:02] VERBOSE[4157] logger.c: -- PROGRESS with cause code 0 received
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is making progress passing it to SIP/201-000001dc
[Mar 11 17:31:02] VERBOSE[7302] logger.c: -- EXTRA/5-1 is making progress passing it to SIP/201-000001dc
[Mar 11 17:31:15] VERBOSE[7302] logger.c: -- EXTRA/5-1 answered SIP/201-000001dc
[Mar 11 17:31:30] VERBOSE[4157] logger.c: -- Channel 1, span 2 got hangup, cause 16
[Mar 11 17:31:30] ERROR[4157] /usr/src/redhat/SOURCES/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_extra.c line 9311 (gsm_dchannel): mutex '&gsm->pvt->lock' freed more times than we've locked!
[Mar 11 17:31:30] ERROR[4157] /usr/src/redhat/SOURCES/asterisk16-1.6.0.26/include/asterisk/lock.h: chan_extra.c line 9311 (gsm_dchannel): Error releasing mutex: Operation not permitted
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/201-000001dc", "hangupcall,") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/201-000001dc", "1?skiprg") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,4)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/201-000001dc", "1?skipblkvm") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,7)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/201-000001dc", "1?theend") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,9)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/201-000001dc' in macro 'hangupcall'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/201-000001dc'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Hungup 'EXTRA/5-1'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-dialout-trunk, s, 26) exited non-zero on 'SIP/201-000001dc' in macro 'dialout-trunk'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (from-internal, 92258402, 4) exited non-zero on 'SIP/201-000001dc'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [h@from-internal:1] Macro("SIP/201-000001dc", "hangupcall") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/201-000001dc", "1?skiprg") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,4)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:4] GotoIf("SIP/201-000001dc", "1?skipblkvm") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,7)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:7] GotoIf("SIP/201-000001dc", "1?theend") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Goto (macro-hangupcall,s,9)
[Mar 11 17:31:30] VERBOSE[7302] logger.c: -- Executing [s@macro-hangupcall:9] Hangup("SIP/201-000001dc", "") in new stack
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/201-000001dc' in macro 'hangupcall'
[Mar 11 17:31:30] VERBOSE[7302] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/201-000001dc'
[Mar 11 17:31:30] DEBUG[4146] pbx.c: FONALITY: This thread has already held the conlock, skip locking

Question 3

Looking for something like
exten => s,n,playback(pls-wait-connect-call)

how and where would I place in the dial plan when dialing out?
in the audio file is 4 sec and the wait is 12 sec. will the wait appear to be 8 sec or 16 sec when the audio file is included?
8 years 7 months ago #6750 by lisa.gao
Hi,
If possible, would you please give us ssh to check the delay issue?
You can add my MSN: This email address is being protected from spambots. You need JavaScript enabled to view it. or G talk: This email address is being protected from spambots. You need JavaScript enabled to view it.
My email: This email address is being protected from spambots. You need JavaScript enabled to view it.

8 years 7 months ago #6751 by micpet
Due to setup ssh not possible. Any other alternative? What do I need to look for?
8 years 7 months ago #6754 by micpet
Replacing from-gsm with from-pstn on G400P

; Span 2: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" AMI/CCS
group=12
;context=from-gsm
context=from-pstn
signalling = gsm
;pin=1234
channel => 5
context = default
group = 63

this got over written when i ran dahdi_genconf so i did as.

[from-gsm]
include => from-pstn

Thanks
Time to create page: 0.027 seconds
Powered by Kunena Forum