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

2016-12-07 Thread Jonathan Hunter
: 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, Daniel On 05/12/2016 15:03

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 > *Sent:* 05 December 2016 13:54 > *To:* Jonathan Hunter; Kamailio SER - Users Mailing List > *Subject:* Re: [SR-Users] Send SIP In

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 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" Hello, the ACK for requests with

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 > *Sent:* 05 December 2016 10:

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 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 single parameter, I see th

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

2016-12-05 Thread Daniel-Constantin Mierla
before firing the command? > > > Thanks > > > Jon > > > > > *From:* sr-users on behalf of > Jonathan Hunter > *Sent:* 01 December 2016 16:12 > *To:* Kamailio SER - Users Mailing List; mico...@gmail.com > *Subject:* Re: [SR-Users] Send SIP Info within a d

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)", ".", ".", "From:$var(testjon)\r\nTo:$var(testjon2)\r\

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

2016-12-02 Thread Jonathan Hunter
anks Jon From: sr-users on behalf of Jonathan Hunter 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 using $uac_req(method)="INFO" Hi Daniel, I am trying tm

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", "$dlg(to_uri)",".",".","From:$var(testjon)\r\

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

2016-12-01 Thread 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 double quotes disappear is likely due to command line i

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 > *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 st

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

2016-12-01 Thread Jonathan Hunter
From: Daniel-Constantin Mierla 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 command via kamctl? Not with the jsonrpc-s m

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

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

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

2016-11-30 Thread Jonathan Hunter
an escape " so its actually within the SIP header itself? Many thanks Jon From: sr-users on behalf of Jonathan Hunter Sent: 25 November 2016 18:55 To: Kamailio SER - Users Mailing List; mico...@gmail.com Subject: Re: [

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

2016-11-25 Thread Jonathan Hunter
Hi Daniel, Great thanks very much, will give it a try. Jon From: Daniel-Constantin Mierla Sent: 22 November 2016 18:46 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-22 Thread Daniel-Constantin Mierla
r_23469 > INFO > sip:3003@193.144.1.112 > . > udp:10.70.1.136:5060 > "From:sip:1234@8.8.8.8 > To:sip:3003@193.144.1.112 > Contact:sip:daemon@8.8.8.8 > " > > > Thanks > > > Jon > > > > ------------------------

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

2016-11-22 Thread Jonathan Hunter
234@8.8.8.8 To:sip:3003@193.144.1.112 Contact:sip:daemon@8.8.8.8 " Thanks Jon From: Daniel-Constantin Mierla 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 $u

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

2016-11-22 Thread Daniel-Constantin Mierla
[28999]: ERROR: [main.c:1128]: >> parse_phostport(): too many colons 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. >> >> Tha

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 thi

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

2016-11-21 Thread Jonathan Hunter
To:sip:3003@193.144.1.112rnContact:sip:daemon@8.8.8.8rn' Its including them all as the local socket/port. Thanks Jon From: Daniel-Constantin Mierla <mailto:mico...@gmail.com> Sent: 21 November 2016 11:29 To: Jonathan Hunter; Kamailio SER - Users Mailing

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

2016-11-21 Thread Daniel-Constantin Mierla
rt. > > Thanks > > Jon > > ---------------------------- > *From:* Daniel-Constantin Mierla > *Sent:* 21 November 2016 11:29 > *To:* Jonathan Hunter; Kamailio SER - Users Mailing List > *Subject:* Re: [SR-Users] Send SIP Info wit

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

2016-11-21 Thread Jonathan Hunter
ifo [mi_parser.c:245]: mi_parse_tree(): adding node <> ; val [main.c:1128]: parse_phostport(): too many colons in udp:10.70.1.136:5060"From:sip:1234@8.8.8.8 Thanks Jon ________________ From: Daniel-Constantin Mierla <mailto:mico...@gmail.com> Sent: 17 November 2016 09:4

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

2016-11-21 Thread Daniel-Constantin Mierla
g great in terms of generating >> the SIP INFO message, just need to get it to send within dialog and I >> have a solution. >> >> >> For reference the following works; >> >> >> exec_avp("kamctl mi t_uac_dlg INFO sip:3003@193.144.1.112 . . >> \\\"From:$fu\"\

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

2016-11-20 Thread Jonathan Hunter
_ From: Daniel-Constantin Mierla 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

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

2016-11-17 Thread Daniel-Constantin Mierla
; > > > *From:* sr-users on behalf of > Jonathan Hunter > *Sent:* 16 November 2016 12:06 > *To:* Kamailio SER - Users Mailing List; mico...@gmail.com > *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-16 Thread Jonathan Hunter
_ From: Daniel-Constantin Mierla Sent: 16 November 2016 09: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 re

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

2016-11-16 Thread Jonathan Hunter
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 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-16 Thread Jonathan Hunter
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 jsonrpc-s module. The

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
ectly) 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 > > > > > > > &g

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

2016-11-15 Thread Jonathan Hunter
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 ________ From: Daniel-Constantin Mierla Sent: 15 November 2016 10:12 To: Jonathan

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

2016-11-15 Thread Daniel-Constantin Mierla
.8",".",".","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 > > &g

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

2016-11-15 Thread Jonathan Hunter
t;]}'); 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 Sent: 15 November 2016 08:03 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Inf

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

2016-11-15 Thread Daniel-Constantin Mierla
03@193.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
ow to input the params as its not clear to me from kamailio or json rpc docs. Many thanks Jon From: Daniel-Constantin Mierla Sent: 17 October 2016 09:45 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dial

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_re

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 mo

[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