Hello,

I am using SER as my SIP server and I am developing a software that should
rad some parameters and redirect SIP messages. An usual aproach of two users
comunication using SER is:

Softphone 1 (Client 1)  <----->  SER <----> Softphone 2 (Client 2)

My idea is to put an "Agent" between the users and the SER, so that I can
read a few parameters for another application. So it should be:

Softphone 1 (Client 1)  <----->  Agent <----> SER <-----> Agent <---->
Softphone 2 (Client 2)

The REGISTER process works fine. However I'm having problems with the INVITE
messages. Imagine this situation:

Component -   IP  -   Port:
Softphone 1 - IP 1 - 5060
Agent         -   IP 2 - 5070
SER            -  IP 3  - 5060
Softphone2 - IP 4 - 5060

everything works fine when Agent port is 5060, however i want to use a
different port so that i can have a softphone in the same IP as the Agent.
The problem happens when Softphone 2 tries to send the "100 TRYING" message
back to the Agent so that it can be forwarded to SER and so on. It tries to
send to port 5060 instead of 5070. The strange thing is that the INVITE
message that Softphone 2 receives from Agent is from port 5070, shouldn't it
answer back to that port as well?

Hope to hear from you.

Jose Simoes
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to