[pjsip] STUN & local call

Michael Bradley Jr mbradley.jr at gmail.com
Fri Nov 2 13:38:38 EDT 2007


when STUN is enable, i can't make a successful call to an UA in the same Network

Here is call flow

UA1: pjsua 0.7.0		
localIP:	publicIP: 88.xx.xx.xx

UA2: Grandstream IP-Phone
localIP:	publicIP: 88.xx.xx.xx

UA1 ---> UA2 ( >>
INVITE sip:xvc at SIP/2.0
sdp: c:88.xx.xx.xx

UA2 --> UA1 ( --> 88.xx.xx.xx)
200/2.0/UDP 88.xx.xx.xx:5060
sdp: c:

UA1 never get the 200 since it's send to the public Address...

So my question:
how can i set the IP of the destination of the RTP stream in my initial
INVITE using pjsua-lib since i can figure out that both UA are behind the same NAT?


More information about the pjsip mailing list