Trond G. Andersen
2005-Nov-18 02:14 UTC
[Asterisk-Users] Re: Re: SIP - Loop detected (Matt Riddell) (Matt Riddell)
>Trond Andersen wrote: >> Thank you, but I have tried that... Then the To is: > >Can you do a NoOp(${ARG1}) and then show us the result? > >-- >Cheers, > >Matt RiddellThank you for taking the time to help me out Matt ! -- Executing NoOp("SIP/trond-c7f0", "ARG1=20170") in new stack -- Executing Dial("SIP/trond-c7f0", "SIP/20170|30|Cf") in new stack -- Called 20170 With this dialplan I do not get the loop, of course.... but my endpoint needs the entire SIP-URI, so I must change the dialplan to be: Dial (SIP/${ARG1}@${SIPDOMAIN},30,Cf) Then I get: -- Executing NoOp("SIP/trond-c7f0", "ARG1=20170") in new stack -- Executing Dial("SIP/trond-c7f0", "SIP/20170@10.47.8.89|30|Cf") in new stack -- Called 20170@10.47.8.89 -- Got SIP response 482 "Loop detected" back from 10.47.8.89 10.47.8.89 is my asterisk IP and the domain name I want to use for my extensions. (I actually use ARG2 because ARG1 holds the extensions email addr. I cannot imagine that matters??) Thanks again, Trond
Matt Riddell
2005-Nov-18 19:17 UTC
[Asterisk-Users] Re: Re: SIP - Loop detected (Matt Riddell) (Matt Riddell)
Trond G. Andersen wrote:>>Trond Andersen wrote: >> >>>Thank you, but I have tried that... Then the To is: >> >>Can you do a NoOp(${ARG1}) and then show us the result? >> >>-- >>Cheers, >> >>Matt Riddell > > > > Thank you for taking the time to help me out Matt ! > > > -- Executing NoOp("SIP/trond-c7f0", "ARG1=20170") in new stack > -- Executing Dial("SIP/trond-c7f0", "SIP/20170|30|Cf") in new stack > -- Called 20170 > > With this dialplan I do not get the loop, of course.... but my endpoint > needs the entire SIP-URI, so I must change the dialplan to be: > > Dial (SIP/${ARG1}@${SIPDOMAIN},30,Cf) > > Then I get: > -- Executing NoOp("SIP/trond-c7f0", "ARG1=20170") in new stack > -- Executing Dial("SIP/trond-c7f0", "SIP/20170@10.47.8.89|30|Cf") in new > stack > -- Called 20170@10.47.8.89 > -- Got SIP response 482 "Loop detected" back from 10.47.8.89 > > > 10.47.8.89 is my asterisk IP and the domain name I want to use for my > extensions.The thing is, if the rest of the URI is your Asterisk box, then you don't need the URI. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)