How to solve the problem '400 From_tag is required'
Posted by Elena Brambilla, Last modified by Daniel Lizaola on 12 December 2017 04:45 PM
If the SIP-server sends back "400 From_tag is required" most likely the problem are missing "<>" - brackets around the FROM - header.

By default SmartNode does not use those brackets and the FROM-header looks like this:

From: sip:123@a.b.c.d:5060;tag=XYZ

However there is a way how to add them. The solution is to add a calling-name in order to add those brackets. Below you will find an example of how to create such a mapping-table:

mapping-table calling-e164 to calling-name MAP_CALLING_NAME
map (.%) to \1


Be aware you will need to use the mapping-table within a routing-table. You will have such a routing-table already in your configuration right before you route the calls to the sip-interface. All you need to do to use the mapping-table is use it as a function like this:

routing-table called-e164 RT_TOWARDS_SIP
route .T dest-interface IF_SIP MAP_CALLING_NAME

This will add the angle brackets around the from-header.
(1926 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).