Daryll Strauss
2004-Aug-30 08:25 UTC
[Asterisk-Users] How does call routing actually work with SIP?
Hello Asterisk-users, I'm a long time reader, first time caller. I've recently set up an Asterisk network in my house that I eventually want to use to support my small business. I bought a Sipura-3000 and I'm currently running Asterisk on a server I was already using. Everything is working nicely. I can make and receive calls. (important step) I have a basic IVR. The voicemail works and pages my phone. (Nice feature) Eventually I want hook up with an outside VOIP provider and have some extensions at remote locations, which are big reasons for using Asterisk. Basically, a call comes in to the Sipura, which routes it to asterisk. You push an IVR menu button which rings my phone back on the Sipura and if I don't answer you drop into voicemail. As I said, I'm testing on a server I do use for other things. I plan to dedicate one before this goes live, but it lets me experiment. Yesterday I ran a big file transfer on my server and had a friend call me at the same time. Although his voice sounded fine to me, he heard a "worble" in my voice. I'm sure that's caused by traffic load I had on my server. That would seem to imply that the data packets continue to go through my Asterisk server after the call terminates on my phone. Is that true? Since this call came in on the Sipura PSTN and ended on the phone connected to the Sipura, it could have stayed within the Sipura box all together. Does SIP have a way to tell the originator to transfer the call to another SIP device? Is that something I can tell Asterisk to do in this case? It would be nice if two internal callers could talk without having the data go through the Asterisk. Then you'd have a nice switched network instead of a store and forward through a single node. - |Daryll
Kevin Walsh
2004-Aug-30 09:07 UTC
[Asterisk-Users] How does call routing actually work with SIP?
Daryll Strauss [daryll@daryll.net] wrote:> As I said, I'm testing on a server I do use for other things. I plan to > dedicate one before this goes live, but it lets me experiment. Yesterday > I ran a big file transfer on my server and had a friend call me at the > same time. Although his voice sounded fine to me, he heard a "worble" in > my voice. I'm sure that's caused by traffic load I had on my server. >That can be caused by the lack of QoS on your network. You need to give priority to VoIP traffic - especially if you are saturating your network connectivity.> > That would seem to imply that the data packets continue to go through my > Asterisk server after the call terminates on my phone. Is that true? > Since this call came in on the Sipura PSTN and ended on the phone > connected to the Sipura, it could have stayed within the Sipura box all > together. > > Does SIP have a way to tell the originator to transfer the call to > another SIP device? Is that something I can tell Asterisk to do in this > case? It would be nice if two internal callers could talk without having > the data go through the Asterisk. Then you'd have a nice switched > network instead of a store and forward through a single node. >You are looking for "canreinvite = no", which is a sip.conf setting. This will allow the endpoints to establish a direct link to one another, and remove Asterisk from the loop. Of course, you can only remove Asterisk from the loop if Asterisk is no longer required. Asterisk will remain in the loop if you have specified "t" or "T" in your Dial() command, as it will need to listen for the hash key. It will also remain in the loop if you're recording the audio stream using Monitor(), or whatever. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/