Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-06-16 Thread Jean Aunis
Le 16/06/2021 à 16:32, George Joseph a écrit : On Wed, Jun 16, 2021 at 6:27 AM George Joseph > wrote: Changes up in gerrit... https://gerrit.asterisk.org/c/asterisk/+/16068 Thanks. I've just tested it, with both

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-06-16 Thread George Joseph
On Wed, Jun 16, 2021 at 6:27 AM George Joseph wrote: > > > On Wed, Jun 16, 2021 at 12:50 AM Jean Aunis wrote: > >> Le 15/06/2021 à 15:28, George Joseph a écrit : >> >> [2021-06-15 10:42:49.885] WARNING[5163]: res_pjsip_messaging.c:247 >> >>> insert_user_in_contact_uri: Dest:

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-06-16 Thread George Joseph
On Wed, Jun 16, 2021 at 12:50 AM Jean Aunis wrote: > Le 15/06/2021 à 15:28, George Joseph a écrit : > > [2021-06-15 10:42:49.885] WARNING[5163]: res_pjsip_messaging.c:247 > >> insert_user_in_contact_uri: Dest: 'PJSIP/3200@linphone' MSG SEND FAIL: >> There's already a username in endpoint

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-06-16 Thread Jean Aunis
Le 15/06/2021 à 15:28, George Joseph a écrit : [2021-06-15 10:42:49.885] WARNING[5163]: res_pjsip_messaging.c:247 insert_user_in_contact_uri: Dest: 'PJSIP/3200@linphone' MSG SEND FAIL: There's already a username in endpoint linphone's contact URI 'sip:linphone@127.0.0.1:5063

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-06-15 Thread George Joseph
On Tue, Jun 15, 2021 at 2:49 AM Jean Aunis wrote: > Le 09/06/2021 à 16:18, George Joseph a écrit : > > Hi Guys, > > > > The change for allowing a dialstring-like destination in MessageSend > > (pjsip only) is now committed in the 16, 18 and master branches. You > > can now use

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-06-15 Thread Jean Aunis
Le 09/06/2021 à 16:18, George Joseph a écrit : Hi Guys, The change for allowing a dialstring-like destination in MessageSend (pjsip only) is now committed in the 16, 18 and master branches.  You can now use MessageSend(pjsip:PJSIP/@) and the request URI will be composed of the endpoint's

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-06-09 Thread George Joseph
Hi Guys, The change for allowing a dialstring-like destination in MessageSend (pjsip only) is now committed in the 16, 18 and master branches. You can now use MessageSend(pjsip:PJSIP/@) and the request URI will be composed of the endpoint's contact uri with the number inserted as the user

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-05-05 Thread Jean Aunis
Le 04/05/2021 à 20:30, George Joseph a écrit : I think the easiest way to solve this is to just allow MessageSend take the same format as a simple dial string like so MessageSend(pjsip:PJSIP/8005551212@provider) "pjsip:" routes the request to the pjsip channel driver. "PJSIP/" tells the

Re: [asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-05-04 Thread George Joseph
On Tue, May 4, 2021 at 8:49 AM Jean Aunis wrote: > Hi, > > I'm trying to send a SIP MESSAGE to a PJSIP endpoint, while specifying a > destination number (that is, the "user" portion of the request URI in > sip:u...@domain.com). > > Currently, this is only possible by specifying the full request

[asterisk-dev] PJSIP messaging : specifying the user portion of the request-URI

2021-05-04 Thread Jean Aunis
Hi, I'm trying to send a SIP MESSAGE to a PJSIP endpoint, while specifying a destination number (that is, the "user" portion of the request URI in sip:u...@domain.com). Currently, this is only possible by specifying the full request URI. For example, someone could use: >