If you have asterisk and openser on same computer the you have to listen on the loopback interface.
ngrep -qt -d lo port 5060
The network trace you sent has no SIP message and I do not see any communication on port 5060.
Cheers, Daniel
On 01/16/06 12:18, david.castro wrote:
I used
ngrep -qt port 5060
but I don't get ouput in the screen, so I used:
ngrep -qt, and the ouput was:
U 2006/01/16 10:56:26.736394 10.2.11.50:4569 -> 10.2.11.35:4569 ..................204.."David"<sip:205@1021150..David..en..internal..david...................0V.
U 2006/01/16 10:56:26.737313 10.2.11.35:4569 -> 10.2.11.50:4569 ..................205130695..david
T 2006/01/16 10:56:26.736424 10.2.11.50:22 -> 10.2.11.35:60601 [AP] ].........I2..h.&......>,B.....X]OA.Q...@...b..a~..X.a..8...g.....)....y&.~.....@..+..<&....ly...b.{..Q...f..-..#......
..d..\h....[.....He..&.]........._[..,.HZ|g..P.....r...f0.P.l{.....@..z........Y.&[......'..v......|.1.m.P.d.;M........
..H$..T..<~z..Ra..
T 2006/01/16 10:56:26.736447 10.2.11.50:22 -> 10.2.11.35:60601 [AP] ..IM..D..X.Uv;.."..d...a.....q.Z:.7.l......Z..@.>-........~_..K^
U 2006/01/16 10:56:26.736538 10.2.11.50:4569 -> 10.2.11.35:4569 ............. b07125c8393cbdd4c3ca7b621bb678bc
U 2006/01/16 10:56:26.736748 10.2.11.35:4569 -> 10.2.11.50:4569 ..................
U 2006/01/16 10:56:26.736950 10.2.11.50:4569 -> 10.2.11.35:4569 ............
T 2006/01/16 10:56:26.737002 10.2.11.50:22 -> 10.2.11.35:60601 [AP] A.W..=..>n....S..>.....hI.PX@)..I.KHR.f2_j..5.....S.. ...h.....SH.og...zC.@...../.j..U?.Yk..%.m..........&......
T 2006/01/16 10:56:26.737065 10.2.11.50:22 -> 10.2.11.35:60601 [AP] r......]..G.n.w..H..'...rk...c..|0.`.......7.J........g....b.]Z...G.:^.f....p.[..b42..D.....t...
U 2006/01/16 10:56:26.740189 10.2.11.35:4569 -> 10.2.11.50:4569 ............
U 2006/01/16 10:56:26.740263 10.2.11.35:4569 -> 10.2.11.50:4569 ............
U 2006/01/16 10:56:26.740314 10.2.11.50:4569 -> 10.2.11.35:4569 ............
U 2006/01/16 10:56:26.740381 10.2.11.50:4569 -> 10.2.11.35:4569 ............
T 2006/01/16 10:56:26.740535 10.2.11.50:22 -> 10.2.11.35:60601 [AP] ....z.O.Q,?....o...t...[..^.....0..2/X..98..M...'-...lP..I.......0..<.'.W..vDs....g...Y..G..v8..
T 2006/01/16 10:56:26.740566 10.2.11.50:22 -> 10.2.11.35:60601 [AP] ._.z...4....K^.#..J...`..l.0.)e..y.G.7.t.Y.t-W.5........41...K/.#..@..R......2T..m...J.K.:].....E.~le.....gh<-u%
U 2006/01/16 10:56:26.740594 10.2.11.35:4569 -> 10.2.11.50:4569 ............*.&
U 2006/01/16 10:56:26.740847 10.2.11.50:4569 -> 10.2.11.35:4569 ............
T 2006/01/16 10:56:26.741537 10.2.11.50:22 -> 10.2.11.35:60601 [AP] =.z..hym..f.z..H...8,.Uh:.....)r......j.&).".....=.Z$U... 13.....N......:.cn+L....../..:Q.....qX.."..Q....3Z..N..1..y= ....!V....FR...j..MjpE=....j..r..k.......M..0..9.F...).M AI.-.....g..K.}S....8.z...N....3Z3.gQ?...,...#....H..5.dQ....- ...Tv.9z.....c.;..x....uq..........Ga....C... .......H}W})d....7...k..'d....LE..Kq..D!%4.yZ..?.'.......nBN.23...L)>..6. !.,......B.^.....v_..O.ER.J..}...7]8.bBj..
I saw this and I guess that sip packet is wrong, but I have in extexsion.conf: exten = _2XX,2,Dial(SIP/${EXTEN}@ser,100) I thought I was making a sip request.
2 notes: I have openser and asterisk in the same computer, asterisk has sip port 5062 and openser 5060. I test openser and asterisk talk one to one.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users