[Kamailio-Users] openser - asterisk - methods field location table

Matteo Piazza matteo.piazza at trentinonetwork.it
Thu Nov 13 11:13:38 CET 2008


Hi all, 

I'm using openser 1.3.3. And I found an issue between asterisk and
openser.

When an asterisk register himself to openser this is my opeserctl ul
show:

Contact:: sip:s at 172.25.18.168 Q=
			Expires:: 116
			Callid:: 76e873601b776e8a430237091a76a483 at 172.25.18.168
			Cseq:: 103
			User-agent:: Asterisk PBX 1.4 Test
			State:: CS_DIRTY
			Flags:: 0
			Cflag:: 0
			Socket:: udp:172.25.18.163:5060
			Methods:: 4294967295

In to the postgres database into location table I have

2;"50001";"ttnnet.it";"sip:s at 172.25.18.168";"";"";"2008-11-13
10:56:24";-1;"76e873601b776e8a430237091a76a483 at 172.25.18.168";108;"2008-11-13 10:54:24";0;0;"Asterisk PBX 1.4 Test";"udp:172.25.18.163:5060";

As you can see the methods field into the database is null! 

This causes an issue when you restart openser, the asterisk pbx is
unreachable until the next registration because the lookup function
doesn't match the methods field. 

The number 4294967295 is the max int (without sign), maybe there is a
issue in the function that calculate this value and post the query.

Any clue?

Kind regards
Matteo





More information about the Users mailing list