[pjsip] strange message routing

Benny Prijono bennylp at pjsip.org
Thu Feb 21 16:57:31 EST 2008


On 2/20/08, Julian Cable <julian.cable at yahoo.com> wrote:
> Hi,
>
>   I'm totally new to pjsip so apologies if this is a dumb question.
>
> I wanted to run two clients on the same box so I modified simpleua.c
> from the samples directory to allow some configuration from environment
> variables.
>
> In one window I run
>
>
> SIP_PORT=5061 RTP_PORT=8002 ./simpleua
>
>
> And in another
>
> SIP_PORT=5062 RTP_PORT=8004 ./simpleua sip:localhost:5061
>
> The call progresses as follows:
>
> INVITE   -->
>
>             <-- 180 OK
>             <-- 200 OK
>
> ACK -->
>
> But the ACK is sent to port 5060, not to port 5061
>
> Any ideas?

Probably you forgot to modify the local URI to include the port number?

cheers,
 -benny


> Julian




More information about the pjsip mailing list