I have a linejack and a phone jack in my asterisk server working well between the SIP phones and the phonejack. what I cannot get to work is the outbound linejack Phone/phone0 trunk line? how can I get a SIP or Phone/phone1 phonejack phone to dial 9 then outside number and pickup Phone/phone0 and dial it? right now it accepts a 95551212 but busy's on the last digit 2. no outside dial. would the sip debug help? ill post if you need Thanks Dave Packham I have this in my extensions.conf and have tried both of the below options TRUNK=Phone/phone0 ;[trunkld] ; ; Long distance context accessed through trunk ; ;exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:1}) ;exten => _91NXXNXXXXXX,2,Congestion [trunklocal] ; ; Local seven-digit dialing accessed through trunk interface ; exten => _9NXXXXXX,1,StripMSD,1 exten => _NXXXXXX,1,Dial,Phone/phone0/BYEXTENSION [local] ; ; Master context for local, toll-free, and iaxtel calls only ; ignorepat => 9 include => default include => trunklocal include => local
On Friday 21 March 2003 22:55, Dave Packham wrote:> I have a linejack and a phone jack in my asterisk server > working well between the SIP phones and the phonejack. what I > cannot get to work is the outbound linejack Phone/phone0 trunk > line? how can I get a SIP or Phone/phone1 phonejack phone to > dial 9 then outside number and pickup Phone/phone0 and dial > it? right now it accepts a 95551212 but busy's on the last > digit 2. no outside dial. would the sip debug help? ill post > if you need > > Thanks > Dave Packham > > I have this in my extensions.conf > and have tried both of the below options---snip---> [trunklocal] > > ; > > ; Local seven-digit dialing accessed through trunk interface > > ; > > exten => _9NXXXXXX,1,StripMSD,1 > > exten => _NXXXXXX,1,Dial,Phone/phone0/BYEXTENSIONHere's your problem: you've defined an initial priority to stripMSD, but no secondary priority for the stripped number (btw, BYEXTENSION is now deprecated): exten => _9NXXNXXX,1,StripMSD,1 exten => _NXXNXXX,2,Dial,Phone/phone0/${EXTEN} -Tilghman
Does asterisk work now with the linejack in terms of both incoming and outgoing calls? That would be sweet, but I thought it was only one direction or the other, and so I gave up on the idea of using mine. ?? Thx. B.
On Saturday 22 March 2003 12:11, Brian Capouch wrote:> Does asterisk work now with the linejack in terms of both > incoming and outgoing calls? > > That would be sweet, but I thought it was only one direction > or the other, and so I gave up on the idea of using mine.AFAIK, it has always worked for both incoming and outgoing calls. What it canNOT do is to provide both an FXO (line) as well as an FXS (station) interface at the same time. In other words, it provides a single channel which can be provisioned as an FXO or an FXS at any single time, reprovisioning the interface would require a configuration file change and a restart of asterisk, and reprovisioning cannot happen dynamically within the call plan. -Tilghman
What is the maximum capacity of simultaneous users an asterisk box can handle at 1 Ghz? 2Ghz? 3 Ghz? Shido ----- Original Message ----- From: "Brian Capouch" <brianc@palaver.net> To: <asterisk-users@lists.digium.com> Sent: Saturday, March 22, 2003 1:11 PM Subject: Re: [Asterisk-Users] Help with linejack as a trunk?> Does asterisk work now with the linejack in terms of both incoming and > outgoing calls? > > That would be sweet, but I thought it was only one direction or the > other, and so I gave up on the idea of using mine. > > ?? > > Thx. > > B. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
I made this change and I still get a busy when I hit the 6th number of a 7 digit dial +9 for the outside line? any thoughts? I do have the phone0 defined as inbound too? even if I undefine that i still have problems. what files do you need to see for this problem? ill include the ext.conf and phone.conf with this email. Thanks again Dave>>> tilghman@mail.jeffandtilghman.com 3/22/2003 9:35:45 AM >>>On Friday 21 March 2003 22:55, Dave Packham wrote:> I have a linejack and a phone jack in my asterisk server > working well between the SIP phones and the phonejack. what I > cannot get to work is the outbound linejack Phone/phone0 trunk > line? how can I get a SIP or Phone/phone1 phonejack phone to > dial 9 then outside number and pickup Phone/phone0 and dial > it? right now it accepts a 95551212 but busy's on the last > digit 2. no outside dial. would the sip debug help? ill post > if you need > > Thanks > Dave Packham > > I have this in my extensions.conf > and have tried both of the below options---snip---> [trunklocal] > > ; > > ; Local seven-digit dialing accessed through trunk interface > > ; > > exten => _9NXXXXXX,1,StripMSD,1 > > exten => _NXXXXXX,1,Dial,Phone/phone0/BYEXTENSIONHere's your problem: you've defined an initial priority to stripMSD, but no secondary priority for the stripped number (btw, BYEXTENSION is now deprecated): exten => _9NXXNXXX,1,StripMSD,1 exten => _NXXNXXX,2,Dial,Phone/phone0/${EXTEN} -Tilghman _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- A non-text attachment was scrubbed... Name: extensions.conf Type: application/octet-stream Size: 6504 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030324/9cad4c19/extensions.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: phone.conf Type: application/octet-stream Size: 1436 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030324/9cad4c19/phone.obj
...> I still get a busy when I hit the 6th number of > a > 7 digit dial +9 for the outside line? any thoughts? I do have the > phone0 defined as inbound too? even if I undefine that i still have > problems..... There was a mistake in the following. The second 'N' should have been an 'x' since N is a number from 2 to 9 and X is a number from 0 to 9. exten => _9NXXNXXX,1,StripMSD,1 exten => _NXXNXXX,2,Dial,Phone/p should be exten => _9NXXXXXX,1,StripMSD,1 exten => _NXXXXXX,2,Dial,Phone/p Or another possibility, is that there needs to be some waits while dialing. For dialing through our existing PBX we needed to add waits after dialing the 9. Depending on your PBX, you may also need waits ('w'). If so in your extensions.conf you need something like: [outgoingOldPBX] exten => _9Nxxxxxx,1,StripMSB,1 exten => _Nxxxxxx,2,Prefix,9ww exten => _9wwNxxxxxx,3,Dial,ZAP/g2/${EXTEN} exten => _91NxxNxxxxxx,1,StripMSB,1 exten => _1NxxNxxxxxx,2,Prefix,9ww exten => _9ww1NxxNxxxxxx,3,Dial,Zap/g2/${EXTEN} Don Pobanz
ok I changed that but I still get a busy after the 6 digit. if dialing "95551212" I get a busy on the last "1" and not after the last "2" Thanks again :) Dave>>> dpobanz@hastingsutilities.com 3/24/2003 12:45:35 PM >>>...> I still get a busy when I hit the 6th number of > a > 7 digit dial +9 for the outside line? any thoughts? I do have the > phone0 defined as inbound too? even if I undefine that i still have > problems..... There was a mistake in the following. The second 'N' should have been an 'x' since N is a number from 2 to 9 and X is a number from 0 to 9. exten => _9NXXNXXX,1,StripMSD,1 exten => _NXXNXXX,2,Dial,Phone/p should be exten => _9NXXXXXX,1,StripMSD,1 exten => _NXXXXXX,2,Dial,Phone/p Or another possibility, is that there needs to be some waits while dialing. For dialing through our existing PBX we needed to add waits after dialing the 9. Depending on your PBX, you may also need waits ('w'). If so in your extensions.conf you need something like: [outgoingOldPBX] exten => _9Nxxxxxx,1,StripMSB,1 exten => _Nxxxxxx,2,Prefix,9ww exten => _9wwNxxxxxx,3,Dial,ZAP/g2/${EXTEN} exten => _91NxxNxxxxxx,1,StripMSB,1 exten => _1NxxNxxxxxx,2,Prefix,9ww exten => _9ww1NxxNxxxxxx,3,Dial,Zap/g2/${EXTEN} Don Pobanz _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Dave, did you ever figure out why the last digit was dropping? I am having the same problem right now even with the fixes suggested to you.. I am trying to add the following to my extensions.conf: exten => _1650XXXXXXX,1,Dial,Zap/1/${EXTEN} with debug on for the Zap/2-1 line (the developer's kit) I see all digits dialed but the last. -- John