VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
j.p.russell at btinter... Guest
|
Posted: Thu Feb 27, 2014 5:27 am Post subject: [asterisk-users] Asterisk 12 - 100rel (Prack) no 100rel Requ |
|
|
Hi
I am trying out Asterisk 12 between two servers in order to test the 100rel (PRACK) capability. When I set the called server to send Ringing (180) and wait before answering the call it is not sending 100rel Require in the Ringing message (non provisional response) therefore the calling server does not send a PRACK.
I have the same config at both ends and if I change the 100rel field in the endpoint section in pjsip.conf on the calling server to either no; yes or require I can see the Invite message change so know that Asterisk is setting this correctly on outgoing calls. However what I do not understand is that regardless if the 100rel field is set to yes or required on the called server non 100 provisional responses do not have the 100rel Require field.
In fact if I set the 100rel field to no on the called server but required on the calling server I would expect the called server to reject the call but it does not, it completes as normal.
Am I doing something wrong, is this a bug/problem, BTW I am using Asterisk release Version 12.0
Thanks
JR |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Thu Feb 27, 2014 6:50 am Post subject: [asterisk-users] Asterisk 12 - 100rel (Prack) no 100rel Requ |
|
|
On 14-02-27 06:26 AM, JULIAN RUSSELL wrote:
Quote: | Hi
I am trying out Asterisk 12 between two servers in order to test the
100rel (PRACK) capability. When I set the called server to send Ringing
(180) and wait before answering the call it is not sending 100rel
Require in the Ringing message (non provisional response) therefore the
calling server does not send a PRACK.
I have the same config at both ends and if I change the 100rel field in
the endpoint section in pjsip.conf on the calling server to either no;
yes or require I can see the Invite message change so know that Asterisk
is setting this correctly on outgoing calls. However what I do not
understand is that regardless if the 100rel field is set to yes or
required on the called server non 100 provisional responses do not have
the 100rel Require field.
In fact if I set the 100rel field to no on the called server but
required on the calling server I would expect the called server to
reject the call but it does not, it completes as normal.
Am I doing something wrong, is this a bug/problem, BTW I am using
Asterisk release Version 12.0
|
I've taken a look at the code and the pjsip documentation for 100rel. We
appear to be using it correctly but that doesn't mean something isn't
up. Can you provide a SIP trace showing this for a further looksee?
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Sat Mar 01, 2014 3:33 pm Post subject: [asterisk-users] Asterisk 12 - 100rel (Prack) no 100rel Requ |
|
|
Greetings,
JULIAN RUSSELL wrote:
Quote: | I have attached two pcap traces, the file Asterisk 12 to Asterisk 12 is
what happens when two Asterisk 12 servers configured as a SIP trunk call
each other. At both ends in the pjsip.conf the 100rel field is set to
required, you can see from the trace that the Calling server sets the
100rel Require header but the Called Server does not set this in the 180
ringing response and therefore no PRACK is sent.
The second trace Asterisk 12 to PJSUA is one of the Asterisk 12 servers
with the same configuration talking to a server running PJSUA (command
line PJSIP). On this trace you can see that PJSUA sets the 100rel
Require in the 180 ringing response and therefore the Asterisk 12 server
sends a PRACK message, This call does not complete as I have to manually
enter commands on PJSUA and once I send a 180 I cannot then send a 200 OK.
|
Thanks for the traces and further clarification/description! I was able
to reproduce and isolate the problem. I've fixed it in the 12 branch and
trunk.
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|