Question concerning setup of 4108 gateway

Brucekconvergent
Posts: 27
Member Since:
2008-09-24

I have a customer that I'm trying to setup a 4108 gateway for... I have gotten it to where I can "kind of" use it... I followed the directions as pointed out by others in the forum. The main problem I have is that when I dial a 9+ the number on a user's phone, I get dialtone, but the number is not dialed... I have to dial it again to make an outbound call.

Also, how can I force inbound calls on the trunks to route to a specific ringing group, etc. on the Trixbox?
l



dickson
Posts: 1831
Member Since:
2006-06-02
Change it to 1 stage dialing

Change it to 1 stage dialing instead of 2 stage (on the Grandstream)
Stage Method(1/2): ch1-8:1
That should fix the outbound problem

Inbound calls, on mine, i just forced all the calls to a standard ivr.
My settings under FXO LINES use the Unconditional Call Forward

7. Unconditional Call Forward to VOIP:
USERID = ch1-8:30501; (on that system, the inbound DID shows up as 30501 on asterisk)
SIP SERVER = ch1-8:192.168.1.5; (thats the IP of the Trixbox server)
DESTINATION PORT = ch1-8:5060;



Brucekconvergent
Posts: 27
Member Since:
2008-09-24
Dickson, that did the

Dickson, that did the trick... don't know how I missed that. The PDF I found on Grandstreams site didn't fully explain or document this... your instructions sure made it simple!

While I have you... what is up with the firmware updates? I downloaded a .10 (mine is running .8) package, unzipped it to a directory on my TFTP server... and (I thought I did it right) configured the Grandstream box to connect to the TFTP server, gave it the right directory, etc.... and whilst watching the TFTP logs, it looks like the unit is downloading the files at boot, but the version info never changes... Is there a "magic trick" for that?



dickson
Posts: 1831
Member Since:
2006-06-02
Awesome! Yea i had to go

Awesome! Yea i had to go through a bit of a Google hunt and trial and error to try and figure that process out myself.

Configure your http/tftp server
Turn off the device (power switch)
Push and hold the factory reset button then power on the 4108.
Release the factor reset button after couple of seconds and it now be downloading the firmware.
Wait for the update to completely.
(LED lights 1-8 should be ON when its writing the firmware)
Power cycle the device and it should be ready!



Brucekconvergent
Posts: 27
Member Since:
2008-09-24
So you have to do a factory

So you have to do a factory reset?



dickson
Posts: 1831
Member Since:
2006-06-02
Well, I couldn't get the

Well, I couldn't get the TFTP to go until i did the above steps. It was early on in the configuration of the unit so i didn't mind loosing my configs.



anchor85
Posts: 678
Member Since:
2006-06-07
Grandstream GXW-4104

I am trying to upgrade the firmware in a 4104 I have tried the reset button/ power cycle approach and it fails. The 4104 has the IP of my trixbox as its tftp server.

Here is an extract for the atftpd log for a normal reboot of the 4104, where the firmware update fails

atftpd[2987.-1208034416]: Serving boot64b.bin to 192.168.10.173:6682
atftpd[2987.-1208034416]: Serving gxw4100b.bin to 192.168.10.173:6683
atftpd[2987.-1208034416]: Serving load64b.bin to 192.168.10.173:6684

You can see that the 4104 has ....10.173 as its IP on my localnet

After the power cycle / reset button press the IP gets set to the 4104 default of .....0.160

And here is the log

atftpd[2987.-1208034416]: Serving boot64b.bin to 192.168.0.160:16838
atftpd[2987.-1218524272]: Serving boot64b.bin to 192.168.0.160:16838
atftpd[2987.-1208034416]: timeout: retrying...
atftpd[2987.-1218524272]: timeout: retrying...
atftpd[2987.-1208034416]: timeout: retrying...
atftpd[2987.-1229014128]: Invalid request <6> from 192.168.0.160
atftpd[2987.-1218524272]: timeout: retrying...
atftpd[2987.-1208034416]: timeout: retrying...

that just goes on for a while and then stops. If you turn the unit off and on again it picks up the .....10.173 ip address tries to d/l the firmware which fails. I can then login and find the firmware still at 1.0.1.8 and not the latest that I wanted.
Any thoughts? Thanks.

--

John
Cat24.net



Brucekconvergent
Posts: 27
Member Since:
2008-09-24
The same here...

The same here...



biquad
Posts: 37
Member Since:
2006-11-11
Solution?

I really don't know what's the matter with tftp and its atftpd implementation: what I do know is that it drove me beserk and that you generally find *nothing* on the 'net. The symptoms were very similar to what you just described (if I remember, I was also getting errors besides the timeouts).

So, as I have posted before, I had to boot win$**XP and run PumpKIN (a free tftp server from kin.klever.net/pumpkin/ ). That way I can upgrade all my stuff.

FTP must die. The sooner, the better.



anchor85
Posts: 678
Member Since:
2006-06-07
Upgrading Grandstream 4104 Gateway

I seem to have solved the problem of updating the 4104 firmware, at least for the one I bought. I like to use the atftp server on trixbox. The problem is that when you power up the 4104 (& presumably the 4108) with the reset button held in the device reverts to the default IP of 192.168.0.160. This is not my chosen subnet and for whatever reason the atftp server sees the initial requests & tries to send the files but because the subnets are different the upload to the 4104 fails. So your trixbox has to be on the 192.168.0.160 subnet as well as you own chosen localnet.

So my solution which seems neat is to setup an alias on eth0, this is a standard linux option. So I created eth0:0 here is the extract of ' ifconfig '

eth0:0 Link encap:Ethernet HWaddr 00:B0:D0:64:77:8B
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0

in /etc/sysconfig/network-scripts I created a file called ifcfg-eth0:0 with the following content

DEVICE=eth0:0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.101
NETMASK=255.255.255.0

make sure it has the same permissions as ifcfg-eth0. Make IPADDR an address on the 192.168.0.0 subnet. I picked 101 but the choice does not matter as long as it is valid for that subnet. Save the file and then issue the command:

' service network restart ' This reloads the network interfaces and pulls up eth0 with the new alias. The command ' route ' will show you that this new subnet that matches the 410x default is reached via eth0. Reboot the 410x with the reset button in and it should pull the files. My 4104 now shows

Software Version: Program-- 1.0.1.10 Loader-- 1.1.3.4 Boot-- 1.1.3.2

The program and loader have been updated to the latest rev. This seemed to work for me but YMMV

--

John
Cat24.net



hani_a
Posts: 2
Member Since:
2009-04-07
4108 drops outgoing calls

hi,

i'm using a new gxw 4108 with trixbox and a2billing. i can make
PSTN -> GXW Port 1 -> GXW Port 8 -> PSTN without any problem.
on the second call and beyond it goes half way and disconnects. you see the LED lights up for a few seconds then turns off and the outgoing call never reaches the callee.. can someone please help! I'm not sure if it has anything to do with it, but when i tried to upgrade the firmware one of the files constantly seems to fail while the other two are loaded w/o a problem.

hani a.



lapu
Posts: 12
Member Since:
2006-06-25
need help everytime i dial it returns the call to the extension

it does Dial the number , and then it dial the same extension i am calling on its a gxw-41-4 firmware Program-- 1.0.1.10 .

this is what show up on the CLI

-- Executing [7186082348@from-internal:1] Macro("SIP/300-b770a2a8", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/300-b770a2a8", "AMPUSER=300") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/300-b770a2a8", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/300-b770a2a8", "1|Set|REALCALLERIDNUM=300") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/300-b770a2a8", "AMPUSER=300") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/300-b770a2a8", "AMPUSERCIDNAME=David Casa") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/300-b770a2a8", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/300-b770a2a8", "AMPUSERCID=300") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/300-b770a2a8", "CALLERID(all)="David Casa" <300>") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/300-b770a2a8", "REALCALLERIDNUM=300") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/300-b770a2a8", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/300-b770a2a8", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/300-b770a2a8", "Using CallerID "David Casa" <300>") in new stack
-- Executing [7186082348@from-internal:2] Set("SIP/300-b770a2a8", "_NODEST=") in new stack
-- Executing [7186082348@from-internal:3] Macro("SIP/300-b770a2a8", "record-enable|300|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/300-b770a2a8", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/300-b770a2a8", "recordingcheck|20090603-092423|1244035463.64") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090603-092423|1244035463.64: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/300-b770a2a8", "") in new stack
-- Executing [7186082348@from-internal:4] Macro("SIP/300-b770a2a8", "dialout-trunk|2|7186082348||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/300-b770a2a8", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/300-b770a2a8", "0?sub-pincheck|s|1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/300-b770a2a8", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/300-b770a2a8", "DIAL_NUMBER=7186082348") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/300-b770a2a8", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/300-b770a2a8", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/300-b770a2a8", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/300-b770a2a8", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/300-b770a2a8", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/300-b770a2a8", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/300-b770a2a8", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/300-b770a2a8", "0|Set|REALCALLERIDNUM=300") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/300-b770a2a8", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/300-b770a2a8", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/300-b770a2a8", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/300-b770a2a8", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/300-b770a2a8", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/300-b770a2a8", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/300-b770a2a8", "0|Set|CALLERID(all)=") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/300-b770a2a8", "0|SetCallerPres|prohib_passed_screen") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/300-b770a2a8", "0|AGI|fixlocalprefix") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/300-b770a2a8", "OUTNUM=7186082348") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/300-b770a2a8", "custom=SIP/gxw_trunk") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/300-b770a2a8", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/300-b770a2a8", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/300-b770a2a8", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/300-b770a2a8", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/300-b770a2a8", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/300-b770a2a8", "SIP/gxw_trunk/7186082348|300|") in new stack
-- Called gxw_trunk/7186082348
-- SIP/gxw_trunk-0963a778 is ringing
-- SIP/gxw_trunk-0963a778 answered SIP/300-b770a2a8
-- Executing [816082348@from-trunk:1] NoOp("SIP/192.168.1.160-b7711400", "Catch-All DID Match - Found 816082348 - You probably want a DID for this.") in new stack
-- Executing [816082348@from-trunk:2] Goto("SIP/192.168.1.160-b7711400", "ext-did|s|1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("SIP/192.168.1.160-b7711400", "__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/192.168.1.160-b7711400", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/192.168.1.160-b7711400", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/192.168.1.160-b7711400", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/192.168.1.160-b7711400", "") in new stack
-- Executing [s@ext-did:3] ExecIf("SIP/192.168.1.160-b7711400", "1 |Set|CALLERID(name)=7186082348") in new stack
-- Executing [s@ext-did:4] Set("SIP/192.168.1.160-b7711400", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5] SetCallerPres("SIP/192.168.1.160-b7711400", "allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Goto("SIP/192.168.1.160-b7711400", "ext-group|200|1") in new stack
-- Goto (ext-group,200,1)
-- Executing [200@ext-group:1] Macro("SIP/192.168.1.160-b7711400", "user-callerid|") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/192.168.1.160-b7711400", "AMPUSER=7186082348") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/192.168.1.160-b7711400", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/192.168.1.160-b7711400", "1|Set|REALCALLERIDNUM=7186082348") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/192.168.1.160-b7711400", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/192.168.1.160-b7711400", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/192.168.1.160-b7711400", "1?report") in new stack
-- Goto (macro-user-callerid,s,11)
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/192.168.1.160-b7711400", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("SIP/192.168.1.160-b7711400", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/192.168.1.160-b7711400", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("SIP/192.168.1.160-b7711400", "Using CallerID "7186082348" <7186082348>") in new stack
-- Executing [200@ext-group:2] GotoIf("SIP/192.168.1.160-b7711400", "1?skipdb") in new stack
-- Goto (ext-group,200,4)
-- Executing [200@ext-group:4] Set("SIP/192.168.1.160-b7711400", "__NODEST=") in new stack
-- Executing [200@ext-group:5] Set("SIP/192.168.1.160-b7711400", "__BLKVM_OVERRIDE=BLKVM/200/SIP/192.168.1.160-b7711400") in new stack
-- Executing [200@ext-group:6] Set("SIP/192.168.1.160-b7711400", "__BLKVM_BASE=200") in new stack
-- Executing [200@ext-group:7] Set("SIP/192.168.1.160-b7711400", "DB(BLKVM/200/SIP/192.168.1.160-b7711400)=TRUE") in new stack
-- Executing [200@ext-group:8] Set("SIP/192.168.1.160-b7711400", "RRNODEST=") in new stack
-- Executing [200@ext-group:9] Set("SIP/192.168.1.160-b7711400", "__NODEST=200") in new stack
-- Executing [200@ext-group:10] Set("SIP/192.168.1.160-b7711400", "RecordMethod=Group") in new stack
-- Executing [200@ext-group:11] Macro("SIP/192.168.1.160-b7711400", "record-enable|300-301|Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/192.168.1.160-b7711400", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/192.168.1.160-b7711400", "recordingcheck|20090603-092433|1244035473.66") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("SIP/192.168.1.160-b7711400", "") in new stack
-- Executing [200@ext-group:12] Set("SIP/192.168.1.160-b7711400", "RingGroupMethod=ringall") in new stack
-- Executing [200@ext-group:13] Macro("SIP/192.168.1.160-b7711400", "dial|20|tr|300-301") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/192.168.1.160-b7711400", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/192.168.1.160-b7711400", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is '7186082348' number is '7186082348'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 300 to extension map
-- dialparties.agi: Added extension 301 to extension map
-- dialparties.agi: Extension 300 cf is disabled
-- dialparties.agi: Extension 301 cf is disabled
-- dialparties.agi: Extension 300 do not disturb is disabled
-- dialparties.agi: Extension 301 do not disturb is disabled
> dialparties.agi: extnum 300 has: cw: 1; hascfb: 0 [] hascfu: 0 []
-- dialparties.agi: dbset CALLTRACE/300 to 7186082348
> dialparties.agi: extnum 301 has: cw: 1; hascfb: 0 [] hascfu: 0 []
-- dialparties.agi: dbset CALLTRACE/301 to 7186082348
-- dialparties.agi: Filtered ARG3: 300-301
> dialparties.agi: NODEST: 200 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
> dialparties.agi: NODEST: 200 blkvm enabled macro already in dialopts: trM(auto-blkvm)
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/192.168.1.160-b7711400", "SIP/300&SIP/301|20|trM(auto-blkvm)") in new stack
-- Called 300
-- SIP/300-096dd358 is ringing

the even if you answer the extension you dont hear anything then the voice mail answers the call

hey any help

Thanks



romy_punzalan
Posts: 8
Member Since:
2009-04-06
PSTN cannot access Trixbox extension numbers

Hello;

I am new on trixbox and I am testing now Trixbox 2.6.2.2 with a Sangoma A104DE card connected to PSTN via mfcr2 (openR2 DAHDI). as of now, Trixbox can access PSTN Local numbers and can also make NDD calls. My problem is that PSTN can only access 1 Trixbox extension number (e.g. 2086000) when i create on the inbound route any DID/any CID and click the Extension (2086000) on the Set Destination field. The set extension number is the only 1 that PSTN can access even though PSTN is calling the other extension numbers (2086001, 2086002, 2086004). When i tried not to use any DID/any CID and create an individual inbound route for every extension and setting the DID the same as the extension number (e.g. extension 2086001, set DID as 2086001 also) and setting on the Set Destination field the same extension (2086001), PSTN cannot anymore access any extensions of the Trixbox. What I want is, if PSTN will dial any extension number, PSTN will be connected to dialled extension number directly. I hope my problem is understood clearly and hoping for any suggestions from experts.

Here is the log file i captured when pstn call trixbox; (individual Inbound Route) (user extension is 2086004 ; I set the DID as 2086004 also and on the set destination, extension 2086004)

== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.22.1 currently running on trixbox1 (pid = 9448)
Verbosity is at least 10
-- Executing [s@from-pstn:1] NoOp("DAHDI/34-1", "No DID or CID Match") in new stack
-- Executing [s@from-pstn:2] Answer("DAHDI/34-1", "") in new stack
-- Executing [s@from-pstn:3] Wait("DAHDI/34-1", "2") in new stack
-- Executing [s@from-pstn:4] Playback("DAHDI/34-1", "ss-noservice") in new stack
-- Playing 'ss-noservice' (language 'en')
-- Executing [s@from-pstn:5] SayAlpha("DAHDI/34-1", "") in new stack
-- Executing [s@from-pstn:6] Hangup("DAHDI/34-1", "") in new stack
== Spawn extension (from-pstn, s, 6) exited non-zero on 'DAHDI/34-1'
-- Executing [h@from-pstn:1] Hangup("DAHDI/34-1", "") in new stack
== Spawn extension (from-pstn, h, 1) exited non-zero on 'DAHDI/34-1'
-- Hungup 'DAHDI/34-1'
-- Executing [s@from-pstn:1] NoOp("DAHDI/3-1", "No DID or CID Match") in new stack
-- Executing [s@from-pstn:2] Answer("DAHDI/3-1", "") in new stack
-- Executing [s@from-pstn:3] Wait("DAHDI/3-1", "2") in new stack
-- Executing [s@from-pstn:4] Playback("DAHDI/3-1", "ss-noservice") in new stack
-- Playing 'ss-noservice' (language 'en')
-- Executing [s@from-pstn:5] SayAlpha("DAHDI/3-1", "") in new stack
-- Executing [s@from-pstn:6] Hangup("DAHDI/3-1", "") in new stack
== Spawn extension (from-pstn, s, 6) exited non-zero on 'DAHDI/3-1'
-- Executing [h@from-pstn:1] Hangup("DAHDI/3-1", "") in new stack
== Spawn extension (from-pstn, h, 1) exited non-zero on 'DAHDI/3-1'
-- Hungup 'DAHDI/3-1'

Here is the log file i captured when pstn call trixbox; (user extension is 2086004 ; I set the inbound route to Any DID / Any CID and on the destination, i set extension 2086004)

== Parsing '/etc/asterisk/asterisk.conf': Found
Connected to Asterisk 1.4.22.1 currently running on trixbox1 (pid = 26621)
Verbosity is at least 10
-- Executing [s@from-pstn:1] Set("DAHDI/35-1", "__FROM_DID=s") in new stack
-- Executing [s@from-pstn:2] Gosub("DAHDI/35-1", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("DAHDI/35-1", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("DAHDI/35-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/35-1", "") in new stack
-- Executing [s@from-pstn:3] ExecIf("DAHDI/35-1", "0 |Set|CALLERID(name)=2489494") in new stack
-- Executing [s@from-pstn:4] Set("DAHDI/35-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:5] SetCallerPres("DAHDI/35-1", "allowed_not_screened") in new stack
-- Executing [s@from-pstn:6] Goto("DAHDI/35-1", "from-did-direct|2086004|1") in new stack
-- Goto (from-did-direct,2086004,1)
-- Executing [2086004@from-did-direct:1] Macro("DAHDI/35-1", "exten-vm|2086004|2086004") in new stack
-- Executing [s@macro-exten-vm:1] Macro("DAHDI/35-1", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("DAHDI/35-1", "AMPUSER=2489494") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/35-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/35-1", "1|Set|REALCALLERIDNUM=2489494") in new stack
-- Executing [s@macro-user-callerid:4] Set("DAHDI/35-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/35-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/35-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,11)
-- Executing [s@macro-user-callerid:11] GotoIf("DAHDI/35-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("DAHDI/35-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("DAHDI/35-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,20)
-- Executing [s@macro-user-callerid:20] NoOp("DAHDI/35-1", "Using CallerID "2489494" <2489494>") in new stack
-- Executing [s@macro-exten-vm:2] Set("DAHDI/35-1", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("DAHDI/35-1", "VMBOX=2086004") in new stack
-- Executing [s@macro-exten-vm:4] Set("DAHDI/35-1", "EXTTOCALL=2086004") in new stack
-- Executing [s@macro-exten-vm:5] Set("DAHDI/35-1", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("DAHDI/35-1", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("DAHDI/35-1", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("DAHDI/35-1", "record-enable|2086004|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("DAHDI/35-1", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("DAHDI/35-1", "recordingcheck|20090609-142501|1244528701.21") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090609-142501|1244528701.21: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("DAHDI/35-1", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("DAHDI/35-1", "dial|15|tr|2086004") in new stack
-- Executing [s@macro-dial:1] GotoIf("DAHDI/35-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("DAHDI/35-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is '2489494' number is '2489494'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 2086004 to extension map
> dialparties.agi: Extension 2086004 has call screening off
-- dialparties.agi: Extension 2086004 cf is disabled
-- dialparties.agi: Extension 2086004 do not disturb is disabled
> dialparties.agi: extnum 2086004 has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 2086004 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 2086004
-- dialparties.agi: dbset CALLTRACE/2086004 to 2489494
-- dialparties.agi: Filtered ARG3: 2086004
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("DAHDI/35-1", "SIP/2086004|15|tr") in new stack
-- Called 2086004
-- SIP/2086004-084d9be0 is ringing
-- SIP/2086004-084d9be0 answered DAHDI/35-1
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/35-1' in macro'dial'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/35-1' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/35-1'
-- Executing [h@macro-dial:1] Macro("DAHDI/35-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("DAHDI/35-1", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("DAHDI/35-1", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("DAHDI/35-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("DAHDI/35-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("DAHDI/35-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("DAHDI/35-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'DAHDI/35-1' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'DAHDI/35-1'
-- Hungup 'DAHDI/35-1'
trixbox1*CLI>

Any help will be highly appreciated.

Thank you very much & Regards.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.