[Users] send() and dispatching

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Mar 17 11:39:32 CET 2006


On 03/16/06 19:47, Rick Richardson wrote:
> 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. 
>   
This is up to the logic you want to implement and the other things. 
Sometimes you have to use the dispatcher on the way back to go through nats.

Cheers,
Daniel

>> 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