Re: [SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-07 Thread Gertjan Wolzak
Hello Daniel, The result shows something.. {1 2 INVITE 0_372743387@10.88.77.184} 4(71763) DEBUG: exec [exec_hf.c:293]: print_hf_var(): SIP_HF_FROM="0015659a9931" ;tag=3513769255 {1 2 INVITE 0_372743387@10.88.77.184} 4(71763) DEBUG: exec [exec_hf.c:293]: print_hf_var():

Re: [SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-07 Thread Daniel-Constantin Mierla
Hello, logs indicates that processing went ok, can you print all the avps after the exec_avp() - use: https://www.kamailio.org/docs/modules/stable/modules/avpops.html#avpops.f.avp_print Keep debug=3. Cheers, Daniel On 07.06.19 09:44, Gertjan Wolzak wrote: > > Thanks again Daniel, > > Ive run

Re: [SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-07 Thread Gertjan Wolzak
Thanks again Daniel, Ive run the scenario with debug enabled: {1 2 INVITE 0_3892118735@10.88.77.184} 6(71459) exec: *** cfgtrace:request_route=[FROMUPDATE_EXTERN] c=[/etc/kamailio/kamailio.cfg] l=1688 a=63 n=assign {1 2 INVITE 0_3892118735@10.88.77.184} 6(71459) exec: ***

Re: [SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-06 Thread Daniel-Constantin Mierla
Hello, run with debug=3 in kamailio.cfg and see if you spot any debug message that can help figuring out what happens. Cheers, Daniel On 06.06.19 13:48, Gertjan Wolzak wrote: > > Hello Kamailions, > > After the feedback from Daniel, I have tried some other things. > > The php script works, for

[SR-Users] Fwd: Re: reading php script result with exec_avp

2019-06-06 Thread Gertjan Wolzak
Hello Kamailions, After the feedback from Daniel, I have tried some other things. The php script works, for testing purposes I changed the php action to write a text file in the /tmp directory. This works when the incoming call is handled by Kamailio, so I know the script gets executed.