[Users] send() and dispatching

Rick Richardson rick at eltopia.com
Thu Mar 16 18:47:24 CET 2006


On Thu, 2006-03-16 at 11:46 +0200, Daniel-Constantin Mierla wrote:
> On 03/14/06 22:31, Rick Richardson wrote:
> > I am trying to dispatch a request to a sip proxy. 
> > Is the send() function not set up to take pseudovariables?
> >   
> send() does not take pseudovariables.
> > I am trying to use 
> >    send(uri:host, uri:port)
> > but i'm getting a syntax error with an invalid argument when initting
> > the server. 
> >  
> > I was using 
> >   forward(uri:host, uri:port); 
> > But I don't want the dispatcher sticking a VIA header on the message. 
> >
> > Is there a reason send is not used in this fashion? I would think that
> > one would not want any messages being relayed back to the dispatcher for
> > any reason. 
> >
> > Also, is record routing useful in the dispatching context? I would think
> > if a message did get back to the dispatcher it would send it to the
> > proper proxy as long as it was hashing the call-id.
> >   
> this is up to your configuration file -- you can tune relaying from there.

So what is the best approach for dispatching when it comes to VIA's and
other things? I would guess that from a dispatcher you would not want to
alter the message at all. 
> 
> Cheers,
> Daniel
> > any input would be appreciated.
> >
> > thanks,
> >
> > Rick
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
> >
> >   





More information about the Users mailing list