Re: [SR-Users] BYE issue kamailio + rtpproxy "481 call leg transaction doesn't exists".

2017-01-09 Thread Nihar Ranjan Deb
Anyone any help on this.

 

Regards,

 

Nihar 

 

 

From: Nihar Ranjan Deb [mailto:nihar.ran...@microtalkgroup.com] 
Sent: Wednesday, December 28, 2016 5:42 PM
To: 'sr-users@lists.sip-router.org'
Subject: BYE issue kamailio + rtpproxy "481 call leg transaction doesn't
exists".

 

Hi All,

 

I am a new user of kamailio. We have setup a kamilio server with RTP proxy.
Most of the features are working fine except BYE. 

 

 

Say User A and B are registered in kamailio server. A (caller) connected to
B(called), call established. 

 

1. If Caller (A)  disconnects the call, everything goes fine. B gets
disconnected and call releases.

 

2. But if Called party (B) disconnects the call, A never gets disconnected.
I checked trace as well, in this case caller (A) gets a BYE with B's callid.
So A rejects call with "481 call leg transaction doesn't exists".

Basically A party and B party has separate dialog established with Kamilio.
So they have two separate callids . All messages are exchanged correctly.
Only when B party disconnects call, kamailio sends BYE to A party with B
party callid.

 

Please help me to resolve this issue. Do let me know if any more information
required.

 

 

-- INVITE--

 

INVITE sip:966268@*** SIP/2.0

Via: SIP/2.0/UDP
192.168.1.36:63238;branch=z9hG4bK-524287-1---e64d171ec3b0b54e;rport

Max-Forwards: 70

Contact: 

To: 

From: "334031";tag=4406552c

Call-ID: 82158NzljY2NiYTA5YmI3M2U1MzQyODgwMWYwYTI3ZWJjNzc

CSeq: 2 INVITE

Allow: SUBSCRIBE, NOTIFY, INVITE, ACK, CANCEL, BYE, REFER, INFO, OPTIONS,
MESSAGE

Content-Type: application/sdp

Proxy-Authorization: Digest
username="334031",realm="*",nonce="",uri="sip:966268@***",response="
***",algorithm=MD5

Supported: replaces

User-Agent: X-Lite release 4.9.6 stamp 82158

Content-Length: 334

 

v=0

o=- 13127393523589215 1 IN IP4 192.168.1.36

s=X-Lite release 4.9.6 stamp 82158

c=IN IP4 192.168.1.36

t=0 0

m=audio 57116 RTP/AVP 9 8 120 0 84 101

a=rtpmap:120 opus/48000/2

a=fmtp:120 useinbandfec=1; usedtx=1; maxaveragebitrate=64000

a=rtpmap:84 speex/16000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=sendrecv

 

 

 

-BYE

 

 

BYE sip:334031@192.168.1.36:63238;rinstance=ea9b5f48eb342a98 SIP/2.0

Via: SIP/2.0/UDP
***:5060;branch=z9hG4bKa28b.a2ac8c26802cdcc8c619784643f82000.0

Via: SIP/2.0/UDP
10.0.0.1;branch=z9hG4bKsr-HqsDUwx8-phRByVr-9VwUlbcUlPcIpKo-0noY0rjI95gmMhg10
qgY9mc-w5He0EJbTbkb3AZt2Yna6n4uPmqbJWEYwVKYlDTYlH*

From: ;tag=1665200125

To: "334031" ;tag=4406552c

Call-ID:
!!:xePve9XKtEJ4NJJT-2hM9lsXe6RemqZPIRAa1PZf1wJ4DRx5ePRce0OwbHAY-RD4Hlya-HRwe
MH4N6RemHYMI9Y0tV**

CSeq: 3 BYE

Contact: 

Max-Forwards: 69

User-Agent: Yealink SIP-T20P 9.72.0.80

Content-Length: 0

 

 

-- 481-

 

SIP/2.0 481 Call/Transaction Does Not Exist

Via: SIP/2.0/UDP
***:5060;branch=z9hG4bKa28b.a2ac8c26802cdcc8c619784643f82000.0;received=35.1
64.228.12

Via: SIP/2.0/UDP
10.0.0.1;branch=z9hG4bKsr-HqsDUwx8-phRByVr-9VwUlbcUlPcIpKo-0noY0rjI95gmMhg10
qgY9mc-w5He0EJbTbkb3AZt2Yna6n4uPmqbJWEYwVKYlDTYlH*

To: "334031" ;tag=4406552c

From: ;tag=1665200125

Call-ID:
!!:xePve9XKtEJ4NJJT-2hM9lsXe6RemqZPIRAa1PZf1wJ4DRx5ePRce0OwbHAY-RD4Hlya-HRwe
MH4N6RemHYMI9Y0tV**

CSeq: 3 BYE

Accept-Language: en

Content-Length: 0

 

 

 

 

Regards,

Nihar

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [Error] Install Kamailio 4.4 in Mac 10.12

2017-01-09 Thread anfecora
Luis, algunas veces es mejor instalar virtualbox en mac y desde hay correr
kamailio si es para testing.

aqui hay info de un problema parecido.
http://sip-router.1086192.n5.nabble.com/Kamailio-on-Mac-td129264.html

el error hace referencia  a la instalacion de mysql.

On Sun, Jan 8, 2017 at 4:25 PM, Luis De Marchi  wrote:

> Hi,
>
> Sorry, my english, I'm using the translator.
> I'm having trouble installing Kamailio for Mac 10.12
>
> Terminal:
> Luis:kamailio luisdemarchi$ sudo make all
>
> CC (gcc) [M db_mysql.so] km_db_mysql.o
> *km_db_mysql.c:41:10: **fatal error: **'mysql.h' file not found*
> #include 
> * ^*
> 1 error generated.
> make[1]: *** [km_db_mysql.o] Error 1
> make: *** [modules] Error 1
> *Luís De Marchi*
> Diretor Administrativo
>
> +55 (41) 99815-6800 <+55%2041%2099815-6800>
> +55 (41) 3027-7669 <+55%2041%203027-7669>
> www.snowmanlabs.com
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Diameter AVP handling from kamaiio.cfg

2017-01-09 Thread Zoltán Miricz
Hi Carsten,

Thank you very much for your response!
Sadly for the UAR, LIR, SAR are not providing these kind of error codes.
As you can see only -1 coming back and not
Jan  4 06:17:15 localhost journal:
de.fhg.fokus.hss.cx.CxExperimentalResultException:
IMS_Diameter_Error_User_Unknown
Jan  4 06:17:15 localhost journal: #011at
de.fhg.fokus.hss.cx.op.UAR.processRequest(UAR.java:115)
Jan  4 06:17:15 localhost journal: #011at
de.fhg.fokus.hss.main.Task.execute(Task.java:169)
Jan  4 06:17:15 localhost journal: #011at
de.fhg.fokus.hss.main.Worker.run(Worker.java:66)
Jan  4 06:17:15 localhost journal: #033[0;39;49m#033[0;31;49m 7(46) ERROR:
ims_icscf [cxdx_uar.c:152]: async_cdp_uar_callback():
RC_IMS_DIAMETER_ERROR_USER_UNKNOWN
Jan  4 06:17:15 localhost journal: #033[0;39;49m#033[0;31;49m 7(46) ERROR:

Re: [SR-Users] use case

2017-01-09 Thread Daniel Tryba
On Mon, Jan 09, 2017 at 08:44:25AM -0800, Thufir Hawat wrote:
> I'm ok with Linux and am dipping my toe into Asterisk by running an AWS EC2
> instance.  What is the most frequent usage for kamailio?  Would it mainly be
> for SIP to SIP?  So that the URI would be for a specific domain?

To set your mind in motion:
* asterisk is a b2bua
* kamailio is a general sip server

Kamailio can be uses as (but not limited to):
* registrar
* loadbalancer
* edge proxy
* redirector
* general SIP mangling

Most things can be done with a b2bua like asterisk, but asterisk comes
with a (relative) high CPU cost when doing the same job (handling SIP).


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] use case

2017-01-09 Thread Phil Lavin
There's a page on the wiki documenting some common use cases.

https://www.kamailio.org/wiki/tutorials/getting-started/main#typical_use_cases

People use Kamailio for a lot of different things. I'd suggest looking at the 
videos for some of the past Kamailio World conferences - there's some very 
interesting usages that people have been presented.


-Original Message-
From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of 
Thufir Hawat
Sent: 09 January 2017 16:44
To: sr-users@lists.sip-router.org
Subject: [SR-Users] use case

I'm ok with Linux and am dipping my toe into Asterisk by running an AWS
EC2 instance.  What is the most frequent usage for kamailio?  Would it mainly 
be for SIP to SIP?  So that the URI would be for a specific domain?


thanks,

Thufir

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list 
sr-users@lists.sip-router.org 
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] using kamailio to forward ipv6 to ipv4

2017-01-09 Thread Daniel Tryba
On Mon, Jan 09, 2017 at 07:25:36AM -0800, anfecora wrote:
> Hi  Guys, can any one please remind me how to change the request line to
> reply with a fqdn instead of an ip.

That should be $rd
https://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables#rd_-_domain_in_r-uri
 

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] use case

2017-01-09 Thread Thufir Hawat
I'm ok with Linux and am dipping my toe into Asterisk by running an AWS 
EC2 instance.  What is the most frequent usage for kamailio?  Would it 
mainly be for SIP to SIP?  So that the URI would be for a specific domain?



thanks,

Thufir

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] using kamailio to forward ipv6 to ipv4

2017-01-09 Thread anfecora
Hi  Guys, can any one please remind me how to change the request line to
reply with a fqdn instead of an ip.

i am having an issue with the ipv4/ipv6 gateway and when the register is
forwarded as normal behavier the request line goes out with the ipv4 ip not
the ipv6 and need to replace that either with the ipv4 or a fqdn
REGISTER sip:[345:00:00::] SIP/2.0.

again thanks for any input.

On Thu, Jan 5, 2017 at 9:36 AM, Colin Morelli 
wrote:

> Can't answer whether or not it's possible as I haven't tried it - but,
>
> Consider how this will impact the negotiation between clients and servers.
> If your B2BUA thinks calls are coming in from IPV4 (instead of IPV6), then
> it may not offer IPV6 in the invite. Similarly, if the client thinks it's
> connecting to your SIP infrastructure via V6, then it'll likely offer V6 in
> the invite which your B2BUA can't accept. ICE can probably help here, by
> offering both V4 and V6 candidates, but that's going to depend on your
> client/server setups. Unless you want Kamailio to proxy media s well, in
> which case you may be able to escape this, but by adding complexity you
> Kamailio.
>
> If at all possible, I'd try to preserve the source protocol through to the
> end. If this is something you already thought of though, great! Would be
> good to hear what you come up with here.
>
> Best,
> Colin
>
> On Thu, Jan 5, 2017 at 12:24 PM, anfecora  wrote:
>
>> Hi guys hope you have a great new year.
>> I would appreciate if anyone can point me in to the right direction .
>>
>> I need to build a proxy to translate from ipv6 to ipv4, but kamailio
>> should not process the registers or invites, only translate from ipv6 to
>> ipv4  and forward all registrations over.
>>
>>
>> is that possible?
>> thanks.
>>
>>
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [Error] Install Kamailio 4.4 in Mac 10.12

2017-01-09 Thread Diego Nadares
In my mac:

I think that mysql dmg installed comes with dev headers too.

dnadaress-MacBook-Air:~ dnadares$ locate mysql.h
/usr/local/mysql-5.6.19-osx10.7-x86_64/include/mysql.h

cheers.

Diego.


2017-01-09 9:27 GMT-03:00 Diego Nadares :

> Hi Luis,
>
> Do you have mysql installed? Because it's not finding those headers.
>
> El El lun, 9 de ene. de 2017 a las 05:21, Luis De Marchi <
> l...@snowmanlabs.com> escribió:
>
>> Hi,
>>
>> Sorry, my english, I'm using the translator.
>> I'm having trouble installing Kamailio for Mac 10.12
>>
>> Terminal:
>> Luis:kamailio luisdemarchi$ sudo make all
>>
>> CC (gcc) [M db_mysql.so] km_db_mysql.o
>> *km_db_mysql.c:41:10: **fatal error: **'mysql.h' file not found*
>> #include 
>> * ^*
>> 1 error generated.
>> make[1]: *** [km_db_mysql.o] Error 1
>> make: *** [modules] Error 1
>>
>>
>> *Luís De Marchi*
>> Diretor Administrativo
>>
>> +55 (41) 99815-6800 <+55%2041%2099815-6800>
>> +55 (41) 3027-7669 <+55%2041%203027-7669>
>> www.snowmanlabs.com
>>
>>
>>
>>
>>
>> ___
>>
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>
>> sr-users@lists.sip-router.org
>>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [Error] Install Kamailio 4.4 in Mac 10.12

2017-01-09 Thread Diego Nadares
Hi Luis,

Do you have mysql installed? Because it's not finding those headers.

El El lun, 9 de ene. de 2017 a las 05:21, Luis De Marchi <
l...@snowmanlabs.com> escribió:

> Hi,
>
> Sorry, my english, I'm using the translator.
> I'm having trouble installing Kamailio for Mac 10.12
>
> Terminal:
> Luis:kamailio luisdemarchi$ sudo make all
>
> CC (gcc) [M db_mysql.so] km_db_mysql.o
> *km_db_mysql.c:41:10: **fatal error: **'mysql.h' file not found*
> #include 
> * ^*
> 1 error generated.
> make[1]: *** [km_db_mysql.o] Error 1
> make: *** [modules] Error 1
>
>
> *Luís De Marchi*
> Diretor Administrativo
>
> +55 (41) 99815-6800
> +55 (41) 3027-7669
> www.snowmanlabs.com
>
>
>
>
>
> ___
>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>
> sr-users@lists.sip-router.org
>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] why a register error?

2017-01-09 Thread Carsten Bock
Hi Victor,

better late than never?
What HSS are you using? Fraunhofer's HSS? If yes, it looks to me as
corrupt data in the hss_db

Thanks,
Carsten

2016-12-01 6:39 GMT+01:00 Olvera, Victor :
> As I attempt to use X-lite I get a 504 error. On the CSCFs I get the
> following:
>
> pcscf
>
> 0(2066) INFO: 

[SR-Users] [Error] Install Kamailio 4.4 in Mac 10.12

2017-01-09 Thread Luis De Marchi
Hi,

Sorry, my english, I'm using the translator.
I'm having trouble installing Kamailio for Mac 10.12

Terminal:
Luis:kamailio luisdemarchi$ sudo make all

CC (gcc) [M db_mysql.so]km_db_mysql.o
km_db_mysql.c:41:10: fatal error: 'mysql.h' file not found
#include 
 ^
1 error generated.
make[1]: *** [km_db_mysql.o] Error 1
make: *** [modules] Error 1
Luís De Marchi 
Diretor Administrativo 

+55 (41) 99815-6800 
+55 (41) 3027-7669 
www.snowmanlabs.com 
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users