<div>From your first message, it sounds like you're doing some sort of one to one mapping. But, from this message, it appears you are using FreePBX. You may have to post your FreePBX configuration on the FreePBX list or forum.
</div>
<div> </div>
<div>I'm sure it is something relatively simple, but in my experience FreePBX has only complicated things for me. You could try posting the relevant sip.conf, and whatever extensions file that FreePBX writes its database output to (can't remember offhand, and honestly don't want to anymore).
<br><br> </div>
<div><span class="gmail_quote">On 7/14/06, <b class="gmail_sendername">Mike Staver</b> <<a href="mailto:staver@fimble.com">staver@fimble.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Ok, so I'm still stuck on this one. I'm not sure what exactly I should<br>be looking for in the output, but here's a snippet that is relevant I think:
<br><br>---<br> -- SIP/LW3086-09e6 is circuit-busy<br> == Everyone is busy/congested at this time (1:0/1/0)<br> -- Executing Goto("SIP/518-1acd", "s-CONGESTION|1") in new stack<br> -- Goto (macro-dialout-trunk,s-CONGESTION,1)
<br> -- Executing NoOp("SIP/518-1acd", "Dial failed due to CONGESTION")<br>in new stack<br> -- Executing Macro("SIP/518-1acd", "dialout-trunk|22|3038943818||")<br>in new stack
<br> -- Executing GotoIf("SIP/518-1acd", "1?3:2") in new stack<br> -- Goto (macro-dialout-trunk,s,3)<br> -- Executing Macro("SIP/518-1acd", "user-callerid") in new stack<br>
-- Executing GotoIf("SIP/518-1acd", "0?report") in new stack<br> -- Executing GotoIf("SIP/518-1acd", "1?start") in new stack<br> -- Goto (macro-user-callerid,s,4)<br> -- Executing NoOp("SIP/518-1acd", "REALCALLERIDNUM is 518") in new
<br>stack<br> -- Executing Set("SIP/518-1acd", "AMPUSER=518") in new stack<br> -- Executing Set("SIP/518-1acd", "AMPUSERCIDNAME=Mike Staver") in<br>new stack<br> -- Executing GotoIf("SIP/518-1acd", "0?report") in new stack
<br> -- Executing Set("SIP/518-1acd", "CALLERID(all)=Mike Staver <518>")<br>in new stack<br> -- Executing NoOp("SIP/518-1acd", "Using CallerID "Mike Staver"<br><518>") in new stack
<br> -- Executing Macro("SIP/518-1acd", "record-enable|518|OUT") in new<br>stack<br> -- Executing GotoIf("SIP/518-1acd", "0 > 0?2:4") in new stack<br> -- Goto (macro-record-enable,s,4)
<br> -- Executing AGI("SIP/518-1acd",<br>"recordingcheck|20060714-135108|1152906666.9581") in new stack<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br> recordingcheck|20060714-135108|1152906666.9581: Outbound recording
<br>not enabled<br> -- AGI Script recordingcheck completed, returning 0<br> -- Executing NoOp("SIP/518-1acd", "No recording needed") in new stack<br> -- Executing Macro("SIP/518-1acd", "outbound-callerid|22") in new stack
<br> -- Executing GotoIf("SIP/518-1acd", "1?start") in new stack<br> -- Goto (macro-outbound-callerid,s,3)<br> -- Executing NoOp("SIP/518-1acd", "REALCALLERIDNUM is 518") in new
<br>stack<br> -- Executing Set("SIP/518-1acd", "USEROUTCID=Michael Staver<br><303-894-3818>") in new stack<br> -- Executing Set("SIP/518-1acd", "EMERGENCYCID=") in new stack
<br> -- Executing Set("SIP/518-1acd", "TRUNKOUTCID=") in new stack<br> -- Executing GotoIf("SIP/518-1acd", "1?trunkcid") in new stack<br> -- Goto (macro-outbound-callerid,s,11)
<br> -- Executing GotoIf("SIP/518-1acd", "1?usercid") in new stack<br> -- Goto (macro-outbound-callerid,s,13)<br> -- Executing GotoIf("SIP/518-1acd", "0?report") in new stack
<br> -- Executing Set("SIP/518-1acd", "CALLERID(all)=Michael Staver<br><303-894-3818>") in new stack<br> -- Executing NoOp("SIP/518-1acd", "CallerID set to "Michael Staver"
<br><3038943818>") in new stack<br> -- Executing Set("SIP/518-1acd", "GROUP()=OUT_22") in new stack<br> -- Executing GotoIf("SIP/518-1acd", "0?108") in new stack<br>
-- Executing Set("SIP/518-1acd", "DIAL_NUMBER=3038943818") in new stack<br> -- Executing Set("SIP/518-1acd", "DIAL_TRUNK=22") in new stack<br> -- Executing AGI("SIP/518-1acd", "fixlocalprefix") in new stack
<br> -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br> -- AGI Script fixlocalprefix completed, returning 0<br> -- Executing Set("SIP/518-1acd", "OUTNUM=3038943818") in new stack
<br> -- Executing Set("SIP/518-1acd", "custom=SIP/LW0054") in new stack<br> -- Executing GotoIf("SIP/518-1acd", "0?16") in new stack<br> -- Executing Dial("SIP/518-1acd", "SIP/LW0054/3038943818|120|r") in
<br>new stack<br> -- Called LW0054/3038943818<br>Transmitting (no NAT) to <a href="http://10.0.0.121:5060">10.0.0.121:5060</a>:<br>SIP/2.0 180 Ringing<br>Via: SIP/2.0/UDP<br><a href="http://10.0.0.121">10.0.0.121</a>;branch=z9hG4bKabdafff5314CEDCA;received=
<a href="http://10.0.0.121">10.0.0.121</a><br>From: "Mike Staver"<br><<a href="mailto:sip:518@token.globaltaxnetwork.com">sip:518@token.globaltaxnetwork.com</a>>;tag=7B8310C8-DE20AB03<br>To: <<a href="mailto:sip:83038943818@token.globaltaxnetwork.com">
sip:83038943818@token.globaltaxnetwork.com</a>;user=phone>;tag=as665b07ac<br>Call-ID: <a href="mailto:6abbb3a4-55570366-b333a8b1@10.0.0.121">6abbb3a4-55570366-b333a8b1@10.0.0.121</a><br>CSeq: 2 INVITE<br>User-Agent: Asterisk PBX
<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>Contact: <<a href="mailto:sip:83038943818@10.0.0.12">sip:83038943818@10.0.0.12</a>><br>Content-Length: 0<br><br>---<br> -- SIP/LW0054-c1d8 is circuit-busy
<br> == Everyone is busy/congested at this time (1:0/1/0)<br> -- Executing Goto("SIP/518-1acd", "s-CONGESTION|1") in new stack<br> -- Goto (macro-dialout-trunk,s-CONGESTION,1)<br> -- Executing NoOp("SIP/518-1acd", "Dial failed due to CONGESTION")
<br>in new stack<br> -- Executing Macro("SIP/518-1acd", "outisbusy|") in new stack<br> -- Executing Playback("SIP/518-1acd", "all-circuits-busy-now") in<br>new stack<br>We're at
<a href="http://10.0.0.12">10.0.0.12</a> port 16460<br>Adding codec 0x4 (ulaw) to SDP<br>Adding codec 0x8 (alaw) to SDP<br>Adding non-codec 0x1 (telephone-event) to SDP<br>Reliably Transmitting (no NAT) to <a href="http://10.0.0.121:5060">
10.0.0.121:5060</a>:<br>SIP/2.0 200 OK<br>Via: SIP/2.0/UDP<br><a href="http://10.0.0.121">10.0.0.121</a>;branch=z9hG4bKabdafff5314CEDCA;received=<a href="http://10.0.0.121">10.0.0.121</a><br>From: "Mike Staver" <
<a href="mailto:sip:518@10.0.0.12">sip:518@10.0.0.12</a>>;tag=7B8310C8-DE20AB03<br>To: <<a href="mailto:sip:83038943818@10.0.0.12">sip:83038943818@10.0.0.12</a>;user=phone>;tag=as665b07ac<br>Call-ID: <a href="mailto:6abbb3a4-55570366-b333a8b1@10.0.0.121">
6abbb3a4-55570366-b333a8b1@10.0.0.121</a><br>CSeq: 2 INVITE<br>User-Agent: Asterisk PBX<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>Contact: <<a href="mailto:sip:83038943818@10.0.0.12">sip:83038943818@10.0.0.12
</a>><br>Content-Type: application/sdp<br>Content-Length: 232<br><br>v=0<br>o=root 3042 3042 IN IP4 <a href="http://10.0.0.12">10.0.0.12</a><br>s=session<br>c=IN IP4 <a href="http://10.0.0.12">10.0.0.12</a><br>t=0 0<br>
m=audio 16460 RTP/AVP 0 8 101<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=silenceSupp:off - - - -<br><br>---<br> -- Playing 'all-circuits-busy-now' (language 'en')
<br>asterisk1*CLI><br><-- SIP read from <a href="http://10.0.0.121:5060">10.0.0.121:5060</a>:<br>ACK <a href="mailto:sip:83038943818@10.0.0.12">sip:83038943818@10.0.0.12</a> SIP/2.0<br>Via: SIP/2.0/UDP <a href="http://10.0.0.121">
10.0.0.121</a>;branch=z9hG4bKc3197eaeB793628B<br>From: "Mike Staver" <<a href="mailto:sip:518@10.0.0.12">sip:518@10.0.0.12</a>>;tag=7B8310C8-DE20AB03<br>To: <<a href="mailto:sip:83038943818@10.0.0.12">sip:83038943818@10.0.0.12
</a>;user=phone>;tag=as665b07ac<br>CSeq: 2 ACK<br>Call-ID: <a href="mailto:6abbb3a4-55570366-b333a8b1@10.0.0.121">6abbb3a4-55570366-b333a8b1@10.0.0.121</a><br>Contact: <<a href="mailto:sip:518@10.0.0.121">sip:518@10.0.0.121
</a>><br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE,<br>NOTIFY, PRACK, UPDATE, REFER<br>User-Agent: PolycomSoundPointIP-SPIP_501-UA/1.6.6.0036<br>Proxy-Authorization: Digest username="518", realm="asterisk",
<br>nonce="2f91440c", uri="sip:83038943818@10.0.0.12:5060;user=phone",<br>response="ae6b67e078bbd47433af49559828c0ca", algorithm=MD5<br>Max-Forwards: 70<br>Content-Length: 0<br><br>--- (12 headers 0 lines)---
<br> -- Executing Playback("SIP/518-1acd", "pls-try-call-later") in new<br>stack<br> -- Playing 'pls-try-call-later' (language 'en')<br> -- Executing Macro("SIP/518-1acd", "hangupcall") in new stack
<br> -- Executing ResetCDR("SIP/518-1acd", "w") in new stack<br> -- Executing NoCDR("SIP/518-1acd", "") in new stack<br> -- Executing Wait("SIP/518-1acd", "5") in new stack
<br>asterisk1*CLI><br><br><br><br>Basically, what happens in that I have an outbound route with a bunch of<br>trunks in it. For whatever reason, let's say I have 5 extensions online<br>in my office. Then let's say I have only 3 outgoing trunks set up.
<br>Even though nobody is on the phone and I have 3 trunks wide open -<br>asterisk only allows the first 3 phones to register with the server to<br>call out. The other 2 get this busy message. How can I fix this?<br>Ideally, I'd like to have more extensions than outgoing trunks for
<br>obvious reasons.<br><br>Jerry Jones wrote:<br>> asterisk -r<br>> set verbose 3<br>><br>> On Jun 28, 2006, at 3:23 PM, Mike Staver wrote:<br>><br>>> Yes, I have more than one call per line enabled on the phone itself.
<br>>> I have a value of 3 entered there, and that should be sufficient I<br>>> would think. So, the message I'm getting is coming from Asterisk.<br>>> How do I see what the console is saying?<br>>>
<br>>> Jerry Jones wrote:<br>>>> Do you have more than one call per line enabled on the Poly? Is it<br>>>> the phone or asterisk returning the busy? What does the console say?<br>>>> On Jun 27, 2006, at 5:29 PM, Mike Staver wrote:
<br>>>>> I have one extension setup for each Polycom 501 I have, and when I<br>>>>> try to call out on a conference call, I get "all circuits busy" for<br>>>>> the second call. I have one sip trunk set up for each DID that I
<br>>>>> have through our VoIP provider. Each trunk is capable of having one<br>>>>> call placed on it at one time. So, I'm thinking I need a way to<br>>>>> tell Asterisk to have the second call go out on one of the other
<br>>>>> empty trunks at the time if one exists, which more than likely, it<br>>>>> will. Is this possible?<br>>>>> -- -Mike Staver<br>>>>>
<a href="mailto:staver@fimble.com">staver@fimble.com</a><br>>>>> <a href="mailto:mstaver@globaltaxnetwork.com">mstaver@globaltaxnetwork.com</a><br>>>>> _______________________________________________
<br>>>>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>>>>><br>>>>> Asterisk-Users mailing list<br>>>>> To UNSUBSCRIBE or update options visit:
<br>>>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>>>> _______________________________________________<br>>>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>>>> Asterisk-Users mailing list<br>>>> To UNSUBSCRIBE or update options visit:<br>>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>>><br>>> --<br>>> -Mike Staver<br>>> <a href="mailto:staver@fimble.com">
staver@fimble.com</a><br>>> <a href="mailto:mstaver@globaltaxnetwork.com">mstaver@globaltaxnetwork.com</a><br>>> _______________________________________________<br>>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>>><br>>> Asterisk-Users mailing list<br>>> To UNSUBSCRIBE or update options visit:<br>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>
><br>> Asterisk-Users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
<br><br>--<br><br> -Mike Staver<br> <a href="mailto:staver@fimble.com">staver@fimble.com</a><br> <a href="mailto:mstaver@globaltaxnetwork.com">
mstaver@globaltaxnetwork.com</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Lacy Moore<br>Aspendora, Inc.