New provider registration

144 views
Skip to first unread message

Rami

unread,
Jun 8, 2017, 12:55:56 PM6/8/17
to ASTPP
Hi,

I'm having a bit of a problem with my new provider for sip registration, they are receiving the username as gw+username
not just the username, any idea how i can remove the gw+ from the username so that i can register my gateway.
ps: I have another provider and it registered fine except with this new one I'm having a problem with I'm getting 408 error.

Thank you for any assistance

Samir Doshi

unread,
Jun 12, 2017, 9:48:11 AM6/12/17
to ASTPP
There is parameter named as "From User", try to configure gateway username in that and check if its work. 

Best Regards
--
Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com



Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/f85df99f-80ac-418a-88c3-cdbf5d71d6bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rami

unread,
Jun 12, 2017, 2:24:16 PM6/12/17
to ASTPP

I tried putting the username in username and from user field still the same problem.
is there a way to disable the gw+ so that it doesn't show 
here's a siptrace

send 606 bytes to udp/[111.111.11.1]:5060 at 13:56:24.330684:
   ------------------------------------------------------------------------
   REGISTER sip:voip.provider.com;transport=udp SIP/2.0
   Via: SIP/2.0/UDP 222.222.222.22;rport;branch=z9hG4bKU188me5pZvX9m
   Max-Forwards: 70
   From: <sip:user...@voip.provider.com>;tag=gNvvev4p8Z0rp
   Call-ID: 153de830-4f66-11e7-b03f-23e0f427f687
   CSeq: 108298228 REGISTER
   Contact: <sip:gw+nameg...@222.222.222.22:5060;transport=udp;gw=namegateway_gw>
   Expires: 3600
   User-Agent: ASTPP
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: path, replaces
   Content-Length: 0

   ------------------------------------------------------------------------
recv 344 bytes from udp/[111.111.11.1]:5060 at 13:56:24.356329:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 222.222.222.22;rport=5060;branch=z9hG4bKU188me5pZvX9m;received=222.222.222.22
   From: <sip:user...@voip.provider.com>;tag=gNvvev4p8Z0rp
   Call-ID: 153de830-4f66-11e7-b03f-23e0f427f687
   CSeq: 108298228 REGISTER
   Server: ED37
   Content-Length: 0

   ------------------------------------------------------------------------
recv 544 bytes from udp/[111.111.11.1]:5060 at 13:56:24.359663:
   ------------------------------------------------------------------------
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 222.222.222.22;rport=5060;branch=z9hG4bKU188me5pZvX9m;received=222.222.222.22
   From: <sip:user...@voip.provider.com>;tag=gNvvev4p8Z0rp
   Call-ID: 153de830-4f66-11e7-b03f-23e0f427f687
   CSeq: 108298228 REGISTER
   WWW-Authenticate: Digest realm="ED", nonce="44d9f0416fc8a03b71b9b06590688669.1497268568", stale=FALSE, algorithm=MD5
   Server: ED37
   Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE
   Content-Length: 0

   ------------------------------------------------------------------------
send 829 bytes to udp/[111.111.11.1]:5060 at 13:56:24.359789:
   ------------------------------------------------------------------------
   REGISTER sip:voip.provider.com;transport=udp SIP/2.0
   Via: SIP/2.0/UDP 222.222.222.22;rport;branch=z9hG4bKva21p9Ntv5Kvg
   Max-Forwards: 70
   From: <sip:user...@voip.provider.com>;tag=gNvvev4p8Z0rp
   Call-ID: 153de830-4f66-11e7-b03f-23e0f427f687
   CSeq: 108298229 REGISTER
   Contact: <sip:gw+nameg...@222.222.222.22:5060;transport=udp;gw=namegateway_gw>
   Expires: 3600
   User-Agent: ASTPP
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: path, replaces
   Authorization: Digest username="username", realm="ED", nonce="44d9f0416fc8a03b71b9b06590688669.1497268568", algorithm=MD5, uri="sip:voip.provider.com;transport=udp", response="96c343f164b410c5ad0779a07fdd0ad1"
   Content-Length: 0

   ------------------------------------------------------------------------
recv 344 bytes from udp/[111.111.11.1]:5060 at 13:56:24.385185:
   ------------------------------------------------------------------------
   SIP/2.0 100 Trying
   Via: SIP/2.0/UDP 222.222.222.22;rport=5060;branch=z9hG4bKva21p9Ntv5Kvg;received=222.222.222.22
   From: <sip:user...@voip.provider.com>;tag=gNvvev4p8Z0rp
   Call-ID: 153de830-4f66-11e7-b03f-23e0f427f687
   CSeq: 108298229 REGISTER
   Server: ED37
   Content-Length: 0

   ------------------------------------------------------------------------
recv 544 bytes from udp/[111.111.11.1]:5060 at 13:56:24.387594:
   ------------------------------------------------------------------------
   SIP/2.0 401 Unauthorized
   Via: SIP/2.0/UDP 222.222.222.22;rport=5060;branch=z9hG4bKva21p9Ntv5Kvg;received=222.222.222.22
   From: <sip:user...@voip.provider.com>;tag=gNvvev4p8Z0rp
   Call-ID: 153de830-4f66-11e7-b03f-23e0f427f687
   CSeq: 108298229 REGISTER
   WWW-Authenticate: Digest realm="ED", nonce="44d9f0416fc8a03b71b9b06590688669.1497268568", stale=FALSE, algorithm=MD5
   Server: ED37
   Allow: ACK, INVITE, BYE, CANCEL, REGISTER, REFER, OPTIONS, INFO, SUBSCRIBE
   Content-Length: 0

   ------------------------------------------------------------------------
2017-06-12 13:56:24.385013 [ERR] sofia_reg.c:2429 namegateway_gw Failed Registration with status Operation has no matching challenge  [904]. failure #2
2017-06-12 13:56:25.324996 [WARNING] sofia_reg.c:505 namegateway_gw Failed Registration [904], setting retry to 60 seconds.

Rami

unread,
Jun 14, 2017, 12:33:22 PM6/14/17
to ASTPP
Hi,

I'm still stuck on this issue the problem lies within contact 

Contact: <sip:gw+namegateway_gw@222.222.222.22:5060;transport=udp;gw=namegateway_gw
there shouldn't be gw+ that's the problem.
I checked the wiki freeswitch i found this 
<!--  *optional* - default is false-->
<param name="extension-in-contact" value="true"/>

but i didn't find it in astpp should i add this in sip profile ?
also i spoke with the provider support they told me dont use from-user field.

Thank you any help

On Thursday, June 8, 2017 at 11:55:56 AM UTC+1, Rami wrote:

Rami

unread,
Jun 15, 2017, 10:27:37 AM6/15/17
to ASTPP
I put the extension-in-contact value true in sip profiile but nothing changed.
Any insite into this is much appreciated. I'm stuck on this


On Thursday, June 8, 2017 at 11:55:56 AM UTC+1, Rami wrote:

Hardik Patel

unread,
Jun 15, 2017, 12:44:07 PM6/15/17
to as...@googlegroups.com
Hi Rami,

Definitely its required some modifications to achieve what you want and the solution which samir has suggest you it should work.



Thanks and Regards,
--
Hardik Patel
Team Leader,
iNextrix Technologies Pvt.Ltd
U - www.inextrix.com
S - hardik.inextrix
P - +1 855 580 1802 | +91 98983 47245
--------------------------------------------------------------------------------------------------------------------------------
Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.

Rami

unread,
Jun 15, 2017, 1:07:37 PM6/15/17
to ASTPP
I tried it again now the gw+ always shows up in contact

Contact: <sip:gw+gate...@222.222.222.23:5060;transport=udp;gw=gatewayname>

so what do i have to do to make this work.

Thanks


On Thursday, June 8, 2017 at 11:55:56 AM UTC+1, Rami wrote:

Hardik Patel

unread,
Jun 15, 2017, 1:19:03 PM6/15/17
to as...@googlegroups.com
Its required call script modifications you can do it if you technical or you can contact us at sa...@inextrix.com

Thanks and Regards,
--
Hardik Patel
Team Leader,
iNextrix Technologies Pvt.Ltd
U - www.inextrix.com
S - hardik.inextrix
P - +1 855 580 1802 | +91 98983 47245
--------------------------------------------------------------------------------------------------------------------------------
Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.

Samir Doshi

unread,
Jun 16, 2017, 12:46:27 PM6/16/17
to ASTPP
   ------------------------------------------------------------------------
recv 544 bytes from udp/[111.111.11.1]:5060 at 13:56:24.387594:
   ------------------------------------------------------------------------
   SIP/2.0 401 Unauthorized


You must contact your provider as they are sending you that error. 

Best Regards
--
Samir Doshi
iNextrix Technologies Pvt. Ltd.
http://www.inextrix.com



Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
On Mon, Jun 12, 2017 at 5:54 PM, Rami <ramiif...@gmail.com> wrote:

I tried putting the username in username and from user field still the same problem.
is there a way to disable the gw+ so that it doesn't show 
here's a siptrace

send 606 bytes to udp/[111.111.11.1]:5060 at 13:56:24.330684:
   ------------------------------------------------------------------------
   REGISTER sip:voip.provider.com;transport=udp SIP/2.0
   Via: SIP/2.0/UDP 222.222.222.22;rport;branch=z9hG4bKU188me5pZvX9m
   Max-Forwards: 70
   From: <sip:user...@voip.provider.com>;tag=gNvvev4p8Z0rp
   Call-ID: 153de830-4f66-11e7-b03f-23e0f427f687
   CSeq: 108298228 REGISTER
   Contact: <sip:gw+namegateway_gw@222.222.222.22:5060;transport=udp;gw=namegateway_gw>
   Contact: <sip:gw+namegateway_gw@222.222.222.22:5060;transport=udp;gw=namegateway_gw>

--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.

Rami

unread,
Jun 16, 2017, 1:30:48 PM6/16/17
to ASTPP
I contacted them, they are receiving the username as gw+username
that's the problem 


On Thursday, June 8, 2017 at 11:55:56 AM UTC+1, Rami wrote:
Message has been deleted

Rami Fourati

unread,
Jun 6, 2018, 9:23:19 AM6/6/18
to as...@googlegroups.com
No, but there's a way it can work with IP auth

On Tue, Jun 5, 2018 at 6:10 PM, sman <shad...@hotmail.com> wrote:
Did you ever find a solution to this?  I have the same problem  Adding in "From User" does not change anything.

--
=====================================================================
Documentation : https://astpp.readthedocs.io/

Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to a topic in the Google Groups "ASTPP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/astpp/gsTaH8CG3_g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to astpp+unsubscribe@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
Reply all
Reply to author
Forward
0 new messages