On Thu, Mar 02, 2017 at 03:46:01PM +0000, José Seabra wrote: > I changed the way that i was trying to get it done. > > Now I'm using the {line.sw,match} ( you had already mentioned this function > on an old email),
Im not that Daniel :) Or my memory starts to fail me. > to split the string by line, then i apply the following > regex: ^Calling-Name: ?(.{2,50}>)$. > > This way I get what i need, that is the sip uri and display name. Only thing I'd change would be to remove the $ for end of line, just to make it more generic. But if you are sure that these headerlines end with >, that would not make a difference. _______________________________________________ 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