Outbound PSTN calling

nranka
Posts: 7
Member Since:
2010-02-01

BACKGROUND
Am an absolute newbie to Trixbox and Linux for that matter. Read about trixbox, was excited - so ordered a card of ebay (A400E PCI-Express card, which the seller says is for Digium Asterix Trixbox) with 3 FXO ports and 1 FXS port.

Then I've downloaded the Trixbox ISP from theTrixbox.org website bearing version number 2.8.0.1

The installation seemed to run like a charm. I've set-up the box for testing within my corporate network and am testing it on an telephone line which is actually serving the extension in my cabin via a Panasonic EPBX. Please note that the dialtone of this extension is different from the traditional dialtone as provided be one of the service providers in India. The tone is short repeated "Teet-Teet" tones (hope that's clear).

Trixbox Extension to Trixbox extension calls work;
Incoming calls to my Panasonic EPBX Extension (which serves as the PSTN line into my trixbox) work with theTrixbox picking-up the calls and passing it to a voice recording that I've set

PROBLEM
Can't make outgoing calls via the EPBX extension. Basically what I'm trying to do is call another extension in my office - via a softphone installed on my PC - which is connected as an extension on my Trixbox. I know the softphone is connected as I set-up another one on a another computer and experimented to&fro calls between the softphones via trixbox and those worked. If the calls to other extension are successful, then I know I can take one of the many incoming PSTN lines (before they are plugged into the Panasonic EPBX) and plug them into the Trixbox to carry on my testing of making calls over the PSTN line into my office.

I've set-up a outboud route to handle all calls that start with 9|1[0-2]X (in the Dial Pattern) to pass the same to the Trunk Zap1. The trunk it self is set-up as follows:
General Settings:
Outbound Caller ID: (Nil)
Never Override CallerID: (Nil)
Maximum Channels: (Nil)
Disable Trunk: Unchecked
Monitor Trunk Failures: Disabled
Outgoing Dial Rules:
Dial Rules: (Nil)
Outbound Dial Prefix: w
Outgoing Settings:
Zap Identified (trunk name): 1

When I dial any number that meets the Dial Pattern (9|1[0-2]X) via the softphone it keeps ringing forever. However, when I dial any number that does NOT meet the dial pattern I get a message asking me to check the number I've dialed. So my guess is that my outboud route setting is correctly routing the correctly dialed numbers (i.e those matching the dial pattern) into the ZAP1 trunk. As based on the pattern, the 9 prefix should be stripped off before being passed to the ZAP1 trunk. NOT SURE WHY THE TRUNK (I.E ZAP1) IS NOT DIALING THE REST OF THE DIGITS AND CONNECTING TO ANOTHER PANASONIC EPBX EXTENSION WITHIN MY OFFICE?

I hope the above is sufficient data to help resolve the issue. I would've posted the relevant log - but am not sure which log is relevant here and where can I find it. Have tried to google for locating the log files for trixbox but to no success.



nranka
Posts: 7
Member Since:
2010-02-01
Full Log

Hi Guys, I'm not sure if this log will help - but having been thru the various log files, I found this to be a useful one. I found this log file call "full" under the /var/log/asterix

From my prima-facie inspection of the log file and based on my limited interpretation - it seems like that Asterix believes that the trunk 1 is dialing. There are entries in the log file showing DADHI ringing. If so, then I don't understand why my EPBX extension 1 is NOT ringing? To experiment further, I've connected a parallel line to the Panasonic EPBX extension that feeds into the Trixbox into the FXO port. Now while dialing from the softphone, I monitored the parallel line to hear the Trixbox dialing. Unfortunately, I can't hear any DTMF tones on the parallel lines - so am assuming that Trixbox is actually NOT dialing out of the line.

The log file:
_________________________________
[Feb 3 12:12:43] NOTICE[2559] chan_sip.c: Peer '7001' is now Reachable. (105ms / 2000ms)
[Feb 3 12:14:44] VERBOSE[2559] logger.c: == Using SIP RTP TOS bits 184
[Feb 3 12:14:44] VERBOSE[2559] logger.c: == Using SIP RTP CoS mark 5
[Feb 3 12:14:44] VERBOSE[2559] logger.c: == Using SIP VRTP TOS bits 136
[Feb 3 12:14:44] VERBOSE[2559] logger.c: == Using SIP VRTP CoS mark 6
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [9105@from-internal:1] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mSIP/$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [9105@from-internal:2] ^[[1;36;40mMacro^[[0;37;40m("^[[1;35;40mSI$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:1] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:2] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:3] ^[[1;36;40mExecIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:4] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:5] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:6] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:7] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:8] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:9] ^[[1;36;40mExecIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:10] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Goto (macro-user-callerid,s,19)
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-user-callerid:19] ^[[1;36;40mNoOp^[[0;37;40m("^[[1;35;40$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [9105@from-internal:3] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mSIP/$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [9105@from-internal:4] ^[[1;36;40mMacro^[[0;37;40m("^[[1;35;40mSI$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-record-enable:1] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Goto (macro-record-enable,s,4)
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-record-enable:4] ^[[1;36;40mAGI^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Feb 3 12:14:44] VERBOSE[3527] logger.c: recordingcheck,20100203-121444,1265179484.1: Outbound recording not enabled
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- AGI Script recordingcheck completed, returning 0
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-record-enable:5] ^[[1;36;40mMacroExit^[[0;37;40m("^[[1;3$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [9105@from-internal:5] ^[[1;36;40mMacro^[[0;37;40m("^[[1;35;40mSI$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:1] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:2] ^[[1;36;40mGosubIf^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:3] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:4] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:5] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:6] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:7] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Goto (macro-dialout-trunk,s,9)
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:9] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:10] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40m$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:11] ^[[1;36;40mMacro^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:1] ^[[1;36;40mExecIf^[[0;37;40m("^[[1;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:2] ^[[1;36;40mExecIf^[[0;37;40m("^[[1;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:3] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Goto (macro-outbound-callerid,s,6)
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:6] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:7] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:8] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:9] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Goto (macro-outbound-callerid,s,12)
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:12] ^[[1;36;40mExecIf^[[0;37;40m("^[[1$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:13] ^[[1;36;40mExecIf^[[0;37;40m("^[[1$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-outbound-callerid:14] ^[[1;36;40mExecIf^[[0;37;40m("^[[1$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:12] ^[[1;36;40mExecIf^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:13] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40m$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:14] ^[[1;36;40mSet^[[0;37;40m("^[[1;35;40m$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:15] ^[[1;36;40mExecIf^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:16] ^[[1;36;40mMacro^[[0;37;40m("^[[1;35;4$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] ^[[1;36;40mMacroExit^[[0;3$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:17] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:18] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Executing [s@macro-dialout-trunk:19] ^[[1;36;40mDial^[[0;37;40m("^[[1;35;40$
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- Called 1/w105
[Feb 3 12:14:44] VERBOSE[3527] logger.c: -- DAHDI/1-1 is ringing
[Feb 3 12:14:46] VERBOSE[3527] logger.c: -- DAHDI/1-1 is ringing
[Feb 3 12:14:52] VERBOSE[3527] logger.c: -- DAHDI/1-1 is ringing
[Feb 3 12:14:58] VERBOSE[3527] logger.c: -- DAHDI/1-1 is ringing
[Feb 3 12:15:04] VERBOSE[3527] logger.c: -- DAHDI/1-1 is ringing
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Hungup 'DAHDI/1-1'
[Feb 3 12:15:07] VERBOSE[3527] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/7001-090$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: == Spawn extension (from-internal, 9105, 5) exited non-zero on 'SIP/7001-090e6e7$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Executing [h@from-internal:1] ^[[1;36;40mMacro^[[0;37;40m("^[[1;35;40mSIP/7$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Executing [s@macro-hangupcall:1] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Goto (macro-hangupcall,s,4)
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Executing [s@macro-hangupcall:4] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Goto (macro-hangupcall,s,7)
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Executing [s@macro-hangupcall:7] ^[[1;36;40mGotoIf^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Goto (macro-hangupcall,s,9)
[Feb 3 12:15:07] VERBOSE[3527] logger.c: -- Executing [s@macro-hangupcall:9] ^[[1;36;40mHangup^[[0;37;40m("^[[1;35;40mS$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/7001-090e6e7$
[Feb 3 12:15:07] VERBOSE[3527] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/7001-090e6e70'



nranka
Posts: 7
Member Since:
2010-02-01
Greener Grass on the Other Side

Guys, have I incorrectly posted this issues in the wrong forum? Or have I not provided the relevant details or is the problem unclear? Not sure what the issue is - but my post does not seem to be attracting any response? It seems like "all other" posts are being responded to but mine ;) - the grass being greener on the other side issue :)



nranka
Posts: 7
Member Since:
2010-02-01
$100 - Too Expensive

Please please please guys - else I'm on the verge of shelling out USD 100 for the Fonality support. But at that rate my support costs may well exceed the price of a call center telephony system :) :)



nranka
Posts: 7
Member Since:
2010-02-01
Solved!

Strange - but the problem seems to be the Zap Identifier (Trunk Name). I had it set to 1 earlier. Now, I renamed that to "go" and BINGO!!. Any Explanations??



Comment viewing options

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