(i'm resending this because I don't think it got posted right...)
I'm running into a little problem with forwarding. This is what's happening:
I have a PBX connected into an asterisk box, allowing the PBX users to make SIP calls from their regular phones. I'm also running a SER box with my own sip domain. I have the SER box send unavailable calls to voicemail on the Asterisk server.
Now, when someone uses the PBX phone to call a sip user from my sip domain and they are unavailable, i'm getting a "loop detected" from ser. PBX -> Asterisk -> Ser -> Asterisk I can see why i am getting this (since from ser's perspective it's doing a loop), even though once Ser forwarded the call to asterisk, it won't receive it again, since the incoming call is in a different context.
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server without getting a "loop detected" error?
Thanks
-Jon
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server without getting a "loop detected" error?
Aren't you seeing this "loop detected" on the Asterisk CLI?? If so should post this in the Asterisk list instead. We know this happens anytime you try to loop a call back to Asterisk, but its Asterisk who complains. Not SER.
Thanks
-Jon
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Anyone using Asterisk for network to network calling. As in two networks peered?
yes, i'm seeing the "loop detected" message in the Asterisk CLI, but as far as i can tell, Asterisk is receiving that message from SER. The message i'm receiving from my CLI is: Got SIP response 482 "Loop Detected" back from (ip_address_of_SER) To me, that seems like SER is sending back that message. Instead, SER should be forwarding my uri request back to asterisk, albeit it will arrive into a different context. I want to know how to force SER to just send the request through. SER is doing my vm authority checking and i need it to run through it's script, instead of sending an error.
-Jon
Andres andres@telesip.net 07/28/2004 03:14 PM Please respond to andres
To: jon@bostontech.com, serusers@lists.iptel.org cc: Fax to: Subject: Re: [Serusers] Asterisks to ser to asterisk (voicemail)
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server without getting a "loop detected" error?
Aren't you seeing this "loop detected" on the Asterisk CLI?? If so should post this in the Asterisk list instead. We know this happens anytime you try to loop a call back to Asterisk, but its Asterisk who complains. Not SER.
Thanks
-Jon
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Andres wrote:
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server without getting a "loop detected" error?
Aren't you seeing this "loop detected" on the Asterisk CLI?? If so should post this in the Asterisk list instead. We know this happens anytime you try to loop a call back to Asterisk, but its Asterisk who complains. Not SER.
Answer from the Asterisk users list :-)
No, there's not a way to do it, but maybe to issue a 302 redirect. Haven't tried it, but that may work.
The Loop Detected stuff is annoying, yes.
/O
Hello,
--- "Olle E. Johansson" oej@edvina.net wrote:
Andres wrote:
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server without getting a "loop detected" error?
Aren't you seeing this "loop detected" on the Asterisk CLI?? If so should post this in the Asterisk list instead. We know this happens anytime you try to loop a call back to Asterisk, but its Asterisk who complains. Not SER.
Answer from the Asterisk users list :-)
No, there's not a way to do it, but maybe to issue a 302 redirect. Haven't tried it, but that may work.
The Loop Detected stuff is annoying, yes.
/O
From a great fan of Asterisk and SER :-)
I am not sure about the exact problem, but there is another way to acheive this. You dont need to re-route the calls back from SER to Asterisk. Set a timeout in the Asterisk Dial statement and forward the call to SER. If the callee attends the call, you can talk, and if not, make Asterisk forward the call to voicemail when it hits the timeout. I have this feature enabled in a local system running SER on 5060 and Asterisk on 5070.
Best Regards,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
yes, i know that this will work, but the issue is that not every sip user who is called has voicemail. I want SER to determine who should be rerouted or who shouldn't.
-Jon
GR S gr_sh2003@yahoo.com 07/28/2004 04:02 PM
To: jon@bostontech.com, serusers@lists.iptel.org cc: oej@edvina.net, andres@telesip.net Fax to: Subject: Re: [Serusers] Asterisks to ser to asterisk (voicemail)
Hello,
--- "Olle E. Johansson" oej@edvina.net wrote:
Andres wrote:
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server without
getting a "loop detected" error?
Aren't you seeing this "loop detected" on the Asterisk CLI?? If so should post this in the Asterisk list instead. We know this happens anytime you try to loop a call back to Asterisk, but its Asterisk who complains. Not SER.
Answer from the Asterisk users list :-)
No, there's not a way to do it, but maybe to issue a 302 redirect. Haven't tried it, but that may work.
The Loop Detected stuff is annoying, yes.
/O
From a great fan of Asterisk and SER :-)
I am not sure about the exact problem, but there is another way to acheive this. You dont need to re-route the calls back from SER to Asterisk. Set a timeout in the Asterisk Dial statement and forward the call to SER. If the callee attends the call, you can talk, and if not, make Asterisk forward the call to voicemail when it hits the timeout. I have this feature enabled in a local system running SER on 5060 and Asterisk on 5070.
Best Regards,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail
Hello,
--- jon@bostontech.com wrote:
yes, i know that this will work, but the issue is that not every sip user who is called has voicemail. I want SER to determine who should be rerouted or who shouldn't.
Still you dont need to worry. Let all un-attended calls come back to Asterisk. It will drop the calls if it can't find a mail box number. May not be the right method, though.
-Jon
GR S gr_sh2003@yahoo.com 07/28/2004 04:02 PM
To: jon@bostontech.com, serusers@lists.iptel.org cc: oej@edvina.net, andres@telesip.net Fax to: Subject: Re: [Serusers] Asterisks to ser to asterisk
(voicemail)
Hello,
--- "Olle E. Johansson" oej@edvina.net wrote:
Andres wrote:
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server without
getting a "loop detected" error?
Aren't you seeing this "loop detected" on the Asterisk CLI?? If so should post this in the Asterisk list instead. We know this happens anytime you try to loop a call back to Asterisk, but its Asterisk who complains. Not SER.
Answer from the Asterisk users list :-)
No, there's not a way to do it, but maybe to issue a 302 redirect. Haven't tried it, but that may work.
The Loop Detected stuff is annoying, yes.
/O
From a great fan of Asterisk and SER :-)
I am not sure about the exact problem, but there is another way to acheive this. You dont need to re-route the calls back from SER to Asterisk. Set a timeout in the Asterisk Dial statement and forward the call to SER. If the callee attends the call, you can talk, and if not, make Asterisk forward the call to voicemail when it hits the timeout. I have this feature enabled in a local system running SER on 5060 and Asterisk on 5070.
Best Regards,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
it looks like i will have to do that, but it's a little sloppy. oh well, that's life.
-Jon
GR S gr_sh2003@yahoo.com 07/28/2004 04:30 PM
To: jon@bostontech.com cc: serusers@lists.iptel.org Fax to: Subject: Re: [Serusers] Asterisks to ser to asterisk (voicemail)
Hello,
--- jon@bostontech.com wrote:
yes, i know that this will work, but the issue is that not every sip
user
who is called has voicemail. I want SER to determine who should be rerouted or who shouldn't.
Still you dont need to worry. Let all un-attended calls come back to Asterisk. It will drop the calls if it can't find a mail box number. May not be the right method, though.
-Jon
GR S gr_sh2003@yahoo.com 07/28/2004 04:02 PM
To: jon@bostontech.com, serusers@lists.iptel.org cc: oej@edvina.net, andres@telesip.net Fax to: Subject: Re: [Serusers] Asterisks to ser to asterisk
(voicemail)
Hello,
--- "Olle E. Johansson" oej@edvina.net wrote:
Andres wrote:
My question is, is there any way to have ser receive a call from asterisk and then reroute it back to the same asterisk server
without
getting a "loop detected" error?
Aren't you seeing this "loop detected" on the Asterisk CLI?? If so should post this in the Asterisk list instead. We know this happens
anytime you try to loop a call back to Asterisk, but its Asterisk
who
complains. Not SER.
Answer from the Asterisk users list :-)
No, there's not a way to do it, but maybe to issue a 302 redirect. Haven't tried it, but that may work.
The Loop Detected stuff is annoying, yes.
/O
From a great fan of Asterisk and SER :-)
I am not sure about the exact problem, but there is another way to
acheive
this. You dont need to re-route the calls back from SER to Asterisk. Set a timeout in the Asterisk Dial statement and forward the call to SER. If the callee attends the call, you can talk,
and
if not, make Asterisk forward the call to voicemail when it hits the timeout. I have this feature enabled in a local system running SER on 5060 and Asterisk on 5070.
Best Regards,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
if asterisk were a sip proxy, it should accept the same request several times as long the request uri of the request changes, i.e., the request spirals. if it is a sip proxy, it should act like a b2bua and terminate each iteration of the request. the loop detected stuff thus seems like asterisk's problem that it hard to solve in ser.
-- juha