< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [repro-users] [Relay Server][WSS To SIP]

Repro Log dump is here:


On Thu, Apr 6, 2017 at 11:15 AM, Bilal Abbasi <bilaln018@xxxxxxxxx> wrote:
So Here are the servers,
Well kamailio sends the invite to Repro when i add the contact header, else it goes to the "invalid" domain raising the error shared earlier.
Well my question is can i tweak contact header like Path header, so that calling works?
here are the dump files that are needed.
Kamailio pcap:
Repro pcacp:


On Thu, Apr 6, 2017 at 1:01 AM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
It's very difficult to tell what's going on without additional information:
-the full wireshark trace - not just screenshots of a few messages
-identification of the various box ip addresses - ie: I'm assuming is repro.

Despite that I'm guessing that Kamailio is not following the Path headers on the registration.  repro adds path headers so that the far end will route INVITE requests back through it using Route headers.  The INVITE in your trace is not touching, which I assume is repro.

Note: Adjusting the contact header that comes out of JSSIP is not the right approach.  The Path headers need to be followed, by the party creating the INVITE towards the WebRTC side.


On Wed, Apr 5, 2017 at 4:00 AM, Bilal Abbasi <bilaln018@xxxxxxxxx> wrote:
Hi Scott,

Thanks a lot, i can never do that in my whole life with out your help.
That's resolved now, i guess i am very near to my solution.
The only problem left is i am unable to call back from sip client to the web(PJSIP) client,saying "Unresolvable destination",
Reason the contact field coming from repro REGISTER packet is like "<sip:ej95mogh@xxxxxxxxxxxxxxxvalid;transport=ws" 
when my kamailio try to send invite to domain "gu9q6upip5jk.invalid" its raises  "Unresolvable destination" ERROR.

Here are the REGISTER and Call Back packets:


On Tue, Apr 4, 2017 at 6:48 PM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
FYI - the AlwaysAllowRelaying setting is a new feature that's why 1.9 didn't have it.

You might be experiencing a bug if you have disabled the registrar but left the presence server enabled.  Try disabling the presence server too.



On Tue, Apr 4, 2017 at 7:11 AM, Bilal Abbasi <bilaln018@xxxxxxxxx> wrote:
Hi Scott,
Thanks for your comment, actually i was looking for the same in the config but could not find that,Reason was i am using the old version of repro (Ubuntu 14.04 has 1.9 by default), now after some search on internet i manged to install the version in which i have that parameter in the config.(i really don't know why it was not in 1.9 version and its present in 1.10).
So now i am getting error 
assertion failed: ReproRunner.cxx:1098: mDum

And unable to start the repro.
P.S: i am using Ubuntu 16.04
any help?


On Mon, Apr 3, 2017 at 6:53 PM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
Try flipping this setting to true:
# When set to false then we only allow relaying (forwarding of a request that is not
# From one of our domain users to a destination that is not one of domains), if the sending
# source is in our ACL list.  With this set to true we will always allow requests to be
# relayed.
AlwaysAllowRelaying = false


On Mon, Apr 3, 2017 at 9:47 AM, Bilal Abbasi <bilaln018@xxxxxxxxx> wrote:
Hi Users,
I have started using the repro server and trying to accomplish the following.
I wanted to register a SIP user using the below link

I am able to register the user by the WSS link provided by the the tryJS that is
I exactly want the similar WSS proxy developed using repro server,

I did followed some guides online, and able to register the users on the repro server(adding user on repro web ui), but in actual the end user will be residing on the Asterisk server, i want to have the registration relayed to Asterisk Box.
I did DisableAuth= yes.
Now i am getting 
SIP/2.0 403 Relaying Forbidden

I did added WSS proxy in the domain part of UI, added the certs in Interface settings, Enabled the SIP UDP in config as well.

Can some body help me in this Please.

Here is the scenario 
Web Registration Registration --->WSS---->Repro---->UDP----> Kamailio/Asterisk

One more thing i need to add here is i want registration over the Kamailio, i dont want to add users over Repro(like i find on most of help availble).
Can i do this?


repro-users mailing list