Hello,
It's off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
* [ASTERISK-30100https://issues.asterisk.org/jira/browse/ASTERISK-30100] - res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.comhttps://gilawa.com/
Hello,
I don't know if is the same thing by i using PATH support with Asterisk PJSIP from time:
Kamailio:
/*loadmodule "path.so"*/
/*# ----- path params -----*/
/*modparam("path", "use_received", 1)*/
/* */
/*REGISTER bLOCK */
/*append_hf("Supported: path\r\n");*/
/*add_path();*/
/*rewritehostport("AsteriskIP:5060");*/
/*forward();*/
/* */
Asterisk:
/[1000]/
/type=aor/
/max_contacts=5/
/remove_existing=yes/
/qualify_frequency=30/
/mailboxes=1000/
/*support_path=yes*/
INVITE From Asterisk:
/* */
/**/
/**/
--- I'm SoCIaL, MayBe
El 2/03/2023 a las 2:17 p. m., Henning Westerholt escribió:
Hello,
It’s off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
· [ASTERISK-30100 https://issues.asterisk.org/jira/browse/ASTERISK-30100] -
res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/ https://skalatan.de/blog/
Kamailio services – https://gilawa.com https://gilawa.com/
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email tosr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi all,
I have the problem with versión 20.2 when I use function PJSIP_DIAL_CONTACTS, the INVITE goes directly to Endpoint not going through the Proxy, Route header is not included.
Asterisk: exten => _3XXX,1,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})}). -> *Fail* INVITE directly to Endpoint no use PATH exten => _3XXX,1,Dial(PJSIP/${EXTEN}) -> *Works fine* INVITE going through the proxy
If make a call directly to JSIP extension works fine and the OPTIONS too using the proxy
Have any idea?
Best regards.
El dom, 5 mar 2023 a las 22:58, Social Boh (social@bohboh.info) escribió:
Hello,
I don't know if is the same thing by i using PATH support with Asterisk PJSIP from time:
Kamailio:
*loadmodule "path.so"*
*# ----- path params -----*
*modparam("path", "use_received", 1)*
*REGISTER bLOCK *
*append_hf("Supported: path\r\n");*
*add_path();*
*rewritehostport("AsteriskIP:5060");*
*forward();*
Asterisk:
*[1000]*
*type=aor*
*max_contacts=5*
*remove_existing=yes*
*qualify_frequency=30*
*mailboxes=1000*
*support_path=yes*
INVITE From Asterisk:
I'm SoCIaL, MayBe
El 2/03/2023 a las 2:17 p. m., Henning Westerholt escribió:
Hello,
It’s off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
· [ASTERISK-30100 https://issues.asterisk.org/jira/browse/ASTERISK-30100] -
res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Dial(PJSIP/($EXTEN}) is how I do it and can confirm this DOES work and support Path.
I bet PJSIP_DIAL_CONTACTS probably generates a list of SIP URI and thereby short-cuts the path information stored.
From: Javier Vidal -- Quasar javier.quasar@gmail.com Reply-To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Date: Friday, March 17, 2023 at 6:01 AM To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Subject: [SR-Users] Re: OT: path support fix for asterisk
Hi all,
I have the problem with versión 20.2 when I use function PJSIP_DIAL_CONTACTS, the INVITE goes directly to Endpoint not going through the Proxy, Route header is not included.
Asterisk:
exten => _3XXX,1,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})}). -> Fail INVITE directly to Endpoint no use PATH
exten => _3XXX,1,Dial(PJSIP/${EXTEN}) -> Works fine INVITE going through the proxy
If make a call directly to JSIP extension works fine and the OPTIONS too using the proxy
Have any idea?
Best regards.
El dom, 5 mar 2023 a las 22:58, Social Boh (social@bohboh.info) escribió:
Hello,
I don't know if is the same thing by i using PATH support with Asterisk PJSIP from time:
Kamailio:
loadmodule "path.so"
# ----- path params -----
modparam("path", "use_received", 1)
REGISTER bLOCK
append_hf("Supported: path\r\n");
add_path();
rewritehostport("AsteriskIP:5060");
forward();
Asterisk:
[1000]
type=aor
max_contacts=5
remove_existing=yes
qualify_frequency=30
mailboxes=1000
support_path=yes
INVITE From Asterisk:
--- I'm SoCIaL, MayBe El 2/03/2023 a las 2:17 p. m., Henning Westerholt escribió:
Hello,
It’s off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
· [ASTERISK-30100] - res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
Hi Javier,
I have not tested this new version and I think it would be best if you raise this question in the Asterisk Forums https://community.asterisk.org/ .
However, a workaround may be to build a dial group https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Function_DIALGROUP using the URIs obtained from the endpoint's contacts https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Function_PJSIP_CONTACT and see if it works.
Regards
On Tue, Mar 21, 2023 at 1:13 AM Javier Vidal -- Quasar < javier.quasar@gmail.com> wrote:
Hi all,
I have the problem with versión 20.2 when I use function PJSIP_DIAL_CONTACTS, the INVITE goes directly to Endpoint not going through the Proxy, Route header is not included.
Asterisk: exten => _3XXX,1,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})}). -> *Fail* INVITE directly to Endpoint no use PATH exten => _3XXX,1,Dial(PJSIP/${EXTEN}) -> *Works fine* INVITE going through the proxy
If make a call directly to JSIP extension works fine and the OPTIONS too using the proxy
Have any idea?
Best regards.
El dom, 5 mar 2023 a las 22:58, Social Boh (social@bohboh.info) escribió:
Hello,
I don't know if is the same thing by i using PATH support with Asterisk PJSIP from time:
Kamailio:
*loadmodule "path.so"*
*# ----- path params -----*
*modparam("path", "use_received", 1)*
*REGISTER bLOCK *
*append_hf("Supported: path\r\n");*
*add_path();*
*rewritehostport("AsteriskIP:5060");*
*forward();*
Asterisk:
*[1000]*
*type=aor*
*max_contacts=5*
*remove_existing=yes*
*qualify_frequency=30*
*mailboxes=1000*
*support_path=yes*
INVITE From Asterisk:
I'm SoCIaL, MayBe
El 2/03/2023 a las 2:17 p. m., Henning Westerholt escribió:
Hello,
It’s off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
· [ASTERISK-30100 https://issues.asterisk.org/jira/browse/ASTERISK-30100] -
res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Thanks for the heads up Henning. Finally some good news.
Just posted a comment in the original years-long case https://issues.asterisk.org/jira/browse/ASTERISK-28211 asking if this fix can be backported to at least Asterisk 16.
On Thu, Mar 2, 2023 at 2:44 PM Henning Westerholt hw@gilawa.com wrote:
Hello,
It’s off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
· [ASTERISK-30100 https://issues.asterisk.org/jira/browse/ASTERISK-30100] -
res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi,
This bug seems to have affected ‘trunk’ endpoints; In my testing ‘user’ endpoints seem to work, as noted in the bug.
From: Alex Balashov abalashov@evaristesys.com Reply-To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Date: Thursday, March 2, 2023 at 6:19 PM To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org Subject: [SR-Users] Re: OT: path support fix for asterisk
Thanks, Henning. This is excellent news, thank you for passing along.
—
Sent from mobile, apologies for brevity and errors.
On Mar 2, 2023, at 6:11 PM, Sergiu Pojoga pojogas@gmail.com wrote:
Thanks for the heads up Henning. Finally some good news.
Just posted a comment in the original years-long case asking if this fix can be backported to at least Asterisk 16.
On Thu, Mar 2, 2023 at 2:44 PM Henning Westerholt hw@gilawa.com wrote:
Hello,
It’s off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
· [ASTERISK-30100] - res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
Hi Sergiu,
Thanks. Unfortunately asterisk 16 is in security fix mode only, so it will not land there. But one could probably backport it to their own build, its not too large change.
Cheers,
Henning
-- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.comhttps://gilawa.com/
From: Sergiu Pojoga pojogas@gmail.com Sent: Donnerstag, 2. März 2023 23:40 To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: [SR-Users] Re: OT: path support fix for asterisk
Thanks for the heads up Henning. Finally some good news.
Just posted a comment in the original years-long casehttps://issues.asterisk.org/jira/browse/ASTERISK-28211 asking if this fix can be backported to at least Asterisk 16.
On Thu, Mar 2, 2023 at 2:44 PM Henning Westerholt <hw@gilawa.commailto:hw@gilawa.com> wrote: Hello,
It’s off-topic, but it was several times discussed here on the list.
It seems that the upcoming 18.17 and 20.2 asterisk version seems to properly support path headers. From the announcement:
• [ASTERISK-30100https://issues.asterisk.org/jira/browse/ASTERISK-30100] - res_pjsip: Path is ignored on INVITE to endpoint (Reported by Yury Kirsanov)
This bug has been many years open. have not tried it yet, but it looks promising.
Cheers,
Henning
-- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.comhttps://gilawa.com/
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.orgmailto:sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: