Hello,
I have problems calling from my phones connected to openser to grandstream phones on another university to ser. Problem is, that my openser generates a "CANCEL" SIP packet sent to grandstream phone, but no CANCEL received from my phone. Wireshark shows something like this:
1189587144.843962 158.195.15.100 -> 158.197.16.77 SIP/SDP Status: 200 OK, with session description 1189587144.845528 158.197.16.77 -> 158.195.15.100 SIP Request: CANCEL sip:+421xxxx44903@domain.sk 1189587144.853654 158.195.15.100 -> 158.197.16.77 SIP Status: 200 canceling
Communication before is OK. 158.197.16.77 is my openser server and 158.195.15.100 is peers phone.
Any idea, why openser can generate this packet? Can openser generate a SIP packet not received from client?
Calling from my phone to another phone on same university works well.
Thank you.
SAL
Hi! a full ngrep trace would be helpfull
"ngrep -t -d any -p "" port 5060"
What looks strange at first sight that there is a CANCEL after the 200 OK.
regards klaus
Jan ONDREJ (SAL) schrieb:
Hello,
I have problems calling from my phones connected to openser to grandstream phones on another university to ser. Problem is, that my openser generates a "CANCEL" SIP packet sent to grandstream phone, but no CANCEL received from my phone. Wireshark shows something like this:
1189587144.843962 158.195.15.100 -> 158.197.16.77 SIP/SDP Status: 200 OK, with session description 1189587144.845528 158.197.16.77 -> 158.195.15.100 SIP Request: CANCEL sip:+421xxxx44903@domain.sk 1189587144.853654 158.195.15.100 -> 158.197.16.77 SIP Status: 200 canceling
Communication before is OK. 158.197.16.77 is my openser server and 158.195.15.100 is peers phone.
Any idea, why openser can generate this packet? Can openser generate a SIP packet not received from client?
Calling from my phone to another phone on same university works well.
Thank you.
SAL
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
El Wednesday 12 September 2007 11:01:59 Jan ONDREJ (SAL) escribió:
Any idea, why openser can generate this packet? Can openser generate a SIP packet not received from client?
Yes, of course, in many cases:
For example:
modparam("tm", "fr_inv_timer", 45) modparam("tm", "noisy_ctimer", 1)
This will force OpenSer to create a CANCEL and a "not responding" when a INVITE expires 45 seconds.
Other example is the pua modules which creates NOTIFY, PUBLISH...
Calling from my phone to another phone on same university works well.
Maybe a question of timer as in my example?
Thanks for answer.
On Wed, Sep 12, 2007 at 11:22:08AM +0200, I?aki Baz Castillo wrote:
El Wednesday 12 September 2007 11:01:59 Jan ONDREJ (SAL) escribió:
Any idea, why openser can generate this packet? Can openser generate a SIP packet not received from client?
Yes, of course, in many cases:
For example:
modparam("tm", "fr_inv_timer", 45)
It's by default 120 seconds (i have no change in my config).
modparam("tm", "noisy_ctimer", 1)
It's by default 0 (turned off).
This will force OpenSer to create a CANCEL and a "not responding" when a INVITE expires 45 seconds.
As you can see from my wireshark log, my "CANCEL" is created imediatelly after "SDP" packet is received. There is an .001566 seconds delay (less than 2 ms).
Other example is the pua modules which creates NOTIFY, PUBLISH...
I have no pua module loaded.
Calling from my phone to another phone on same university works well.
Maybe a question of timer as in my example?
And think a timer set to less than 2ms is a very bad idea. And some response times can be different for more calls. After aprox. 10 calls to a working number and 20 calls to a non working number it is still same.
SAL