[SR-Users] $rs printed null

Andrew Chen achen at fuze.com
Tue Jul 3 14:27:46 CEST 2018


Ok.  Thanks for the response!  I'll try it out.

On Fri, Jun 29, 2018 at 10:07 AM, Daniel-Constantin Mierla <
miconda at gmail.com> wrote:

> If that is executed in a failure_route context, then the request is
> processed, not the response. You should use $T(reply_code).
>
> Cheers,
> Daniel
>
> On 29.06.18 14:46, Andrew Chen wrote:
>
> I have this route[FAIL_ONE] block that I'm printing this.
>
> On Fri, Jun 29, 2018 at 3:42 AM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>> Hello,
>>
>> in which route block type you tried to print $rs?
>>
>> Cheers,
>> Daniel
>>
>> On 28.06.18 17:11, Andrew Chen wrote:
>>
>> Hi community,
>>
>> So I'm running 4.1.5 Kam version and I wanted to print out $rs variable.
>> It printed out <null> right after the 183 session.
>>
>> Should it print something?  What our server side sent is this:
>>
>> INVITE
>> 100
>> 183
>> 488 or 487
>>
>> And this is the output in kam logs:
>>
>> Jun 28 15:05:49 sjomainfnsg51 /usr/local/sbin/*kamailio*[15215]: INFO:
>> <script>: [4975Fz-ses1-414b02f5R68422169 at 192.168.0.22][2][CSeq 1]
>> fuze_for_mac/99.99.99999 Reply status <null> detected...
>>
>> any thoughts?
>>
>> Thanks
>>
>> --
>> Andy Chen
>>
>>
>>
>> *Confidentiality Notice: The information contained in this e-mail and any
>> attachments may be confidential. If you are not an intended recipient, you
>> are hereby notified that any dissemination, distribution or copying of
>> this
>> e-mail is strictly prohibited. If you have received this e-mail in error,
>> please notify the sender and permanently delete the e-mail and any
>> attachments immediately. You should not retain, copy or use this e-mail or
>> any attachment for any purpose, nor disclose all or any part of the
>> contents to any other person. Thank you.*
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio World Conference -- www.kamailioworld.com
>>
>>
>
>
> --
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ <achen at thinkingphones.com>fuze.com
>
>
> *Confidentiality Notice: The information contained in this e-mail and any
> attachments may be confidential. If you are not an intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> e-mail is strictly prohibited. If you have received this e-mail in error,
> please notify the sender and permanently delete the e-mail and any
> attachments immediately. You should not retain, copy or use this e-mail or
> any attachment for any purpose, nor disclose all or any part of the
> contents to any other person. Thank you.*
>
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio World Conference -- www.kamailioworld.com
>
>


-- 
Andy Chen
Sr. Telephony Lead Engineer
415 516 5535 (M)
achen@ <achen at thinkingphones.com>fuze.com

-- 
*Confidentiality Notice: The information contained in this e-mail and any

attachments may be confidential. If you are not an intended recipient, you

are hereby notified that any dissemination, distribution or copying of this

e-mail is strictly prohibited. If you have received this e-mail in error,

please notify the sender and permanently delete the e-mail and any

attachments immediately. You should not retain, copy or use this e-mail or

any attachment for any purpose, nor disclose all or any part of the

contents to any other person. Thank you.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180703/98b4da08/attachment.html>


More information about the sr-users mailing list