[SR-Users] $rs printed null

Daniel-Constantin Mierla miconda at gmail.com
Fri Jun 29 16:07:26 CEST 2018


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 <mailto: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
>>     <mailto: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 List
>>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>     <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
>     -- 
>     Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com>
>     www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>     Kamailio World Conference -- www.kamailioworld.com <http://www.kamailioworld.com>
>
>
>
>
> -- 
> Andy Chen
> Sr. Telephony Lead Engineer
> 415 516 5535 (M)
> achen@ <mailto:achen at thinkingphones.com>fuze.com <http://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.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180629/108b3228/attachment.html>


More information about the sr-users mailing list