<div dir="ltr">Hi Rajnikant,<br><br>Foe making outdial we are using VoIP trunk which is working fine. But for taking incoming calls in routing to any defined extension we are using DID.<br><br>So for DID incoming we dial DID from out Cisco 79XX then call come to server after routed by DID provider to our server. Then our server get the calls and then dial SIP extension from here. But we didn&#39;t get any voice or IVR option&#39;s just like Press 1 for this...2 for that....<br>
And extension is also not ring after all...... I am using Elastix for routing calls .....But I also test with asterisk dialplan too....<br><br><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td class="fb-msgview-right">
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td colspan="2" valign="top"><div class="msgtext">CLI Output s blow:-<br>
\<br>
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(&quot;SIP/wwisp1-000032a0&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:17] GotoIf(&quot;SIP/wwisp1-000032a0&quot;, &quot;0?bypass,1&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:18] GotoIf(&quot;SIP/wwisp1-000032a0&quot;, &quot;0?customtrunk&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:19] Dial(&quot;SIP/wwisp1-000032a0&quot;, &quot;SIP/wwisp1/13343757789,300,wW&quot;) in new stack<br>
  == Using SIP RTP TOS bits 184<br>
  == Using SIP RTP CoS mark 5<br>
    -- Called wwisp1/13343757789<br>
    -- Got SIP response 482 &quot;Loop Detected&quot; back from 69.26.183.13<br>
    -- Now forwarding SIP/wwisp1-0000329e to &#39;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1&#39; (thanks to SIP/wwisp1-0000329f)<br>
    -- Executing [13343757789@from-trunk-sip-wwisp1:1] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;GROUP()=OUT_2&quot;) in new stack<br>
    -- Executing [13343757789@from-trunk-sip-wwisp1:2] Goto(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;from-trunk,13343757789,1&quot;) in new stack<br>

    -- Goto (from-trunk,13343757789,1)<br>
    -- Executing [13343757789@from-trunk:1] NoOp(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;Catch-All DID Match - Found 13343757789 - You probably want a DID for this.&quot;) in new stack<br>

    -- Executing [13343757789@from-trunk:2] Goto(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;ext-did,s,1&quot;) in new stack<br>
    -- Goto (ext-did,s,1)<br>
    -- Executing [s@ext-did:1] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;__FROM_DID=s&quot;) in new stack<br>
    -- Executing [s@ext-did:2] Gosub(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;app-blacklist-check,s,1&quot;) in new stack<br>
    -- Executing [s@app-blacklist-check:1] GotoIf(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;0?blacklisted&quot;) in new stack<br>
    -- Executing [s@app-blacklist-check:2] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;CALLED_BLACKLIST=1&quot;) in new stack<br>
    -- Executing [s@app-blacklist-check:3] Return(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@ext-did:3] ExecIf(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;0 ?Set(CALLERID(name)=1810217338)&quot;) in new stack<br>
    -- Executing [s@ext-did:4] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;__CALLINGPRES_SV=allowed_not_screened&quot;) in new stack<br>
    -- Executing [s@ext-did:5] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;CALLERPRES()=allowed_not_screened&quot;) in new stack<br>
    -- Executing [s@ext-did:6] Goto(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;ivr-16,s,1&quot;) in new stack<br>
    -- Goto (ivr-16,s,1)<br>
    -- Executing [s@ivr-16:1] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;MSG=custom/Auto-Attendant&quot;) in new stack<br>
    -- Executing [s@ivr-16:2] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;LOOPCOUNT=0&quot;) in new stack<br>
    -- Executing [s@ivr-16:3] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;__DIR-CONTEXT=&quot;) in new stack<br>
    -- Executing [s@ivr-16:4] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;_IVR_CONTEXT_ivr-16=&quot;) in new stack<br>
    -- Executing [s@ivr-16:5] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;_IVR_CONTEXT=ivr-16&quot;) in new stack<br>
    -- Executing [s@ivr-16:6] GotoIf(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;0?begin&quot;) in new stack<br>
    -- Executing [s@ivr-16:7] Answer(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;&quot;) in new stack<br>
    -- Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;1 answered SIP/wwisp1-0000329e<br>
    -- Executing [s@ivr-16:8] Wait(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-a42e;2&quot;, &quot;1&quot;) in new stack<br>
    -- Got SIP response 482 &quot;Loop Detected&quot; back from 69.26.183.13<br>
    -- Now forwarding SIP/wwisp1-000032a0 to &#39;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1&#39; (thanks to SIP/wwisp1-000032a1)<br>
    -- Executing [13343757789@from-trunk-sip-wwisp1:1] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;GROUP()=OUT_2&quot;) in new stack<br>

    -- Executing [13343757789@from-trunk-sip-wwisp1:2] Goto(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;from-trunk,13343757789,1&quot;) in new stack<br>

    -- Goto (from-trunk,13343757789,1)<br>
    -- Executing [13343757789@from-trunk:1] NoOp(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;Catch-All DID Match - Found 13343757789 - You probably want a DID for this.&quot;) in new stack<br>

    -- Executing [13343757789@from-trunk:2] Goto(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;ext-did,s,1&quot;) in new stack<br>
    -- Goto (ext-did,s,1)<br>
    -- Executing [s@ext-did:1] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;__FROM_DID=s&quot;) in new stack<br>
    -- Executing [s@ext-did:2] Gosub(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;app-blacklist-check,s,1&quot;) in new stack<br>
    -- Executing [s@app-blacklist-check:1] GotoIf(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;0?blacklisted&quot;) in new stack<br>
    -- Executing [s@app-blacklist-check:2] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;CALLED_BLACKLIST=1&quot;) in new stack<br>
    -- Executing [s@app-blacklist-check:3] Return(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@ext-did:3] ExecIf(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;0 ?Set(CALLERID(name)=1810217338)&quot;) in new stack<br>

    -- Executing [s@ext-did:4] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;__CALLINGPRES_SV=allowed_not_screened&quot;) in new stack<br>

    -- Executing [s@ext-did:5] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;CALLERPRES()=allowed_not_screened&quot;) in new stack<br>
    -- Executing [s@ext-did:6] Goto(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;ivr-16,s,1&quot;) in new stack<br>
    -- Goto (ivr-16,s,1)<br>
    -- Executing [s@ivr-16:1] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;MSG=custom/Auto-Attendant&quot;) in new stack<br>
    -- Executing [s@ivr-16:2] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;LOOPCOUNT=0&quot;) in new stack<br>
    -- Executing [s@ivr-16:3] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;__DIR-CONTEXT=&quot;) in new stack<br>
    -- Executing [s@ivr-16:4] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;_IVR_CONTEXT_ivr-16=&quot;) in new stack<br>
    -- Executing [s@ivr-16:5] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;_IVR_CONTEXT=ivr-16&quot;) in new stack<br>
    -- Executing [s@ivr-16:6] GotoIf(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;0?begin&quot;) in new stack<br>
    -- Executing [s@ivr-16:7] Answer(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;&quot;) in new stack<br>
    -- Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;1 answered SIP/wwisp1-000032a0<br>
    -- SIP/wwisp1-00003299 answered SIP/wwisp1-00003298<br>
    -- Executing [s@ivr-16:8] Wait(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;1&quot;) in new stack<br>
    -- Executing [s@ivr-16:8] Wait(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp1-25aa">13343757789@from-trunk-sip-wwisp1-25aa</a>;2&quot;, &quot;1&quot;) in new stack<br>
    -- Executing [s@ivr-16:9] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-a42e;2&quot;, &quot;TIMEOUT(digit)=3&quot;) in new stack<br>
    -- Digit timeout set to 3.000<br>
    -- Executing [s@ivr-16:10] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-a42e;2&quot;, &quot;TIMEOUT(response)=10&quot;) in new stack<br>
    -- Response timeout set to 10.000<br>
    -- Executing [s@ivr-16:11] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-a42e;2&quot;, &quot;__IVR_RETVM=&quot;) in new stack<br>
    -- Executing [s@ivr-16:12] ExecIf(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-a42e;2&quot;, &quot;1?Background(custom/Auto-Attendant)&quot;) in new stack<br>
    -- Executing [s@ivr-16:13] WaitExten(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-a42e;2&quot;, &quot;,&quot;) in new stack<br>
    -- Executing [s@ivr-16:9] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;TIMEOUT(digit)=3&quot;) in new stack<br>
    -- Digit timeout set to 3.000<br>
    -- Executing [s@ivr-16:10] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;TIMEOUT(response)=10&quot;) in new stack<br>
    -- Response timeout set to 10.000<br>
    -- Executing [s@ivr-16:11] Set(&quot;Local/<a href="mailto:13343757789@from-trunk-sip-wwisp">13343757789@from-trunk-sip-wwisp</a>1-7731;2&quot;, &quot;__IVR_RETVM=&quot;) in new stack <br>
<br>
<br>
Please help me ..... thanks in advance....</div>

                            
                                

                            

                        </td>
                    </tr>


                </tbody></table>
            </td>

              <td class="fb-msgview-left">
                <div class="fb-msgview-l-cover">
                    <span class="view-username">
<a href="http://www.elastix.org/en/component/kunena/fbprofile/userid-40829.html" title="" rel="nofollow">virbhati</a>                    </span>
                    <br>
<a href="http://www.elastix.org/en/component/kunena/fbprofile/userid-40829.html" title="" rel="nofollow"><span class="fb_avatar"><img src="http://www.elastix.org/images/fbfiles/avatars/40829.JPG" alt="" border="0"></span></a>
                                
                                                <div class="viewcover">
                    Fresh Boarder                </div>

                <div class="viewcover">
                    <img src="http://www.elastix.org/components/com_kunena/template/default/images/english/ranks/rank1.gif" alt="">                </div>

                    
                    <div class="viewcover"><strong>Posts: 6</strong></div><div class="viewcover"><table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td width="64"><img src="http://www.elastix.org/components/com_kunena/template/default/images/english/graph/col9m.png" alt="graph" style="border: 0px solid #333333" height="4" width="1"><img src="http://www.elastix.org/components/com_kunena/template/default/images/english/emoticons/graph.gif" alt="graph" style="border: 0px solid #333333" height="4" width="59"></td>
</tr></tbody></table></div>
                    
                    <img src="http://www.elastix.org/components/com_kunena/template/default/images/english/icons/online.gif" alt="User Online Now" border="0">
                    
                    <a href="http://www.elastix.org/en/component/kunena/fbprofile/userid-40829.html" title="" rel="nofollow"><img src="http://www.elastix.org/components/com_kunena/template/default/images/english/icons/profile.gif" alt="Click here to see the profile of this user" title="Click here to see the profile of this user" border="0"></a>                    <br>

                                                                                                           
                                                                                                           
                            
                </div>
            </td>


        </tr>

        <tr><td class="fb-msgview-right-b">
                <div class="fb_message_editMarkUp_cover">
<span class="fb_message_informMarkUp"></span></div><br></td></tr></tbody></table><br><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 11:04 AM, RAJNIKANT VANZA <span dir="ltr">&lt;<a href="mailto:rajnivanza@gmail.com">rajnivanza@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hi Virendra,<br></div><div><br></div><div>It may be problem for rtp packet port forwarding if u can dial through DID number. </div>
<div><br></div><div>You need to open rtp port range in firewal. e.g. 10,000 to 20,000 port.</div>
<div><br></div><div>please, write how can you dial call mobile or other devices. e.g. DID number, PRI number etc.</div><div><br></div><div><br>-- <br>Best Regards,<br><br>Rajnikant Vanza<br>Call : +91-9737456583<br>Software Engineer<br>

-------------------------------------------------------<br>Working On Linux,C/C++,Asterisk Technology<br>Gandhinagar - Gujarat</div><br><div class="gmail_quote"><div><div></div><div class="h5">On Thu, Jun 9, 2011 at 12:13 AM, virendra bhati <span dir="ltr">&lt;<a href="mailto:virbhati@gmail.com" target="_blank">virbhati@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div dir="ltr">Hi List,<br><br>When we make calls into asterisk with the help of our mobile, landline number, Cisco 79XX series then we didn&#39;t able to here any IVR which is playing into asterisk server. But when we dial from SIP softphone then all is working fine and we are able to here the IVR sound files.<br>


<br>What is the problem in this case please help me..<br clear="all"><br>-- <br><div dir="ltr"><br><br><br>-----<br>Thanks and regards<br><br> Virendra Bhati<br>+91-9172341457<br>Asterisk Engineer<br></div><br>
</div>
<br></div></div><div class="im">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></blockquote></div><br><br clear="all"><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><br><br><br>-----<br>Thanks and regards<br><br> Virendra Bhati<br>+91-9172341457<br><br></div><br>
</div>