Chirag Desai
2015-Mar-12 22:11 UTC
[asterisk-users] PJSIP and Kamailio without registration
From: Matthew Jordan <mjordan at digium.com>> > > >> If the INVITE request is not shown in the CLI with 'pjsip set logger > >> on', then Asterisk is not actually receiving the request. > >> > >> Does a pcap show the message being sent to the correct IP/port? If you > >> change the transports to bind to port 5060, does that change anything? > > > >The sip message I included in my last message is what I see when I ngrepon 5061, but >asterisk doesn't see it. When I tell Kamailio to send the message to 5060 chan_sip shows >the invite in the CLI.> > My setup has chan_sip running on 5060 and pjsip (tcp and udp on 5061). > > I'll get PJSIP running on 5060 and see if that makes any difference.UPDATE: I got PJSIP on 5060 and everything is working fine as expected and I can see the calls from Kamalio. Is this a bug with asterisk not recognising the traffic on 5061 even though the SIP messages are being received by the server on that port and I can see it? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150312/40c5fa9a/attachment.html>
Matthew Jordan
2015-Mar-13 00:22 UTC
[asterisk-users] PJSIP and Kamailio without registration
On Thu, Mar 12, 2015 at 5:11 PM, Chirag Desai <djchillerz at gmail.com> wrote:> > >> From: Matthew Jordan <mjordan at digium.com> >> >> >> >> If the INVITE request is not shown in the CLI with 'pjsip set logger >> >> on', then Asterisk is not actually receiving the request. >> >> >> >> Does a pcap show the message being sent to the correct IP/port? If you >> >> change the transports to bind to port 5060, does that change anything? >> >> > >>The sip message I included in my last message is what I see when I ngrep on >> 5061, but >asterisk doesn't see it. When I tell Kamailio to send the message >> to 5060 chan_sip shows >the invite in the CLI. >> >> My setup has chan_sip running on 5060 and pjsip (tcp and udp on 5061). >> >> I'll get PJSIP running on 5060 and see if that makes any difference. > > UPDATE: I got PJSIP on 5060 and everything is working fine as expected and I > can see the calls from Kamalio. Is this a bug with asterisk not recognising > the traffic on 5061 even though the SIP messages are being received by the > server on that port and I can see it? >I suspect not. We run the PJSIP stack on multiple ports quite often. I would guess that there's something else going on here. -- Matthew Jordan Digium, Inc. | Director of Technology 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com & http://asterisk.org