Hi Rajnikant,

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.

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't get any voice or IVR
option's just like Press 1 for this...2 for that....
And extension is also not ring after all...... I am using Elastix for
routing calls .....But I also test with asterisk dialplan too....

CLI Output s blow:-
\
-- Executing [s@macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/wwisp1-000032a0", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/wwisp1-000032a0",
"0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/wwisp1-000032a0",
"0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/wwisp1-000032a0",
"SIP/wwisp1/13343757789,300,wW") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called wwisp1/13343757789
-- Got SIP response 482 "Loop Detected" back from 69.26.183.13
-- Now forwarding SIP/wwisp1-0000329e to 'Local/
13343757789@from-trunk-sip-wwisp1' (thanks to SIP/wwisp1-0000329f)
-- Executing [13343757789@from-trunk-sip-wwisp1:1] Set("Local/
13343757789@from-trunk-sip-wwisp1-7731;2", "GROUP()=OUT_2") in new stack
-- Executing [13343757789@from-trunk-sip-wwisp1:2] Goto("Local/
13343757789@from-trunk-sip-wwisp1-7731;2", "from-trunk,13343757789,1") in
new stack
-- Goto (from-trunk,13343757789,1)
-- Executing [13343757789@from-trunk:1] NoOp("Local/
13343757789@from-trunk-sip-wwisp1-7731;2", "Catch-All DID Match - Found
13343757789 - You probably want a DID for this.") in new stack
-- Executing [13343757789@from-trunk:2] Goto("Local/
13343757789@from-trunk-sip-wwisp1-7731;2", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1]
Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"__FROM_DID=s") in new stack
-- Executing [s@ext-did:2]
Gosub("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("Local/
13343757789@from-trunk-sip-wwisp1-7731;2", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("Local/
13343757789@from-trunk-sip-wwisp1-7731;2", "CALLED_BLACKLIST=1") in new
stack
-- Executing [s@app-blacklist-check:3] Return("Local/
13343757789@from-trunk-sip-wwisp1-7731;2", "") in new stack
-- Executing [s@ext-did:3]
ExecIf("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"0 ?Set(CALLERID(name)=1810217338)") in new stack
-- Executing [s@ext-did:4]
Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5]
Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:6]
Goto("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"ivr-16,s,1") in new stack
-- Goto (ivr-16,s,1)
-- Executing [s@ivr-16:1] Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"MSG=custom/Auto-Attendant") in new stack
-- Executing [s@ivr-16:2] Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"LOOPCOUNT=0") in new stack
-- Executing [s@ivr-16:3] Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"__DIR-CONTEXT=") in new stack
-- Executing [s@ivr-16:4] Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"_IVR_CONTEXT_ivr-16=") in new stack
-- Executing [s@ivr-16:5] Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"_IVR_CONTEXT=ivr-16") in new stack
-- Executing [s@ivr-16:6]
GotoIf("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"0?begin") in new stack
-- Executing [s@ivr-16:7]
Answer("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"") in new stack
-- Local/13343757789@from-trunk-sip-wwisp1-7731;1 answered
SIP/wwisp1-0000329e
-- Executing [s@ivr-16:8]
Wait("Local/13343757789@from-trunk-sip-wwisp1-a42e;2",
"1") in new stack
-- Got SIP response 482 "Loop Detected" back from 69.26.183.13
-- Now forwarding SIP/wwisp1-000032a0 to 'Local/
13343757789@from-trunk-sip-wwisp1' (thanks to SIP/wwisp1-000032a1)
-- Executing [13343757789@from-trunk-sip-wwisp1:1] Set("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "GROUP()=OUT_2") in new stack
-- Executing [13343757789@from-trunk-sip-wwisp1:2] Goto("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "from-trunk,13343757789,1") in
new stack
-- Goto (from-trunk,13343757789,1)
-- Executing [13343757789@from-trunk:1] NoOp("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "Catch-All DID Match - Found
13343757789 - You probably want a DID for this.") in new stack
-- Executing [13343757789@from-trunk:2] Goto("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1]
Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"__FROM_DID=s") in new stack
-- Executing [s@ext-did:2] Gosub("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "app-blacklist-check,s,1") in new
stack
-- Executing [s@app-blacklist-check:1] GotoIf("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "CALLED_BLACKLIST=1") in new
stack
-- Executing [s@app-blacklist-check:3] Return("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "") in new stack
-- Executing [s@ext-did:3] ExecIf("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "0
?Set(CALLERID(name)=1810217338)") in new stack
-- Executing [s@ext-did:4]
Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s@ext-did:5]
Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s@ext-did:6] Goto("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "ivr-16,s,1") in new stack
-- Goto (ivr-16,s,1)
-- Executing [s@ivr-16:1] Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"MSG=custom/Auto-Attendant") in new stack
-- Executing [s@ivr-16:2] Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"LOOPCOUNT=0") in new stack
-- Executing [s@ivr-16:3] Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"__DIR-CONTEXT=") in new stack
-- Executing [s@ivr-16:4] Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"_IVR_CONTEXT_ivr-16=") in new stack
-- Executing [s@ivr-16:5] Set("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"_IVR_CONTEXT=ivr-16") in new stack
-- Executing [s@ivr-16:6] GotoIf("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "0?begin") in new stack
-- Executing [s@ivr-16:7] Answer("Local/
13343757789@from-trunk-sip-wwisp1-25aa;2", "") in new stack
-- Local/13343757789@from-trunk-sip-wwisp1-25aa;1 answered
SIP/wwisp1-000032a0
-- SIP/wwisp1-00003299 answered SIP/wwisp1-00003298
-- Executing [s@ivr-16:8]
Wait("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"1") in new stack
-- Executing [s@ivr-16:8]
Wait("Local/13343757789@from-trunk-sip-wwisp1-25aa;2",
"1") in new stack
-- Executing [s@ivr-16:9] Set("Local/13343757789@from-trunk-sip-wwisp1-a42e;2",
"TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-16:10]
Set("Local/13343757789@from-trunk-sip-wwisp1-a42e;2",
"TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [s@ivr-16:11]
Set("Local/13343757789@from-trunk-sip-wwisp1-a42e;2",
"__IVR_RETVM=") in new stack
-- Executing [s@ivr-16:12]
ExecIf("Local/13343757789@from-trunk-sip-wwisp1-a42e;2",
"1?Background(custom/Auto-Attendant)") in new stack
-- Executing [s@ivr-16:13]
WaitExten("Local/13343757789@from-trunk-sip-wwisp1-a42e;2",
",") in new stack
-- Executing [s@ivr-16:9] Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-16:10]
Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [s@ivr-16:11]
Set("Local/13343757789@from-trunk-sip-wwisp1-7731;2",
"__IVR_RETVM=") in new stack


Please help me ..... thanks in advance....
    
virbhati<http://www.elastix.org/en/component/kunena/fbprofile/userid-40829.html>
 <http://www.elastix.org/en/component/kunena/fbprofile/userid-40829.html>
Fresh Boarder
  *Posts: 6*
[image: graph][image: graph]
[image: User Online Now] [image: Click here to see the profile of this
user]<http://www.elastix.org/en/component/kunena/fbprofile/userid-40829.html>



On Thu, Jun 9, 2011 at 11:04 AM, RAJNIKANT VANZA <[email protected]>wrote:

> Hi Virendra,
>
> It may be problem for rtp packet port forwarding if u can dial through DID
> number.
>
> You need to open rtp port range in firewal. e.g. 10,000 to 20,000 port.
>
> please, write how can you dial call mobile or other devices. e.g. DID
> number, PRI number etc.
>
>
> --
> Best Regards,
>
> Rajnikant Vanza
> Call : +91-9737456583
> Software Engineer
> -------------------------------------------------------
> Working On Linux,C/C++,Asterisk Technology
> Gandhinagar - Gujarat
>
> On Thu, Jun 9, 2011 at 12:13 AM, virendra bhati <[email protected]>wrote:
>
>> Hi List,
>>
>> When we make calls into asterisk with the help of our mobile, landline
>> number, Cisco 79XX series then we didn'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.
>>
>> What is the problem in this case please help me..
>>
>> --
>>
>>
>>
>> -----
>> Thanks and regards
>>
>>  Virendra Bhati
>> +91-9172341457
>> Asterisk Engineer
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
>


-- 



-----
Thanks and regards

 Virendra Bhati
+91-9172341457
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to