Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-07 Thread Jonathan Hunter
Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, you can reorganize the config in order to execute t_relay() for ACK, then you can do your stuff after it. if is ack { t_relay(); custom stuff exit; } Cheers,

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Daniel-Constantin Mierla
n relayed? > > > Thanks > > > Jon > > > > > *From:* Daniel-Constantin Mierla <mico...@gmail.com> > *Sent:* 05 December 2016 13:54 > *To:* Jonathan Hunter; Kamailio SER - Users Mailing List > *Subj

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Jonathan Hunter
relayed? Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 05 December 2016 13:54 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Daniel-Constantin Mierla
-> > > > So in effect RELAY the ACK, then trigger this SIP INFO to be sent? > > > Thanks > > > Jon > > > > > > *From:* Daniel-Constantin Mierla <mico...@gmail.com> > *Sent:*

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Jonathan Hunter
Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 05 December 2016 10:32 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, all the headers must be in a sing

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Daniel-Constantin Mierla
ing the command? > > > Thanks > > > Jon > > > > > *From:* sr-users <sr-users-boun...@lists.sip-router.org> on behalf of > Jonathan Hunter <hunter...@hotmail.com> > *Sent:* 01 December 2016 16:12 > *To:* Kamailio SER - Users Mailing List; mico...@gmail

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Daniel-Constantin Mierla
Hello, all the headers must be in a single parameter, I see that you provide headers one by one in the params array. Try: jsonrpc_exec(' { "jsonrpc":"2.0", "method":"tm.t_uac_start", "params": [ "INFO", "$dlg(to_uri)", ".", ".",

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-02 Thread Jonathan Hunter
From: sr-users <sr-users-boun...@lists.sip-router.org> on behalf of Jonathan Hunter <hunter...@hotmail.com> Sent: 01 December 2016 16:12 To: Kamailio SER - Users Mailing List; mico...@gmail.com Subject: Re: [SR-Users] Send SIP Info within a dialog usi

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Jonathan Hunter
Hi Daniel, I am trying tm.t_uac_start and its stating Content-Type Missing, I have tried to add to params but it doesnt like it, where should it be defined? Command below; jsonrpc_exec('{"jsonrpc":"2.0","method":"tm.t_uac_start","params": ["INFO",

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Jonathan Hunter
December 2016 12:24 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, are you still trying with MI command via kamctl? Not with the jsonrpc-s module and tm.t_uac_start? When dou

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Daniel-Constantin Mierla
-- > *From:* Daniel-Constantin Mierla <mico...@gmail.com> > *Sent:* 01 December 2016 12:24 > *To:* Jonathan Hunter; Kamailio SER - Users Mailing List > *Subject:* Re: [SR-Users] Send SIP Info within a dialog using > $uac_req(method)="INFO" > > > Hello, >

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Jonathan Hunter
From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 01 December 2016 12:24 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, are you still trying with MI co

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Daniel-Constantin Mierla
STOP"\r\n\"" > > > Can you tell me how I can escape " so its actually within the SIP > header itself? > > Many thanks > > Jon > > > > ------------------------ > *From:* sr-users <sr-user

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-30 Thread Jonathan Hunter
" so its actually within the SIP header itself? Many thanks Jon From: sr-users <sr-users-boun...@lists.sip-router.org> on behalf of Jonathan Hunter <hunter...@hotmail.com> Sent: 25 November 2016 18:55 To: Kamailio SER - Users Mailing List; mic

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-25 Thread Jonathan Hunter
8 To:sip:3003@193.144.1.112 Contact:sip:daemon@8.8.8.8 " Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com><mailto:mico...@gmail.com> Sent: 22 November 2016 13:10 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-22 Thread Daniel-Constantin Mierla
gt;>> >>> And still get invalid socket, as it is including all the SIP headers >>> in with the port parameter so I presume I am missing an operator? >>> >>> >>> /usr/sbin/kamailio[28999]: ERROR: [main.c:1128]: >>> parse_phostport(): too ma

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-22 Thread Jonathan Hunter
003@193.144.1.112 Contact:sip:daemon@8.8.8.8 " Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 22 November 2016 13:10 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-22 Thread Daniel-Constantin Mierla
in >> udp:10.70.1.136:5060From:sip:1234@8.8.8.8rnTo:sip:3003@193.144.1.112rnContact:sip:daemon@8.8.8.8rn' >> >> >> >> Its including them all as the local socket/port. >> >> Thanks >> >> Jon >> >> --

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-22 Thread Jonathan Hunter
Hello, One last question relating to this issue of sending SIP INFO within a dialog. (Sorry!) As you know I now have t_uac_dlg working with the exec module to create the SIP INFO, however how do I inject it effectively within the dialog? I have added event_route[dialog:start] as thought

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-21 Thread Jonathan Hunter
hem all as the local socket/port. Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com><mailto:mico...@gmail.com> Sent: 21 November 2016 11:29 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-21 Thread Daniel-Constantin Mierla
> *From:* Daniel-Constantin Mierla <mico...@gmail.com> > *Sent:* 21 November 2016 11:29 > *To:* Jonathan Hunter; Kamailio SER - Users Mailing List > *Subject:* Re: [SR-Users] Send SIP Info within a dialog using > $uac_req(method)="

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-21 Thread Jonathan Hunter
m><mailto:mico...@gmail.com> Sent: 17 November 2016 09:43 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, just to point out a trick that sometime can save backslash escaping

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-21 Thread Daniel-Constantin Mierla
; > > Thanks > > Jon > > > ------------------------ > *From:* Daniel-Constantin Mierla <mico...@gmail.com> > *Sent:* 17 November 2016 09:43 > *To:* Jonathan Hunter; Kamailio SER - Users Mailing List > *Subject:* Re:

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-20 Thread Jonathan Hunter
y colons in udp:10.70.1.136:5060"From:sip:1234@8.8.8.8 Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 17 November 2016 09:43 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $u

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-17 Thread Daniel-Constantin Mierla
> > *From:* sr-users <sr-users-boun...@lists.sip-router.org> on behalf of > Jonathan Hunter <hunter...@hotmail.com> > *Sent:* 16 November 2016 12:06 > *To:* Kamailio SER - Users Mailing List; mico...@gmail.c

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-16 Thread Jonathan Hunter
16 12:06 To: Kamailio SER - Users Mailing List; mico...@gmail.com Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello Daniel, Sorry to bother you again, last time! So the mi command line is; kamctl mi t_uac_dlg INFO sip:3003@193.144.1.112

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-16 Thread Jonathan Hunter
9:45 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, as I can see in the logs, the rpc command fails to execute because it requires async processing which is not implemented by jsonrp

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-16 Thread Jonathan Hunter
r 2016 09:45 To: Jonathan Hunter; Kamailio SER - Users Mailingh List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, as I can see in the logs, the rpc command fails to execute because it requires async processing which is not implemented by

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-16 Thread Daniel-Constantin Mierla
Hello, as I can see in the logs, the rpc command fails to execute because it requires async processing which is not implemented by jsonrpc-s module. Then it is an INVITE received: ct 7 13:45:36 POC_ProxyA /usr/sbin/kamailio[6572]: INFO:

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
Hello, Please see debug output for when I try and send the SIP INFO when I am initiating a new call. I am just testing out the command currently, in practice I will look to inject the SIP INFO into an already formed dialog, so is the way I am trying to test cause me an issue? I can see;

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Daniel-Constantin Mierla
rrectly) you can get the command to overwrite > the current contents of the headers, so as above the RURI would change > to sip:3003@8.8.8.8 and the From to sip:1234@2.2.2.2 etc, however they > remain unchanged. > > Does that make sense? > > Thanks > > Jon > > > > > > > ---

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
;,".","From:sip:1234@2.2.2.2","To:sip:3003@8.8.8.8","Contact:sip:1234@2.2.2.2"]}'); All I see it fire is an INFO message to Request-Line: INFO sip:kamailio.org SIP/2.0, with default parameters. Thanks Jon From:

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Daniel-Constantin Mierla
ot;,".",".","From:sip:1234@2.2.2.2","To:sip:3003@8.8.8.8","Contact:sip:1234@2.2.2.2"]}'); > > All I see it fire is an INFO message to Request-Line: INFO > sip:kamailio.org SIP/2.0, with default parameters. > > > Thanks > > > Jon > > > -

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
); All I see it fire is an INFO message to Request-Line: INFO sip:kamailio.org SIP/2.0, with default parameters. Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 15 November 2016 08:03 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Daniel-Constantin Mierla
144.1.112","Contact:sip:daemon@8.8.8.8"]}]] > > Can you give me some clues on how to input the params as its not clear > to me from kamailio or json rpc docs. > > > > Many thanks > > Jon > > > > > -

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-14 Thread Jonathan Hunter
put the params as its not clear to me from kamailio or json rpc docs. Many thanks Jon ____ From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 17 October 2016 09:45 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SI

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-10-17 Thread Daniel-Constantin Mierla
------- > To: sr-users@lists.sip-router.org > From: mico...@gmail.com > Date: Thu, 6 Oct 2016 12:41:32 +0200 > Subject: Re: [SR-Users] Send SIP Info within a dialog using > $uac_req(method)="INFO" > > Hello, > uac_req_send() i

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-10-14 Thread Jonathan Hunter
I doing wrong with the syntax? Thanks Jon From: hunter...@hotmail.com To: mico...@gmail.com; sr-users@lists.sip-router.org Date: Fri, 14 Oct 2016 08:52:25 + Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hi Daniel, Thanks for the response, so

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-10-14 Thread Jonathan Hunter
looking to modify in a B2BUA rather than the proxy, or will the dialog module handle this? Thanks Jon To: sr-users@lists.sip-router.org From: mico...@gmail.com Date: Thu, 6 Oct 2016 12:41:32 +0200 Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-10-06 Thread Daniel-Constantin Mierla
Hello, uac_req_send() is able to send only initial requests (with follow up on auth challenge). It doesn't expose the ability to send requests within a dialog -- the functions exist in c (tm module), but not availble in config. On the other hand, there should be a mi/rpc command exported by tm

[SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-09-29 Thread Jonathan Hunter
Hi Guys, Is it still the case that when using uac_req_send, you cant send withing a specific dialog?I can modify call-id, but I presume tags may be more of a problem?See old post below from 2015; > I am familiar with uac_req_send. but how do I send it with in a > specific dialog and with data in