[OpenSIPS-Users] *** Help**Users Digest, Vol 70, Issue 32

RuvixTel ruvixtel at gmail.com
Wed May 21 00:45:39 CEST 2014


Hi Opensips,

This is Anup from RuvixTel, I can see my request has been mentioned  in this discussion ( today's topic #2) but no one replied to it. Could any one please help us? For u r convenient I copied my request below:

>   2. Need assistance : we want to modify TO header of    INVITE and like


> Hi
> 
> We are using opensips -1.6.2
> 
> According to our requirement we want to modify TO header of INVITE so for that we have appended uac_replace_to function but it works only for the first time but we may require this more than one time and it works if we call t_relay() function but in that sometimes it has no voice
> Let us know how can we achieve this We are using this function in branch route.


Cheers
Anup 

> On 20 May 2014, at 2:14 pm, users-request at lists.opensips.org wrote:
> 
> Send Users mailing list submissions to
>    users at lists.opensips.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>    users-request at lists.opensips.org
> 
> You can reach the person managing the list at
>    users-owner at lists.opensips.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
> 
> 
> Today's Topics:
> 
>   1. ??: opensips failed during startup! Do i lost modules?
>      (toasterisk at gmail.com)
>   2. Need assistance : we want modify TO header of    INVITE and like
>      to use it more than one time (RuvixTel)
>   3. Re: ??: opensips failed during startup! Do i lost modules?
>      (Tito Cumpen)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 20 May 2014 10:09:52 +0800
> From: "toasterisk at gmail.com" <toasterisk at gmail.com>
> Subject: [OpenSIPS-Users] ??: opensips failed during startup! Do i
>    lost modules?
> To: opensips <users at lists.opensips.org>
> Message-ID: <201405201009487039312 at gmail.com>
> Content-Type: text/plain; charset="gb2312"
> 
> hello:
> I used default cfg file, there is no error when startup. 
> But when i use the example cfg from this link :
> http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8 
> I will get the errors.
> 
> 
> 
> Cheers!
> 
> ???? toasterisk at gmail.com
> ????? 2014-05-19 21:42
> ???? opensips
> ??? opensips failed during startup! Do i lost modules?
> hello, all of friends:
> I try to compile with this link for my opensips and asterisk:
> http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration 
> I compile the opensip by make all, it should compiled all modules.
> but i use the example opensips.cfg from the link, when start the opensips, the system logs show 
> there are many error with modules:
> ====================errors==================================================
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 113, column 20-21: unknown command <is_method>, missing loadmodule? 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 116, column 27-28: unknown command <is_method>, missing loadmodule? 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <record_route>(0) in module rr [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 126, column 21-22: unknown command <is_method>, missing loadmodule? 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_check_trans>(0) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 146, column 18-19: unknown command <is_method>, missing loadmodule? 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <append_hf> not found 
> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 190, column 19-20: unknown command <append_hf>, missing loadmodule? 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found 
> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 196, column 18-19: unknown command <is_method>, missing loadmodule? 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <www_authorize>(2) in module auth_db [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <www_challenge>(2) in module auth [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <check_to>(0) in module uri [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <save>(1) in module registrar [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <is_from_local>(0) in module domain [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <lookup>(1) in module registrar [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_on_failure>(1) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_was_cancelled>(0) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_check_status>(1) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/] 
> May 19 21:17:16 opensips-1 opensips: ERROR:core:main: bad config file (17 errors)  
> ------------------------------------------------------
> Does anyone know this problem? please give me the hit.
> Thanks!
> 
> 
> 
> Cheers!
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opensips.org/pipermail/users/attachments/20140520/9e651919/attachment-0001.htm>
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 20 May 2014 12:35:14 +1000
> From: RuvixTel <ruvixtel at gmail.com>
> Subject: [OpenSIPS-Users] Need assistance : we want modify TO header
>    of    INVITE and like to use it more than one time
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Cc: rajat kapoor <noc at ruvixtel.net>
> Message-ID: <11ED2291-BEB4-41EA-99CC-C953854918F4 at gmail.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi
> 
> We are using opensips -1.6.2
> 
> According to our requirement we want to modify TO header of INVITE so for that we have appended uac_replace_to function but it works only for the first time but we may require this more than one time and it works if we call t_relay() function but in that sometimes it has no voice
> Let us know how can we achieve this We are using this function in branch route
> 
> Your assistance will be highly appreciated. 
> 
> 
> Cheers
> Anup 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opensips.org/pipermail/users/attachments/20140520/cb465589/attachment-0001.htm>
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 20 May 2014 00:13:56 -0400
> From: Tito Cumpen <tito at xsvoce.com>
> Subject: Re: [OpenSIPS-Users] ??: opensips failed during startup! Do i
>    lost modules?
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
>    <CANZPVB7QnbVOZqkyUee54aLX6=yzyAUM0B3ZDYeiN7TScokqrQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Make sure your modules directory is correct. Make sure you notice the
> differences in both configs as far as directories are concerned. I presume
> this is the issue you are incurring.
> 
> #set module path
> mpath="/lib/opensips/modules/"
> 
> 
> 
> On Mon, May 19, 2014 at 10:09 PM, toasterisk at gmail.com <toasterisk at gmail.com
>> wrote:
> 
>> hello:
>> I used default cfg file, there is no error when startup.
>> But when i use the example cfg from this link :
>> 
>> http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8
>> 
>> I will get the errors.
>> 
>> ------------------------------
>> *Cheers!*
>> 
>> 
>> *????* toasterisk at gmail.com
>> *?????* 2014-05-19 21:42
>> *????* opensips <users at lists.opensips.org>
>> *???* opensips failed during startup! Do i lost modules?
>> hello, all of friends:
>> I try to compile with this link for my opensips and asterisk:
>> http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration
>> 
>> I compile the opensip by make all, it should compiled all modules.
>> but i use the example opensips.cfg from the link, when start the opensips,
>> the system logs show
>> there are many error with modules:
>> 
>> ====================errors==================================================
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in
>> config file /usr/local/etc/opensips/opensips.cfg, line 113, column 20-21:
>> unknown command <is_method>, missing loadmodule?
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in
>> config file /usr/local/etc/opensips/opensips.cfg, line 116, column 27-28:
>> unknown command <is_method>, missing loadmodule?
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <record_route>(0) in module rr [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in
>> config file /usr/local/etc/opensips/opensips.cfg, line 126, column 21-22:
>> unknown command <is_method>, missing loadmodule?
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_check_trans>(0) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in
>> config file /usr/local/etc/opensips/opensips.cfg, line 146, column 18-19:
>> unknown command <is_method>, missing loadmodule?
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <append_hf> not found
>> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in
>> config file /usr/local/etc/opensips/opensips.cfg, line 190, column 19-20:
>> unknown command <append_hf>, missing loadmodule?
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t:
>> <is_method> not found
>> May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in
>> config file /usr/local/etc/opensips/opensips.cfg, line 196, column 18-19:
>> unknown command <is_method>, missing loadmodule?
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <www_authorize>(2) in module auth_db [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <www_challenge>(2) in module auth [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <check_to>(0) in module uri [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <save>(1) in module registrar [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <is_from_local>(0) in module domain [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <lookup>(1) in module registrar [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_on_failure>(1) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_was_cancelled>(0) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_check_status>(1) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found
>> <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
>> May 19 21:17:16 opensips-1 opensips: ERROR:core:main: bad config file (17
>> errors)
>> ------------------------------------------------------
>> Does anyone know this problem? please give me the hit.
>> Thanks!
>> 
>> ------------------------------
>> *Cheers!*
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.opensips.org/pipermail/users/attachments/20140520/9b87d8d0/attachment.htm>
> 
> ------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> End of Users Digest, Vol 70, Issue 32
> *************************************



More information about the Users mailing list