SerWeb says to
/* initial nummerical alias for new subscriber -- don't forget to align your SER routing script to it ! */
$this->first_alias_number=82000;
What parameter do you use to configure this in ser.cfg? Every test user I have singed up gets an alias of 82000...
Thanks,
Doug Eubanks
admin(a)dougware.net
*** DISCLAIMER ***
This e-mail and any attachments thereto may contain information, which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation.
thanks richard
the total log is
********************************************************
5(3375) SIP Request:
5(3375) method: <REGISTER>
5(3375) uri: <sip:xxx.xxx.net:5060>
5(3375) version: <SIP/2.0>
5(3375) parse_headers: flags=1
5(3375) end of header reached, state=5
5(3375) parse_headers: Via found, flags=1
5(3375) parse_headers: this is the first via
5(3375) After parse_msg...
5(3375) preparing to run routing scripts...
5(3375) DEBUG : is_maxfwd_present: searching for
max_forwards header
5(3375) parse_headers: flags=128
5(3375) end of header reached, state=9
5(3375) DEBUG: get_hdr_field: <To> [32];
uri=[sip:214103@xxx.xxx.net]
5(3375) DEBUG: to body [<sip:214103@xxx.xxx.net>
]
5(3375) get_hdr_field: cseq <CSeq>: <1> <REGISTER>
5(3375) DEBUG: get_hdr_body : content_length=0
5(3375) found end of header
5(3375) DEBUG: is_maxfwd_present: max_forwards header
not found!
5(3375) check_via_address(202.*.*.84, 202.*.*.84, 0)
5(3375) parse_headers: flags=256
5(3375) find_first_route(): No Route headers found
5(3375) loose_route(): There is no Route HF
5(3375) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) parse_headers: flags=4096
5(3375) pre_auth(): Credentials with given realm not
found
5(3375) build_auth_hf(): 'WWW-Authenticate: Digest
realm="xxx.xxx.net",
nonce="4119fb5a9c239d786a3f9d297a6131008372c39b"
'
5(3375) parse_headers: flags=-1
5(3375) check_via_address(202.*.*.84, 202.*.*.84, 0)
5(3375) receive_msg: cleaning up
6(3382) SIP Request:
6(3382) method: <REGISTER>
6(3382) uri: <sip:xxx.xxx.net:5060>
6(3382) version: <SIP/2.0>
6(3382) parse_headers: flags=1
6(3382) end of header reached, state=5
6(3382) parse_headers: Via found, flags=1
6(3382) parse_headers: this is the first via
6(3382) After parse_msg...
6(3382) preparing to run routing scripts...
6(3382) DEBUG : is_maxfwd_present: searching for
max_forwards header
6(3382) parse_headers: flags=128
6(3382) end of header reached, state=9
6(3382) DEBUG: get_hdr_field: <To> [32];
uri=[sip:215104@xxx.xxx.net]
6(3382) DEBUG: to body [<sip:215104@xxx.xxx.net>
]
6(3382) get_hdr_field: cseq <CSeq>: <2> <REGISTER>
6(3382) DEBUG: get_hdr_body : content_length=0
6(3382) found end of header
6(3382) DEBUG: is_maxfwd_present: max_forwards header
not found!
6(3382) check_via_address(202.*.*.84, 202.*.*.84, 0)
6(3382) parse_headers: flags=256
6(3382) find_first_route(): No Route headers found
6(3382) loose_route(): There is no Route HF
6(3382) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) parse_headers: flags=4096
6(3382) pre_auth(): Credentials with given realm not
found
6(3382) build_auth_hf(): 'WWW-Authenticate: Digest
realm="xxx.xxx.net",
nonce="4119fb5a9c239d786a3f9d297a6131008372c39b"
'
6(3382) parse_headers: flags=-1
6(3382) check_via_address(202.*.*.84, 202.*.*.84, 0)
6(3382) receive_msg: cleaning up
8(3394) SIP Request:
8(3394) method: <REGISTER>
8(3394) uri: <sip:xxx.xxx.net:5060>
8(3394) version: <SIP/2.0>
8(3394) parse_headers: flags=1
8(3394) end of header reached, state=5
8(3394) parse_headers: Via found, flags=1
8(3394) parse_headers: this is the first via
8(3394) After parse_msg...
8(3394) preparing to run routing scripts...
8(3394) DEBUG : is_maxfwd_present: searching for
max_forwards header
8(3394) parse_headers: flags=128
8(3394) end of header reached, state=9
8(3394) DEBUG: get_hdr_field: <To> [32];
uri=[sip:214103@xxx.xxx.net]
8(3394) DEBUG: to body [<sip:214103@xxx.xxx.net>
]
8(3394) get_hdr_field: cseq <CSeq>: <3> <REGISTER>
8(3394) DEBUG: get_hdr_body : content_length=0
8(3394) found end of header
8(3394) DEBUG: is_maxfwd_present: max_forwards header
not found!
8(3394) check_via_address(202.*.*.84, 202.*.*.84, 0)
8(3394) parse_headers: flags=256
8(3394) find_first_route(): No Route headers found
8(3394) loose_route(): There is no Route HF
8(3394) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_nonce(): comparing
[4119fb5a9c239d786a3f9d297a6131008372c39b] and
[4119fb5a9c239d786a3f9d297a6131008372c39b]
8(3394) query="select password from subscriber where
username='214103' AND domain='xxx.xxx.net'"
8(3394) HA1 string calculated:
0984246f25855fa6513a3125ab956f58
8(3394) check_response(): Our result =
'2bf74cdbd9ffab55b541c4cdc0b07bf5'
8(3394) check_response(): Authorization is OK
8(3394) save_rpid(): rpid value is ''
8(3394) parse_headers: flags=1024
8(3394) DEBUG:parse_content_type_hdr: missing
Content-Typeheader
8(3394) DEBUG:cpl_process_register: Content-Type mime
found 0, 0
8(3394) parse_headers: flags=1048576
8(3394) DEBUG:parse_accept_hdr: missing Accept header
8(3394) XLOG: xl_print_log: final buffer length 29
8(3394) Error: fail cpl registering
8(3394) receive_msg: cleaning up
*******************************************************
in mysql ser database in cpl table i have like this
*******************************************************
mysql> select * from cpl;
+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| user | cpl_xml
| cpl_bin
|
+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| 214103(a)xxx.xxx.net | <?xml version="1.0"
encoding="UTF-8"?>
<!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL
1.0//EN' 'cpl.dtd'>
<cpl>
<outgoing>
<location url="sip:234102@xxx.xxx.net">
<reject status="reject" reason="you donot have
the rights" />
</location>
</outgoing>
<incoming>
<location url="sip:215104@xxx.xxx.net">
<redirect />
</location>
</incoming>
</cpl>
|
|
+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
in the ser.cfg i have like this
*******************************************************
# -- cpl-c module --
modparam("cpl-c","cpl_db","mysql://ser:heslo@localhost:3306/ser")
modparam("cpl-c","cpl_table","cpl")
modparam("cpl-c","cpl_dtd_file","/usr/local/etc/ser/cpl-06.dtd")
modparam("cpl-c","log_dir","/var/log/")
modparam("cpl-c","proxy_recurse",0)
if(method=="REGISTER")
{
if(!www_authorize("xxx.xxx.net", "subscriber")) {
www_challenge("xxx.xxx.net", "0");
break;
};
if(cpl_process_register()){
xlog("L_ERR","Error:
fail cpl registering \n");
break;
};
save("location");
break;
};
*******************************************************
with regards
serdiehard
--- Richard <mypop3mail(a)yahoo.com> wrote:
> Hi,
>
> The log you gave is not complete. If you can provide
> one full log of a cpl upload message, that would be
> helpful for me to figure out.
>
> Cheers,
> Richard
>
> --- ser die <serdiehard(a)yahoo.com> wrote:
>
> > hello richard,
> >
> > 8(2941) DEBUG:parse_accept_hdr: missing Accept
> > header
> > 8(2941) XLOG: xl_print_log: final buffer length
> 29
> > 8(2941) Error: fail cpl registering
> > 8(2941) receive_msg: cleaning up
> >
> > this error it is giveing
> > and the server is not up its continuosly try to
> > register the cpl but it s not registering
> >
> > when i save it , it has been saved in the database
> >
> > so where i most be doing wrong
> >
> > please guide me
> > with regards
> > voipser
> > --- Richard <mypop3mail(a)yahoo.com> wrote:
> >
> > > Hi,
> > >
> > > Can you use the follow code and check log to see
> > > where
> > > it fails?
> > >
> > > xlog("L_INFO", "About to register cpl
> script\n");
> > > # register cpl
> > > if(!cpl_process_register()) {
> > > xlog("L_ERR", "Error: fail cpl
> > registering\n");
> > > break;
> > > }
> > >
> > > --- ser die <serdiehard(a)yahoo.com> wrote:
> > >
> > > > i have uploded the script to the database via
> > sip
> > > > using CPLED but i have not seen any binary
> > version
> > > > of
> > > > the data in the cpl table only user name and
> the
> >
> > > > xml have been there in that table
> > > >
> > > > i have the cpl related instruction in the
> > ser.cfg
> > > > as follows
> > > >
> > > >
> > *************************************************
> > > >
> > > > #cpl
> > > >
> > >
> >
>
modparam("cpl-c","cpl_dtd_file","/usr/local/etc/ser/cpl-06.dtd")
> > > >
> > >
> >
>
modparam("cpl-c","cpl_db","mysql://ser:heslo@localhost/ser")
> > > > modparam("cpl-c","cpl_table","cpl")
> > > > modparam("cpl-c","lookup_domain","location")
> > > >
> > > >
> > > > if (uri==myself)
> > > > {
> > > >
> > > > if
> > > > (method=="REGISTER")
> > > > {
> > > > if
> > > > (!www_authorize("xxx.xx.net",
> > > "subscriber"))
> > > > {
> > > >
> > > > www_challenge("xx.xx.net", "0");
> > > > break;
> > > > };
> > > >
> > > > cpl_process_register();
> > > >
> > save("location");
> > > > break;
> > > > };
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
*******************************************************
> > > >
> > > >
> > > > --- Richard <mypop3mail(a)yahoo.com> wrote:
> > > >
> > > > > Did you upload the cpl?
> > > > >
> > > > > cpl_bin needs to have the compiled version
> of
> > > the
> > > > > xml
> > > > > script. You can use CPLED to upload it via
> > SIP.
> > > > Then
> > > > > use cpl_process_register() in the script to
> > > accept
> > > > > it.
> > > > >
> > > > > Cheers,
> > > > > Richard
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > New and Improved Yahoo! Mail - 100MB free
> > storage!
> > > > http://promotions.yahoo.com/new_mail
> > > >
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail - 50x more storage than other
> > providers!
> > > http://promotions.yahoo.com/new_mail
> > >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Take Yahoo! Mail with you! Get it on your mobile
> > phone.
> > http://mobile.yahoo.com/maildemo
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
thanks richard
the total log is
********************************************************
5(3375) SIP Request:
5(3375) method: <REGISTER>
5(3375) uri: <sip:xxx.xxx.net:5060>
5(3375) version: <SIP/2.0>
5(3375) parse_headers: flags=1
5(3375) end of header reached, state=5
5(3375) parse_headers: Via found, flags=1
5(3375) parse_headers: this is the first via
5(3375) After parse_msg...
5(3375) preparing to run routing scripts...
5(3375) DEBUG : is_maxfwd_present: searching for
max_forwards header
5(3375) parse_headers: flags=128
5(3375) end of header reached, state=9
5(3375) DEBUG: get_hdr_field: <To> [32];
uri=[sip:214103@xxx.xxx.net]
5(3375) DEBUG: to body [<sip:214103@xxx.xxx.net>
]
5(3375) get_hdr_field: cseq <CSeq>: <1> <REGISTER>
5(3375) DEBUG: get_hdr_body : content_length=0
5(3375) found end of header
5(3375) DEBUG: is_maxfwd_present: max_forwards header
not found!
5(3375) check_via_address(202.*.*.84, 202.*.*.84, 0)
5(3375) parse_headers: flags=256
5(3375) find_first_route(): No Route headers found
5(3375) loose_route(): There is no Route HF
5(3375) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
5(3375) check_self - checking if port 5060 matches
port 5060
5(3375) parse_headers: flags=4096
5(3375) pre_auth(): Credentials with given realm not
found
5(3375) build_auth_hf(): 'WWW-Authenticate: Digest
realm="xxx.xxx.net",
nonce="4119fb5a9c239d786a3f9d297a6131008372c39b"
'
5(3375) parse_headers: flags=-1
5(3375) check_via_address(202.*.*.84, 202.*.*.84, 0)
5(3375) receive_msg: cleaning up
6(3382) SIP Request:
6(3382) method: <REGISTER>
6(3382) uri: <sip:xxx.xxx.net:5060>
6(3382) version: <SIP/2.0>
6(3382) parse_headers: flags=1
6(3382) end of header reached, state=5
6(3382) parse_headers: Via found, flags=1
6(3382) parse_headers: this is the first via
6(3382) After parse_msg...
6(3382) preparing to run routing scripts...
6(3382) DEBUG : is_maxfwd_present: searching for
max_forwards header
6(3382) parse_headers: flags=128
6(3382) end of header reached, state=9
6(3382) DEBUG: get_hdr_field: <To> [32];
uri=[sip:215104@xxx.xxx.net]
6(3382) DEBUG: to body [<sip:215104@xxx.xxx.net>
]
6(3382) get_hdr_field: cseq <CSeq>: <2> <REGISTER>
6(3382) DEBUG: get_hdr_body : content_length=0
6(3382) found end of header
6(3382) DEBUG: is_maxfwd_present: max_forwards header
not found!
6(3382) check_via_address(202.*.*.84, 202.*.*.84, 0)
6(3382) parse_headers: flags=256
6(3382) find_first_route(): No Route headers found
6(3382) loose_route(): There is no Route HF
6(3382) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
6(3382) check_self - checking if port 5060 matches
port 5060
6(3382) parse_headers: flags=4096
6(3382) pre_auth(): Credentials with given realm not
found
6(3382) build_auth_hf(): 'WWW-Authenticate: Digest
realm="xxx.xxx.net",
nonce="4119fb5a9c239d786a3f9d297a6131008372c39b"
'
6(3382) parse_headers: flags=-1
6(3382) check_via_address(202.*.*.84, 202.*.*.84, 0)
6(3382) receive_msg: cleaning up
8(3394) SIP Request:
8(3394) method: <REGISTER>
8(3394) uri: <sip:xxx.xxx.net:5060>
8(3394) version: <SIP/2.0>
8(3394) parse_headers: flags=1
8(3394) end of header reached, state=5
8(3394) parse_headers: Via found, flags=1
8(3394) parse_headers: this is the first via
8(3394) After parse_msg...
8(3394) preparing to run routing scripts...
8(3394) DEBUG : is_maxfwd_present: searching for
max_forwards header
8(3394) parse_headers: flags=128
8(3394) end of header reached, state=9
8(3394) DEBUG: get_hdr_field: <To> [32];
uri=[sip:214103@xxx.xxx.net]
8(3394) DEBUG: to body [<sip:214103@xxx.xxx.net>
]
8(3394) get_hdr_field: cseq <CSeq>: <3> <REGISTER>
8(3394) DEBUG: get_hdr_body : content_length=0
8(3394) found end of header
8(3394) DEBUG: is_maxfwd_present: max_forwards header
not found!
8(3394) check_via_address(202.*.*.84, 202.*.*.84, 0)
8(3394) parse_headers: flags=256
8(3394) find_first_route(): No Route headers found
8(3394) loose_route(): There is no Route HF
8(3394) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_self - checking if host==us: 17==9 &&
[xxx.xxx.net] == [127.0.0.1]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_self - checking if host==us: 17==13 &&
[xxx.xxx.net] == [202.*.*.19]
8(3394) check_self - checking if port 5060 matches
port 5060
8(3394) check_nonce(): comparing
[4119fb5a9c239d786a3f9d297a6131008372c39b] and
[4119fb5a9c239d786a3f9d297a6131008372c39b]
8(3394) query="select password from subscriber where
username='214103' AND domain='xxx.xxx.net'"
8(3394) HA1 string calculated:
0984246f25855fa6513a3125ab956f58
8(3394) check_response(): Our result =
'2bf74cdbd9ffab55b541c4cdc0b07bf5'
8(3394) check_response(): Authorization is OK
8(3394) save_rpid(): rpid value is ''
8(3394) parse_headers: flags=1024
8(3394) DEBUG:parse_content_type_hdr: missing
Content-Typeheader
8(3394) DEBUG:cpl_process_register: Content-Type mime
found 0, 0
8(3394) parse_headers: flags=1048576
8(3394) DEBUG:parse_accept_hdr: missing Accept header
8(3394) XLOG: xl_print_log: final buffer length 29
8(3394) Error: fail cpl registering
8(3394) receive_msg: cleaning up
*******************************************************
in mysql ser database in cpl table i have like this
*******************************************************
mysql> select * from cpl;
+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| user | cpl_xml
| cpl_bin
|
+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| 214103(a)xxx.xxx.net | <?xml version="1.0"
encoding="UTF-8"?>
<!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL
1.0//EN' 'cpl.dtd'>
<cpl>
<outgoing>
<location url="sip:234102@xxx.xxx.net">
<reject status="reject" reason="you donot have
the rights" />
</location>
</outgoing>
<incoming>
<location url="sip:215104@xxx.xxx.net">
<redirect />
</location>
</incoming>
</cpl>
|
|
+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
in the ser.cfg i have like this
*******************************************************
# -- cpl-c module --
modparam("cpl-c","cpl_db","mysql://ser:heslo@localhost:3306/ser")
modparam("cpl-c","cpl_table","cpl")
modparam("cpl-c","cpl_dtd_file","/usr/local/etc/ser/cpl-06.dtd")
modparam("cpl-c","log_dir","/var/log/")
modparam("cpl-c","proxy_recurse",0)
if(method=="REGISTER")
{
if(!www_authorize("xxx.xxx.net", "subscriber")) {
www_challenge("xxx.xxx.net", "0");
break;
};
if(cpl_process_register()){
xlog("L_ERR","Error:
fail cpl registering \n");
break;
};
save("location");
break;
};
*******************************************************
with regards
serdiehard
--- Richard <mypop3mail(a)yahoo.com> wrote:
> Hi,
>
> The log you gave is not complete. If you can provide
> one full log of a cpl upload message, that would be
> helpful for me to figure out.
>
> Cheers,
> Richard
>
> --- ser die <serdiehard(a)yahoo.com> wrote:
>
> > hello richard,
> >
> > 8(2941) DEBUG:parse_accept_hdr: missing Accept
> > header
> > 8(2941) XLOG: xl_print_log: final buffer length
> 29
> > 8(2941) Error: fail cpl registering
> > 8(2941) receive_msg: cleaning up
> >
> > this error it is giveing
> > and the server is not up its continuosly try to
> > register the cpl but it s not registering
> >
> > when i save it , it has been saved in the database
> >
> > so where i most be doing wrong
> >
> > please guide me
> > with regards
> > voipser
> > --- Richard <mypop3mail(a)yahoo.com> wrote:
> >
> > > Hi,
> > >
> > > Can you use the follow code and check log to see
> > > where
> > > it fails?
> > >
> > > xlog("L_INFO", "About to register cpl
> script\n");
> > > # register cpl
> > > if(!cpl_process_register()) {
> > > xlog("L_ERR", "Error: fail cpl
> > registering\n");
> > > break;
> > > }
> > >
> > > --- ser die <serdiehard(a)yahoo.com> wrote:
> > >
> > > > i have uploded the script to the database via
> > sip
> > > > using CPLED but i have not seen any binary
> > version
> > > > of
> > > > the data in the cpl table only user name and
> the
> >
> > > > xml have been there in that table
> > > >
> > > > i have the cpl related instruction in the
> > ser.cfg
> > > > as follows
> > > >
> > > >
> > *************************************************
> > > >
> > > > #cpl
> > > >
> > >
> >
>
modparam("cpl-c","cpl_dtd_file","/usr/local/etc/ser/cpl-06.dtd")
> > > >
> > >
> >
>
modparam("cpl-c","cpl_db","mysql://ser:heslo@localhost/ser")
> > > > modparam("cpl-c","cpl_table","cpl")
> > > > modparam("cpl-c","lookup_domain","location")
> > > >
> > > >
> > > > if (uri==myself)
> > > > {
> > > >
> > > > if
> > > > (method=="REGISTER")
> > > > {
> > > > if
> > > > (!www_authorize("xxx.xx.net",
> > > "subscriber"))
> > > > {
> > > >
> > > > www_challenge("xx.xx.net", "0");
> > > > break;
> > > > };
> > > >
> > > > cpl_process_register();
> > > >
> > save("location");
> > > > break;
> > > > };
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
*******************************************************
> > > >
> > > >
> > > > --- Richard <mypop3mail(a)yahoo.com> wrote:
> > > >
> > > > > Did you upload the cpl?
> > > > >
> > > > > cpl_bin needs to have the compiled version
> of
> > > the
> > > > > xml
> > > > > script. You can use CPLED to upload it via
> > SIP.
> > > > Then
> > > > > use cpl_process_register() in the script to
> > > accept
> > > > > it.
> > > > >
> > > > > Cheers,
> > > > > Richard
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > New and Improved Yahoo! Mail - 100MB free
> > storage!
> > > > http://promotions.yahoo.com/new_mail
> > > >
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail - 50x more storage than other
> > providers!
> > > http://promotions.yahoo.com/new_mail
> > >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Take Yahoo! Mail with you! Get it on your mobile
> > phone.
> > http://mobile.yahoo.com/maildemo
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
i use binary ser file ( <file>.tar.gz) then tar -xvzf.
i try cross checking with this command ser -f /etc/ser/ser.cfg -E
-ddddddddddddd...it didn't work
then i try to start ser.... /etc/rc.d/init.d/ser start ....but there
is no ser file in /init.d
can anybody help me
Br/Zahari
AtlasONE Sdn Bhd
-----Original Message-----
From: Koyama Zehi [mailto:zehi_koyama@yahoo.com]
Sent: Friday, August 06, 2004 11:23 PM
To: Mohd Zahari Ab Ghani
Subject: RE: [Serusers] Installing ser package
if you are working with binary then just copy this file in " / "
directory in your linux system...then cd /
Now you are on / if you will do ls -ls you can see your src files with
others like root, etc, bin,home..etc..
Now you shoud make your self as Super User I mean to say either you have
to logged as root in your linux box..
after that do
tar -xvzf (filename..)
it will install the ser in your machine...
Now if every thing is ok..then just cross check....
with this command...
ser -f /etc/ser/ser.cfg -E -ddddddddddddd
If everything will right it will start SER on your machine....
u can refer this url:----
http://www.informatik.uni-bremen.de/~prelle/terena/cookbook/Cookbook_D2/
ch04s06.html
with best...
Mohd Zahari Ab Ghani <zahari(a)atlasone.net> wrote:
i'm working with binary...what's the next step to make it work on my
machine? i got stuck and thanks in advance any help
Br/Zahari
AtlasONE Sdn Bhd
-----Original Message-----
From: Koyama Zehi [mailto:zehi_koyama@yahoo.com]
Sent: Wednesday, August 04, 2004 7:16 PM
To: Mohd Zahari Ab Ghani; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Installing ser package
If I am thinking right you have downloaded the binary version of ser..in
this case just move your tar file on "/" and tar -xvzf filename....
it will install the banary package of ser in your machine...you dont
need to do make all...etc...
just make sure..are you working with source or binary....
Mohd Zahari Ab Ghani <zahari(a)atlasone.net> wrote:
Hi,
I'm having problem install ser-0.8.11_linux_i386.tar.gz , after I run
tar -xvzf <filename> then i try tu run "make all" but the system not
allow to do that with error msg
" make: *** No rule to make target 'all' . Stop. " Can you pls help me
how to make it work?
br
zahari
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_____
Do you Yahoo!?
Yahoo!
<http://us.rd.yahoo.com/mail_us/taglines/50x/*http://promotions.yahoo.co
m/new_mail/static/efficiency.html> Mail - 50x more storage than other
providers!
_____
Do you Yahoo!?
New
<http://us.rd.yahoo.com/mail_us/taglines/100/*http://promotions.yahoo.co
m/new_mail/static/efficiency.html> and Improved Yahoo! Mail - 100MB free
storage!
in ser.cfg file I have the lines like this
debug=8
log_stderror=yes
fork=no
but when I start ser with command
serctl start
it remains blocked in
Starting SER :
and no debug info is not printed on screen
Eugen Morjolic
+40723 295 213
Dear All.
I just want to make sure that if i will save the mail.template file of SEMS module in JIS (japanese character) then it would be ok.
As i have written some Kanji in side the mail.template file and save this file in the JIS encoding format then I am getting some trouble from AmSmtpCleint.cpp at the time of sending the mail. I am getting some parsing error.
But if the same file I will save in UTF-8 encoding then every thing is ok. But I want to save the file JIS encoding.
Could any body give me some Idea. How can I do it. Is Sems support only UTF8 encoding.
Thanks & Regards
Koyama
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
How does rtpproxy handle call hold? Normally when the
call is put on hold, it doesn't have any rtp packets
between two end UA. Would it cause rtpproxy to tear
down the connection after timeout (default 60s)?
Thanks,
Richard
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hey all,
I think there is something in the request which is wrong. I have just
tried forwarding to fwd in the same way, and have tried dialling the
service numbers (e.g. the time number, 612). fwd replies "too many hops"
when using the pdt module, but is absolutely fine when I dial
612(a)fwd.pulver.com
Again, compare the messages in the syslog:
Aug 11 10:36:51 sip /sbin/ser[25289]: ACC: transaction answered:
method=INVITE, i-uri=sip:83930612@sip.dev.inmarsat.com,
o-uri=sip:612@fwd.pulver.com
And
Aug 11 10:35:59 sip /sbin/ser[25288]: ACC: transaction answered:
method=INVITE, i-uri=sip:612@fwd.pulver.com,
o-uri=sip:612@fwd.pulver.com,
call_id=24369428-0E66-4DA4-AC30-CE0175B0BACE(a)161.30.94.150, from=Dave
Bath <sip:admin@sip.dev.inmarsat.com>;tag=1302198395, code=200
I don't think that both the first company (I believe running cisco call
manager) and fwd (which I believe runs ser as a front end?) incorrectly
handle the sip message.. and anyway, it shouldn't be the next-hop
proxy's job to ask for it again really... ser should send the correct
invite the first time...
Is there something to do with the record route? Expecting a reply from
83930612(a)sip.dev.inmarsat.com instead of 612(a)fwd.pulver.com?
I don't think this can be it.. but I don't understand why the invite
message doesn't appear to be successfully sent..
The ngrep's are attached to see the invite as sent by the UA and Ser to
fwd...
-----Original Message-----
From: Daniel-Constantin Mierla [mailto:daniel@iptel.org]
Sent: 11 August 2004 09:25
To: Dave Bath
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] PDT module
Hello,
as far as I know, pdt changes only the R-URI, so there is nothing to
worry about. Anyhow, since the request leaves your system, the next
proxy should report with a final response any problem it encounters (if
it is a malformed request it should be 400 Bad request, or it should be
at least time-out, not found a.s.o.) -- but I see only the provisional
100 Trying reply.
You can set another SER proxy in the way, just to see if the requests
passes through -- use t_relay_to_udp(...) to send the request to the
intermediary proxy and watch if the request is relayed further from
there.
Daniel
On 8/10/2004 9:22 PM, Dave Bath wrote:
>Hey Daniel,
>
>Unfortunately, i do not maintain the system at 80.234.135.99. However,
i am not sure there is anything wrong with their system anyway.... as
you see, i have attempted to dial from my UA once dialling a full
address (in this case 3018 - at - sip.prodec.tv) which was responded to
correctly, and once by dialling 839503018 where 83950 should be
translated as sip.prodec.tv using the PDT module. Hence, ser should
finally send the invite to 3018 - at - sip.prodec.tv in the same was as
if i dialled the full address manually, no? There should be no
difference, once that invite request, has left ser (161.30.94.136) in
how the remote system handles it.
>
>As you can see from the syslog:
>
>ACC: transaction answered: method=INVITE, i-uri=sip:839503018 at
sip.dev.inmarsat.com, o-uri=sip:3018 at sip.prodec.tv
<mailto:o-uri=sip:3018@sip.prodec.tv>
>
>
>ACC: transaction answered: method=INVITE, i-uri=sip:3018 at
sip.prodec.tv, o-uri=sip:3018 at sip.prodec.tv
<mailto:o-uri=sip:3018@sip.prodec.tv> ,
call_id=9C912086-C197-484D-8AD2-E261F1A3234A(a)161.30.94.150, from=Dave
Bath <sip:admin at sip.dev.inmarsat.com>;tag=2122510239, code=487
>
>for some reason using the pdt module appears to issue a malformed
invite request... unless soemthing in ser.cfg is not configured
correctly.
>
>Is my logic totally off? I appreciate your words of wisdom very much...
>
>Dave
>
>________________________________
>
>From: Daniel-Constantin Mierla [mailto:daniel@iptel.org]
>Sent: Tue 10/08/2004 18:03
>To: Dave Bath
>Cc: serusers(a)lists.iptel.org
>Subject: Re: [Serusers] PDT module
>
>
>
>Hello,
>I see that the request was forwarded from 161.30.94.136:5060 to
>80.234.135.99:5060 and you get back a 100 trying. PDT does its job on
>161.30.94.136, as far as I assume, so there should be a problem on the
>other site 80.234.135.99, could you check that system too?
>
>Daniel
>
>On 8/10/2004 12:06 PM, Dave Bath wrote:
>
>
>
>>Hey Daniel and all,
>>
>>Many thanks for looking into this. The first ngrep is dialling the
>>full address, the second is using the pdt module.
>>
>>------------------------- BEGIN dialling full external SIP address
>>---------
>>
>>U 161.30.94.150:5060 -> 161.30.94.136:5060
>>
>>INVITE sip:3018@sip.prodec.tv SIP/2.0..Via: SIP/2.0/UDP
>>161.30.94.150:5060;rport;branch=z9hG4bKBAF99F2231994F0D9A5
>>
>>3836019EAC108..From: Dave Bath
>><sip:admin@sip.dev.inmarsat.com>;tag=399847332..To:
>><sip:3018@sip.prodec.tv>..Conta
>>
>>ct: <sip:admin@161.30.94.150:5060>..Call-ID:
>>FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSeq: 35761 INVIT
>>
>>E..Max-Forwards: 70..Content-Type: application/sdp..User-Agent: X-Lite
>>release 1103m..Content-Length: 298....v=0..
>>
>>o=admin 434214617 434214657 IN IP4 161.30.94.150..s=X-Lite..c=IN IP4
>>161.30.94.150..t=0 0..m=audio 8000 RTP/AVP 0
>>
>>8 3 98 97 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:3
>>gsm/8000..a=rtpmap:98 iLBC/8000..a=rtpmap:97
>>
>>speex/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..
>>
>>#
>>
>>U 161.30.94.136:5060 -> 161.30.94.150:5060
>>
>>SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP
>>161.30.94.150:5060;rport=5060;branch=z9hG4bKB
>>
>>AF99F2231994F0D9A53836019EAC108..From: Dave Bath
>><sip:admin@sip.dev.inmarsat.com>;tag=399847332..To: <sip:3018@sip
>>
>>.prodec.tv>..Call-ID:
>>FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSeq: 35761
>>INVITE..Server: Sip EXpress
>>
>>router (0.8.14 (i386/linux))..Content-Length: 0..Warning: 392
>>161.30.94.136:5060 "Noisy feedback tells: pid=13743
>>
>>req_src_ip=161.30.94.150 req_src_port=5060
>>in_uri=sip:3018@sip.prodec.tv out_uri=sip:3018@sip.prodec.tv via_cnt==
>>
>>1"....
>>
>>#
>>
>>U 161.30.94.136:5060 -> 80.234.135.99:5060
>>
>>INVITE sip:3018@sip.prodec.tv SIP/2.0..Record-Route:
>><sip:3018@161.30.94.136;ftag=399847332;lr=on>..Via: SIP/2.0/U
>>
>>DP 161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via: SIP/2.0/UDP
>>161.30.94.150:5060;rport=5060;branch=z9hG4bKBAF99
>>
>>F2231994F0D9A53836019EAC108..From: Dave Bath
>><sip:admin@sip.dev.inmarsat.com>;tag=399847332..To: <sip:3018@sip.pro
>>
>>dec.tv>..Contact: <sip:admin@161.30.94.150:5060>..Call-ID:
>>FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSe
>>
>>q: 35761 INVITE..Max-Forwards: 69..Content-Type:
>>application/sdp..User-Agent: X-Lite release 1103m..Content-Length
>>
>>: 298....v=0..o=admin 434214617 434214657 IN IP4
>>161.30.94.150..s=X-Lite..c=IN IP4 161.30.94.150..t=0 0..m=audio 8
>>
>>000 RTP/AVP 0 8 3 98 97 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8
>>pcma/8000..a=rtpmap:3 gsm/8000..a=rtpmap:98 iLBC/800
>>
>>0..a=rtpmap:97 speex/8000..a=rtpmap:101
>>telephone-event/8000..a=fmtp:101 0-15..
>>
>>#
>>
>>U 161.30.94.136:5060 -> 80.234.135.99:5060
>>
>>INVITE sip:3018@sip.prodec.tv SIP/2.0..Record-Route:
>><sip:3018@161.30.94.136;ftag=399847332;lr=on>..Via: SIP/2.0/U
>>
>>DP 161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via: SIP/2.0/UDP
>>161.30.94.150:5060;rport=5060;branch=z9hG4bKBAF99
>>
>>F2231994F0D9A53836019EAC108..From: Dave Bath
>><sip:admin@sip.dev.inmarsat.com>;tag=399847332..To: <sip:3018@sip.pro
>>
>>dec.tv>..Contact: <sip:admin@161.30.94.150:5060>..Call-ID:
>>FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSe
>>
>>q: 35761 INVITE..Max-Forwards: 69..Content-Type:
>>application/sdp..User-Agent: X-Lite release 1103m..Content-Length
>>
>>: 298....v=0..o=admin 434214617 434214657 IN IP4
>>161.30.94.150..s=X-Lite..c=IN IP4 161.30.94.150..t=0 0..m=audio 8
>>
>>000 RTP/AVP 0 8 3 98 97 101..a=rtpmap:0 pcmu/8000..a=rtpmap:8
>>pcma/8000..a=rtpmap:3 gsm/8000..a=rtpmap:98 iLBC/800
>>
>>0..a=rtpmap:97 speex/8000..a=rtpmap:101
>>telephone-event/8000..a=fmtp:101 0-15..
>>
>>#
>>
>>U 80.234.135.99:5060 -> 161.30.94.136:5060
>>
>>SIP/2.0 100 Trying..Via: SIP/2.0/UDP
>>161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via: SIP/2.0/UDP
>>161.30.94.150:5
>>
>>060;rport=5060;branch=z9hG4bKBAF99F2231994F0D9A53836019EAC108..From:
>>"Dave Bath" <sip:admin@sip.dev.inmarsat.com>;
>>
>>tag=399847332..To: <sip:3018@sip.prodec.tv>..Call-ID:
>>FC2BDDD4-9E47-4C5A-9034-4977FC86290D@161.30.94.150..CSeq: 35
>>
>>761 INVITE..Content-Length: 0....
>>
>>#
>>
>>U 80.234.135.99:5060 -> 161.30.94.136:5060
>>
>>SIP/2.0 180 Ringing..Via: SIP/2.0/UDP
>>161.30.94.136;branch=z9hG4bK51f6.ae27ae87.0..Via: SIP/2.0/UDP
>>161.30.94.150:
>>
>>5060;rport=5060;branch=z9hG4bKBAF99F2231994F0D9A53836019EAC108..Record
-Route:
>><sip:sip.prodec.tv:5060;maddr=80.234
>>
>>.135.99>..Record-Route:
>><sip:3018@161.30.94.136;ftag=399847332;lr=on>..From: "Dave Bath"
>><sip:admin@sip.dev.inmars
>>
>>at.com>;tag=399847332..To:
>><sip:3018@sip.prodec.tv>;tag=q5elumfa3r..Call-ID:
>>FC2BDDD4-9E47-4C5A-9034-4977FC86290D@
>>
>>161.30.94.150..CSeq: 35761 INVITE..Contact:
>><sip:3018@sip.prodec.tv;gruu=do1iiw55>..Allow: INVITE, ACK, CANCEL, BY
>>
>>E, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE,
>>INFO..Content-Length: 0....
>>
>>-------------------- END dialling full sip address ----------------
>>
>>-------------------- BEGIN dialling pdt code ----------------------
>>
>>#
>>
>>U 161.30.94.150:5060 -> 161.30.94.136:5060
>>
>>INVITE sip:839503018@sip.dev.inmarsat.com SIP/2.0..Via: SIP/2.0/UDP
>>161.30.94.150:5060;rport;branch=z9hG4bK4702083
>>
>>ECD1D437DA04923E23027A6A5..From: Dave Bath
>><sip:admin@sip.dev.inmarsat.com>;tag=570031081..To:
<sip:839503018@sip.
>>
>>dev.inmarsat.com>..Contact: <sip:admin@161.30.94.150:5060>..Call-ID:
>>EE63DA9A-C436-4598-B636-F3C8368E711E(a)161.30.9
>>
>>4.150..CSeq: 64028 INVITE..Max-Forwards: 70..Content-Type:
>>application/sdp..User-Agent: X-Lite release 1103m..Cont
>>
>>ent-Length: 298....v=0..o=admin 434296285 434296325 IN IP4
>>161.30.94.150..s=X-Lite..c=IN IP4 161.30.94.150..t=0 0.
>>
>>.m=audio 8000 RTP/AVP 0 8 3 98 97 101..a=rtpmap:0
>>pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:3 gsm/8000..a=rtpmap:9
>>
>>8 iLBC/8000..a=rtpmap:97 speex/8000..a=rtpmap:101
>>telephone-event/8000..a=fmtp:101 0-15..
>>
>>#
>>
>>U 161.30.94.136:5060 -> 161.30.94.150:5060
>>
>>SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP
>>161.30.94.150:5060;rport=5060;branch=z9hG4bK4
>>
>>702083ECD1D437DA04923E23027A6A5..From: Dave Bath
>><sip:admin@sip.dev.inmarsat.com>;tag=570031081..To: <sip:83950301
>>
>>8(a)sip.dev.inmarsat.com>..Call-ID:
>>EE63DA9A-C436-4598-B636-F3C8368E711E@161.30.94.150..CSeq: 64028
>>INVITE..Server:
>>
>>Sip EXpress router (0.8.14 (i386/linux))..Content-Length: 0..Warning:
>>392 161.30.94.136:5060 "Noisy feedback tells
>>
>>: pid=13743 req_src_ip=161.30.94.150 req_src_port=5060
>>in_uri=sip:839503018@sip.dev.inmarsat.com out_uri=sip:3018
>>
>>@sip.prodec.tv. via_cnt==1"....
>>
>>#
>>
>>U 161.30.94.136:5060 -> 80.234.135.99:5060
>>
>>INVITE sip:3018@sip.prodec.tv. SIP/2.0..Record-Route:
>><sip:839503018@161.30.94.136;ftag=570031081;lr=on>..Via: SIP
>>
>>/2.0/UDP 161.30.94.136;branch=z9hG4bK705d.1d3e9f23.0..Via: SIP/2.0/UDP
>>161.30.94.150:5060;rport=5060;branch=z9hG4b
>>
>>K4702083ECD1D437DA04923E23027A6A5..From: Dave Bath
>><sip:admin@sip.dev.inmarsat.com>;tag=570031081..To: <sip:839503
>>
>>018(a)sip.dev.inmarsat.com>..Contact:
>><sip:admin@161.30.94.150:5060>..Call-ID:
>>EE63DA9A-C436-4598-B636-F3C8368E711E@
>>
>>161.30.94.150..CSeq: 64028 INVITE..Max-Forwards: 69..Content-Type:
>>application/sdp..User-Agent: X-Lite release 110
>>
>>3m..Content-Length: 298....v=0..o=admin 434296285 434296325 IN IP4
>>161.30.94.150..s=X-Lite..c=IN IP4 161.30.94.150
>>
>>..t=0 0..m=audio 8000 RTP/AVP 0 8 3 98 97 101..a=rtpmap:0
>>pcmu/8000..a=rtpmap:8 pcma/8000..a=rtpmap:3 gsm/8000..a=
>>
>>rtpmap:98 iLBC/8000..a=rtpmap:97 speex/8000..a=rtpmap:101
>>telephone-event/8000..a=fmtp:101 0-15..
>>
>>#
>>
>>U 80.234.135.99:5060 -> 161.30.94.136:5060
>>
>>SIP/2.0 100 Trying..Via: SIP/2.0/UDP
>>161.30.94.136;branch=z9hG4bK705d.1d3e9f23.0..Via: SIP/2.0/UDP
>>161.30.94.150:5
>>
>>060;rport=5060;branch=z9hG4bK4702083ECD1D437DA04923E23027A6A5..From:
>>"Dave Bath" <sip:admin@sip.dev.inmarsat.com>;
>>
>>tag=570031081..To: <sip:839503018@sip.dev.inmarsat.com>..Call-ID:
>>EE63DA9A-C436-4598-B636-F3C8368E711E(a)161.30.94.1
>>
>>50..CSeq: 64028 INVITE..Content-Length: 0....
>>
>>#
>>
>>------- END dialling with pdt module ---------------------------
>>
>>In the second case, there is nothing futher transmitted until a
>>request timed out is received.
>>
>>Many thanks for looking into this...
>>
>>Dave
>>
>>-----Original Message-----
>>From: Daniel-Constantin Mierla [mailto:daniel@iptel.org]
>>Sent: 10 August 2004 10:10
>>To: Dave Bath
>>Cc: serusers(a)lists.iptel.org
>>Subject: Re: [Serusers] PDT module
>>
>>we need network traffic dumps (ngrep, ethereal) to see what happens
there.
>>
>>Daniel
>>
>>On 8/9/2004 4:23 PM, Dave Bath wrote:
>>
>>
>>
>>>I have been trying to use the pdt module, and the idea seems
>>>
>>>
>>excellent. I have the database up and running, and can enter codes.
>>Things seem to be translated correctly, but the INVITE request is not
>>complete, and the call always fails. Compare the following from the
>>log file:
>>
>>
>>
>>>ACC: transaction answered: method=INVITE,
>>>
>>>
>>i-uri=sip:839503018@sip.dev.inmarsat.com, o-uri=sip:3018@sip.prodec.tv
>>
>>
>>
>>>ACC: transaction answered: method=INVITE,
>>>
>>>
>>i-uri=sip:3018@sip.prodec.tv, o-uri=sip:3018@sip.prodec.tv,
>>call_id=9C912086-C197-484D-8AD2-E261F1A3234A(a)161.30.94.150, from=Dave
>>Bath <sip:admin@sip.dev.inmarsat.com>;tag=2122510239, code=487
>>
>>
>>
>>>The first is dialing using the pdt module, with my code
>>>
>>>
>>8+395+0+<number> the second is directly dialing the full external
>>domain address. The first fails, and I eventually get a timeout, the
>>second connects no problem.
>>
>>
>>
>>>Excerpts from the ser.cfg are:
>>>
>>>
>>># loose-route processing
>>>
>>>
>>>if (loose_route()) {
>>>
>>>
>>>t_relay();
>>>
>>>
>>>break;
>>>
>>>
>>>};
>>>
>>>
>>># we record-route all messages -- to make sure that
>>>
>>>
>>># subsequent messages will go through our proxy; that's
>>>
>>>
>>># particularly good if upstream and downstream entities
>>>
>>>
>>># use different transport protocol
>>>
>>>
>>>record_route();
>>>
>>>
>>># label all transaction for accounting
>>>
>>>
>>>setflag(1);
>>>
>>>
>>># Make sure we check the prefix tables
>>>
>>>
>>>prefix2domain();
>>>
>>>
>>>before the if (uri==myself) statement.
>>>
>>>
>>>I have been bashing my head around and around for so long now, do you
>>>
>>>
>>have any ideas?!
>>
>>
>>
>>>Many many thanks in advance,
>>>
>>>
>>>Dave
>>>
>>>
>>>/-------------------------------------/
>>>
>>>
>>>/Dave Bath/
>>>
>>>
>>>/Inmarsat LTD/
>>>
>>>
>>>/Global Satellite Communications/
>>>
>>>
>>>/www.inmarsat.com <http://www.inmarsat.com/> /
>>>
>>>
>>>/Regional BGAN Engineer/
>>>
>>>
>>>/07736 232085/
>>>
>>>
>>>NOTE: The information contained in this email is intended for the
>>>
>>>
>>>named recipients only, it may be privileged and confidential. If you
>>>
>>>
>>>are not the intended recipient, you must not copy distribute or take
>>>
>>>
>>>any action in reliance upon it. No warranties or assurances are made
>>>
>>>
>>>in relation to the safety and content of this email and any
>>>
>>>
>>>attachments. No liability is accepted for any consequences arising
>>>
>>>
>>from it
>>
>>
>>
>>>---------------------------------------------------------------------
---
>>>
>>>
>>>_______________________________________________
>>>
>>>
>>>Serusers mailing list
>>>
>>>
>>>serusers(a)lists.iptel.org
>>>
>>>
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>
>
>
>
>
>
hi,all,
I want to use other equipment to strengthen ser's function. And it is needed to add voicexml script into the exiting sip messages. But I don't know how to do.
Who is so appreciated to tell me? Thank you!
hello friends,
iam using rtpproxy 20040105 with ser version: ser
0.8.12-1rc6 (i386/linux)
when i use with x lite in restricted cone
it s not registering with the server
so what may be the problem
does my configuration need s to be changed
with regards
rama kanth
my ser.cfg file is attached here
----------------------------------
# ----------- global configuration parameters
debug=3 # debug level (cmd line:
fork=yes
log_stderror=yes # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
# !! Nathelper
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
# ----------------- setting module-specific parameters
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# !! Nathelper
modparam("registrar", "nat_flag", 6)
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
# ------------------------- request routing logic
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long
requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (msg:len >= max_len ) {
sl_send_reply("513", "Message too
big");
break;
};
# !! Nathelper
# Special handling for NATed clients; first,
NAT test is
# executed: it looks for via!=received and
RFC1918 addresses
# in Contact (may fail if line-folding is
used); also,
# the received test should, if completed,
should check all
# vias for rpesence of received
if (nat_uac_test("3")) {
# Allow RR-ed requests, as these may
indicate that
# a NAT-enabled proxy takes care of
it; unless it is
# a REGISTER
if (method == "REGISTER" || !
search("^Record-Route:")) {
log("LOG: Someone trying to
register from private IP, rewriting\n");
# This will work only for user
agents that support symmetric
# communication. We tested quite
many of them and majority is
# smart enough to be symmetric. In
some phones it takes a configuration
# option. With Cisco 7960, it is
called NAT_Enable=Yes, with kphone it is
# called "symmetric media" and
"symmetric signalling".
fix_nated_contact(); # Rewrite
contact with source IP of signalling
if (method == "INVITE") {
fix_nated_sdp("1"); # Add
direction=active to SDP
};
force_rport(); # Add rport
parameter to topmost Via
setflag(6); # Mark as NATed
};
};
# we record-route all messages -- to make sure
that
# subsequent messages will go through our
proxy; that's
# particularly good if upstream and downstream
entities
# use different transport protocol
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should
take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
break;
};
# if the request is for other domain use
UsrLoc
# (in case, it does not work, use the
following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest
authentication
# if
(!www_authorize("iptel.org", "subscriber")) {
#
www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound
alias\r\n");
route(1);
break;
};
# native SIP destinations are handled
using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not
Found");
break;
};
};
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# !! Nathelper
if
(uri=~"[@:](192\.168\.|10\.|172\.(1[6-9]|2[0-9]|3[0-1])\.)"
&& !search("^Route:")){
sl_send_reply("479", "We don't forward to
private IP addresses");
break;
};
# if client or server know to be behind a NAT,
enable relay
if (isflagset(6)) {
force_rtp_proxy();
};
# NAT processing of replies; apply to all
transactions (for example,
# re-INVITEs from public to private UA are
hard to identify as
# NATed at the moment of request processing);
look at replies
t_on_reply("1");
# send it out now; use stateful forwarding as
it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
# !! Nathelper
onreply_route[1] {
# NATed transaction ?
if (isflagset(6) && status =~ "(183)|2[0-9][0-9]")
{
fix_nated_contact();
force_rtp_proxy();
# otherwise, is it a transaction behind a NAT and
we did not
# know at time of request processing ? (RFC1918
contacts)
} else if (nat_uac_test("1")) {
fix_nated_contact();
};
}
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com